Message-ID: <37BFECBA.57BFBD27@softhome.net> Date: Sun, 22 Aug 1999 14:27:38 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: lt,en MIME-Version: 1.0 To: DJGPP Workers Subject: Real symlinks for DJGPP? Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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