Message-ID: <39AAB564.5B23B4A3@softhome.net> Date: Mon, 28 Aug 2000 20:54:28 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Need new error messages for symlink support References: <39A58A6D DOT AA2360BF AT phekda DOT freeserve DOT co DOT uk> <39A59CBD DOT 40986534 AT softhome DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Laurynas Biveinis wrote: > > Laurynas - it appears the files in src/libc/ansi/string haven't been > > updated to cope with symlink support - we need a new error message in > > src/libc/ansi/string/syserr1.c, src/libc/ansi/string/syserr2.c for ELOOP. > > Thanks for pointing it out. I just forgot about it. Ugh - forgot again! But this time I did it, here is the patch (already commited; I see little potential problems here) Laurynas Index: syserr1.c =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/ansi/string/syserr1.c,v retrieving revision 1.1 diff -u -p -r1.1 syserr1.c --- syserr1.c 1995/10/01 19:21:40 1.1 +++ syserr1.c 2000/08/28 18:47:25 @@ -40,3 +40,4 @@ char __syserr35[] = "Invalid seek (ESPIP char __syserr36[] = "No such process (ESRCH)"; char __syserr37[] = "Improper link (EXDEV)"; char __syserr38[] = "No more files (ENMFILE)"; +char __syserr39[] = "Too many levels of symbolic links (ELOOP)"; Index: syserr1.h =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/ansi/string/syserr1.h,v retrieving revision 1.1 diff -u -p -r1.1 syserr1.h --- syserr1.h 1995/10/01 19:21:46 1.1 +++ syserr1.h 2000/08/28 18:47:25 @@ -38,3 +38,4 @@ extern char __syserr35[]; extern char __syserr36[]; extern char __syserr37[]; extern char __syserr38[]; +extern char __syserr39[]; Index: syserr2.c =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/ansi/string/syserr2.c,v retrieving revision 1.1 diff -u -p -r1.1 syserr2.c --- syserr2.c 1995/06/16 08:03:46 1.1 +++ syserr2.c 2000/08/28 18:47:25 @@ -10,7 +10,7 @@ __syserr15, __syserr16, __syserr17, __sy __syserr20, __syserr21, __syserr22, __syserr23, __syserr24, __syserr25, __syserr26, __syserr27, __syserr28, __syserr29, __syserr30, __syserr31, __syserr32, __syserr33, __syserr34, -__syserr35, __syserr36, __syserr37, __syserr38 +__syserr35, __syserr36, __syserr37, __syserr38, __syserr39 }; int __sys_nerr = sizeof(__sys_errlist) / sizeof(__sys_errlist[0]); Index: syserr3.c =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/ansi/string/syserr3.c,v retrieving revision 1.1 diff -u -p -r1.1 syserr3.c --- syserr3.c 1995/10/01 19:22:00 1.1 +++ syserr3.c 2000/08/28 18:47:25 @@ -10,7 +10,7 @@ __syserr15, __syserr16, __syserr17, __sy __syserr20, __syserr21, __syserr22, __syserr23, __syserr24, __syserr25, __syserr26, __syserr27, __syserr28, __syserr29, __syserr30, __syserr31, __syserr32, __syserr33, __syserr34, -__syserr35, __syserr36, __syserr37, __syserr38 +__syserr35, __syserr36, __syserr37, __syserr38, __syserr39 }; int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);