Bugfix to avoid an endless loop.
[cake.git] / test / systemtagsslave.c
blobaa6b494d1ba6f0bea0f183f3377a211fc6539eed
1 #include <proto/dos.h>
3 #include <stdio.h>
4 #include <stdlib.h>
6 int main(void)
8 BPTR oldlock = CurrentDir(NULL);
9 BPTR lock = DupLock(oldlock);
10 CurrentDir(oldlock);
12 system("dir");
14 lock = CurrentDir(lock);
15 UnLock(lock);
17 return 0;