Mail Archives: djgpp-workers/2000/08/28/14:50:08
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]);
- Raw text -