delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/11/09:36:36

Message-ID: <3993F63E.96064328@softhome.net>
Date: Fri, 11 Aug 2000 14:49:02 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
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: Patch: __solve_symlinks()
References: <3993F0E7 DOT 9A25BD50 AT softhome DOT net>
Reply-To: djgpp-workers AT delorie DOT com

...of course, I've missed something - errno changes:

Laurynas

Index: errno.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/errno.h,v
retrieving revision 1.2
diff -u -r1.2 errno.h
--- errno.h     1998/06/28 23:33:58     1.2
+++ errno.h     2000/08/11 12:46:40
@@ -55,6 +55,7 @@
 #ifndef _POSIX_SOURCE

 #define ENMFILE                38
+#define ELOOP           39

 extern char *          sys_errlist[];
 extern int             sys_nerr;

Index: errno.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/ansi/errno/errno.txh,v
retrieving revision 1.4
diff -u -r1.4 errno.txh
--- errno.txh   2000/06/12 17:07:40     1.4
+++ errno.txh   2000/08/11 12:48:13
@@ -237,6 +237,12 @@
 this to @code{errno} when they exhaust the files in the directory.
 @code{readdir} does that as well.

+@item 39
+
+ELOOP -- Too many levels of symbolic links.  Can be set virtually by any
+file handling function in library. Usually means encountered link loop
+(link1 -> link2, link2 -> link1).
+
 @end table

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019