diff options
author | Ron Yorston <rmy@pobox.com> | 2014-01-02 10:25:11 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-01-02 10:25:11 +0000 |
commit | b8f278ee745778806118f57fb7884d205eba05ad (patch) | |
tree | fef237f6dd302c59918cf389a60c120e58d3e086 /libbb/xreadlink.c | |
parent | 3fd34651ea72ea1c335d3170f234cb0517fd897f (diff) | |
parent | 57434022cefde87133b8ad39fb3b79c1274e7684 (diff) | |
download | busybox-w32-b8f278ee745778806118f57fb7884d205eba05ad.tar.gz busybox-w32-b8f278ee745778806118f57fb7884d205eba05ad.tar.bz2 busybox-w32-b8f278ee745778806118f57fb7884d205eba05ad.zip |
Merge branch 'busybox' into merge
Conflicts:
archival/Config.src
shell/ash.c
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r-- | libbb/xreadlink.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c index bc1d0e665..ea09f20b8 100644 --- a/libbb/xreadlink.c +++ b/libbb/xreadlink.c | |||
@@ -8,6 +8,12 @@ | |||
8 | 8 | ||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
11 | /* some systems (eg Hurd) does not have MAXSYMLINKS definition, | ||
12 | * set it to some reasonable value if it isn't defined */ | ||
13 | #ifndef MAXSYMLINKS | ||
14 | # define MAXSYMLINKS 20 | ||
15 | #endif | ||
16 | |||
11 | /* | 17 | /* |
12 | * NOTE: This function returns a malloced char* that you will have to free | 18 | * NOTE: This function returns a malloced char* that you will have to free |
13 | * yourself. | 19 | * yourself. |