Mail Archives: djgpp-workers/1999/08/22/12:44:46
Martin Str|mberg wrote:
>
> Laurynas said:
> > 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'.
>
> Nice. Are the WINDOZE shortcuts equivalent to symlinks? If so perhaps
> that format should be used?
That format is little bit overkill for DJGPP symlink - it
contains fields about icons, hot keys for accessing, 16 bytes
for GUID, network info, volume info and so on, and so on...
I think my suggestion is better because it is simpler.
Maybe it is good idea to add their support in open(), but
symlink() should not generate them.
> (
> > I'm waiting for advices. In fact, I've started writing
> > some code.
>
> Well, _are_ you waiting for advice or not?)
:) I'm writing code and accepting advices.
Laurynas Biveinis
- Raw text -