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:
parent
36199d66ab
commit
64afff52c1
6
misc.c
6
misc.c
@ -30,7 +30,7 @@
|
|||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#endif
|
#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 */
|
/* type bits for unsigned char */
|
||||||
unsigned char chtypes[UCHAR_MAX + 1];
|
unsigned char chtypes[UCHAR_MAX + 1];
|
||||||
@ -1311,6 +1311,10 @@ ksh_get_wd(void)
|
|||||||
return (rv);
|
return (rv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ELOOP
|
||||||
|
#define ELOOP E2BIG
|
||||||
|
#endif
|
||||||
|
|
||||||
char *
|
char *
|
||||||
do_realpath(const char *upath)
|
do_realpath(const char *upath)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user