diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 19:27:33 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 19:27:33 +0000 |
commit | 30e8feac61c3c7cc7e84159c29b00f5e49dbedef (patch) | |
tree | 26de2e814714096f0ae86a7846ec8e5b82be5db7 /main/libc0.9.32/bufsize.patch | |
parent | 6267ff5c95ad547b5698bb2fe38a51475ad61da8 (diff) | |
parent | e59f25e6a0d9d18f07ee5b249c535edfbfdb832e (diff) | |
download | aports-eglibc.tar.bz2 aports-eglibc.tar.xz |
Merge branch 'master' into eglibceglibc
Diffstat (limited to 'main/libc0.9.32/bufsize.patch')
-rw-r--r-- | main/libc0.9.32/bufsize.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/libc0.9.32/bufsize.patch b/main/libc0.9.32/bufsize.patch new file mode 100644 index 000000000..b52f155c6 --- /dev/null +++ b/main/libc0.9.32/bufsize.patch @@ -0,0 +1,26 @@ +diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c +index bcf507b..9858900 100644 +--- a/libc/inet/getproto.c ++++ b/libc/inet/getproto.c +@@ -28,7 +28,7 @@ aliases: case sensitive optional space or tab separated list of other names + __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP); + + #define MAXALIASES 35 +-#define BUFSZ (80) /* one line */ ++#define BUFSZ (256) /* one line */ + #define SBUFSIZE (BUFSZ + 1 + (sizeof(char *) * MAXALIASES)) + + static parser_t *protop = NULL; +diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c +index c38ff80..dbbc19c 100644 +--- a/libc/inet/getservice.c ++++ b/libc/inet/getservice.c +@@ -29,7 +29,7 @@ aliases: case sensitive optional space or tab separated list of other names + __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP); + + #define MAXALIASES 35 +-#define BUFSZ (80) /* one line */ ++#define BUFSZ (256) /* one line */ + #define SBUFSIZE (BUFSZ + 1 + (sizeof(char *) * MAXALIASES)) + + static parser_t *servp = NULL; |