Mail Archives: djgpp-workers/1999/08/22/08:44:50
Hello,
Are there any obstacles for implementing real symlinks for
DJGPP using regular files? I think that -
1) symlink function creates a new file and writes path to
linked file here. To avoid clashes between symlink and
non-symlink files, it should have prefix and postfix, e.g.
two ASCII chars from 0-31 or 128-255, string 'DJGPP symlink',
path itself, newline, 'DJGPP symlink'.
2) open function checks for symlink file format, and if
the file appears to be symlink, open real file instead.
For supporting symlinks to directories chdir() should be
adjusted too.
I'm waiting for advices. In fact, I've started writing
some code.
Laurynas Biveinis
- Raw text -