winstonw made me discover there is no ELOOP in Plan 9:

http://plan9.bell-labs.com/sources/plan9/sys/include/ape/errno.h
This commit is contained in:
tg 2012-03-26 20:04:05 +00:00
parent 36199d66ab
commit 64afff52c1
1 changed files with 5 additions and 1 deletions

6
misc.c
View File

@ -30,7 +30,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.184 2012/03/23 21:58:22 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.185 2012/03/26 20:04:05 tg Exp $");
/* type bits for unsigned char */
unsigned char chtypes[UCHAR_MAX + 1];
@ -1311,6 +1311,10 @@ ksh_get_wd(void)
return (rv);
}
#ifndef ELOOP
#define ELOOP E2BIG
#endif
char *
do_realpath(const char *upath)
{