And I just remembered to check up on my broken Stdio.expand_symlinks() which is a poor substitute for System.resolvepath(). I'll drop mine before the release.
/ Johan Sundström (ärkehertig av Lysators rootgrupp)
Previous text:
2002-11-03 15:02: Subject: it seems that Stdio.expand_symlinks() not work.
[peterpan@server ~/tmp]$pwd /home/peterpan/tmp [peterpan@server ~/tmp]$ls -l total 16 lrwxrwxrwx 1 peterpan wapmud 26 Nov 3 21:48 haha -> /home/peterpan/tmp/t1/xixi drwxr-xr-x 2 peterpan wapmud 4096 Nov 3 21:46 t1 drwxr-xr-x 2 peterpan wapmud 4096 Nov 3 21:46 t2 -rw-r--r-- 1 peterpan wapmud 202 Nov 3 21:57 t.pike -rw-r--r-- 1 peterpan wapmud 236 Nov 3 21:49 t.pike~ lrwxrwxrwx 1 peterpan wapmud 7 Nov 3 21:47 xixi -> t1/xixi [peterpan@server ~/tmp]$ls -l t1 total 4 -rw-r--r-- 1 peterpan wapmud 14 Nov 3 21:46 xixi [peterpan@server ~/tmp]$ls -l t2 total 0 lrwxrwxrwx 1 peterpan wapmud 10 Nov 3 21:46 xixi -> ../t1/xixi [peterpan@server ~/tmp]$cat haha skadljfkalsjf [peterpan@server ~/tmp]$cat xixi skadljfkalsjf [peterpan@server ~/tmp]$cat t1/xixi skadljfkalsjf [peterpan@server ~/tmp]$cat t2/xixi skadljfkalsjf [peterpan@server ~/tmp]$cat t.pike void main() { write(Stdio.expand_symlinks("t1/xixi")+"\n"); write(Stdio.expand_symlinks("t2/xixi")+"\n"); write(Stdio.expand_symlinks("./xixi")+"\n"); write(Stdio.expand_symlinks("./haha")+"\n"); } [peterpan@server ~/tmp]$pike t.pike t1/xixi 0 0 0
/ Brevbäraren