Mail Archives: djgpp-workers/1999/08/23/11:44:51
Laurynas Biveinis wrote:
> 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.
It should call the function in a "recursive way" so symlinks to symlinks works
OK.
I thinked about it in the past but never had time to experiment and see the real
world problems.
What about using some special attributes? like System+Read-Only or something
like that.
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -