Message-ID: <39A6627E.408E3941@softhome.net> Date: Fri, 25 Aug 2000 14:11:42 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: DJGPP Workers Subject: Last __solve_dir_symlinks() nits Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 1) I've forgotten wc204.txi entry, here it is. 2) Testsuite updates for /dev/ paths. Any comments? Laurynas Index: djgpp/src/docs/kb/wc204.txi =================================================================== RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v retrieving revision 1.22 diff -u -p -r1.22 wc204.txi --- wc204.txi 2000/08/20 15:52:34 1.22 +++ wc204.txi 2000/08/25 11:55:05 @@ -94,6 +94,7 @@ as if @code{it_interval.tv_usec} were se granularity (55 AT dmn{msec} by default). @findex __internal_readlink AT r{, added to the library} +@findex __solve_dir_symlinks AT r{, added to the library} @findex __solve_symlinks AT r{, added to the library} @findex lstat AT r{, added to the library} @findex readlink AT r{, added to the library} @@ -101,8 +102,8 @@ granularity (55 AT dmn{msec} by default). @findex S_IFLNK AT r{, added to the library} UNIX-style symbolic links are fully emulated by library. As a part of this, new functions @code{__internal_readlink}, @code{__solve_symlinks}, -@code{lstat} and @code{readlink}; new macros @code{S_ISLNK} and -@code{S_IFLNK} have been added to library. +@code{__solve_dir_symlinks}, @code{lstat} and @code{readlink}; new macros +@code{S_ISLNK} and @code{S_IFLNK} have been added to library. @findex O_NOLINK AT r{, new flag accepted by @code{open}} @findex O_NOFOLLOW AT r{, new flag accepted by @code{open}} Index: djgpp/tests/libc/compat/unistd/sdirlink.c =================================================================== RCS file: /cvs/djgpp/djgpp/tests/libc/compat/unistd/sdirlink.c,v retrieving revision 1.1 diff -u -p -r1.1 sdirlink.c --- sdirlink.c 2000/08/25 11:37:12 1.1 +++ sdirlink.c 2000/08/25 11:55:17 @@ -42,9 +42,11 @@ int main(void) test_success( 7, "c:test1", "c:test1"); symlink("c:/file", "c:/linkfile"); test_success( 8, "c:/linkfile", "c:/linkfile"); - remove("c:/linkfile"); test_success( 9, "c:/djgpp/tests/libc/compat/unistd/file1", "c:/djgpp/tests/libc/compat/unistd/file1"); + test_success(10, "/dev/env/DJDIR/bin/gcc.exe", "/dev/env/DJDIR/bin/gcc.exe"); + test_success(11, "/dev/c/linkfile", "/dev/c/linkfile"); + remove("c:/linkfile"); printf("Done.\n"); return 0; }