revert wrong commit
[AROS.git] / test / systemtagsslave.c
blob019d7a4890632021951e121a70708dc7f12362df
1 #include <proto/dos.h>
3 #include <stdio.h>
4 #include <stdlib.h>
6 int main(void)
8 BPTR oldlock = CurrentDir(BNULL);
9 BPTR lock = DupLock(oldlock);
10 CurrentDir(oldlock);
12 system("dir");
14 lock = CurrentDir(lock);
15 UnLock(lock);
17 return 0;