diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-31 09:23:23 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-31 09:23:23 +0200 |
commit | bdb4c3a6dc9efecc4d1e40fabf8cb9b3e0eb3ee2 (patch) | |
tree | d6012109e704c5e9abc709c23a7133a3d4b4f779 /package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch | |
parent | 5b11223fb6cd0469becf49b0986868832c076bfc (diff) | |
parent | 2105ecbd86d04e446effa11108f6bd755ed5f19a (diff) | |
download | buildroot-novena-bdb4c3a6dc9efecc4d1e40fabf8cb9b3e0eb3ee2.tar.gz buildroot-novena-bdb4c3a6dc9efecc4d1e40fabf8cb9b3e0eb3ee2.zip |
Merge branch 'next'
Conflicts:
toolchain/kernel-headers/Config.in
Diffstat (limited to 'package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch')
-rw-r--r-- | package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch b/package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch deleted file mode 100644 index 3504e2d72..000000000 --- a/package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch +++ /dev/null @@ -1,54 +0,0 @@ -Use the strchr() function instead of the legacy index() function. - -Signed-off-by: Frederik Pasch <fpasch@googlemail.com> ---- 1/utils/mountd/fsloc.c -+++ 2/utils/mountd/fsloc.c -@@ -126,7 +126,7 @@ - struct servers *rv=NULL; - - xlog(L_NOTICE, "method_list(%s)\n", data); -- for (ptr--, listsize=1; ptr; ptr=index(ptr, ':'), listsize++) -+ for (ptr--, listsize=1; ptr; ptr=strchr(ptr, ':'), listsize++) - ptr++; - list = malloc(listsize * sizeof(char *)); - copy = strdup(data); ---- 1/support/nfs/nfs_mntent.c -+++ 2/support/nfs/nfs_mntent.c -@@ -9,7 +9,7 @@ - */ - - #include <stdio.h> --#include <string.h> /* for index */ -+#include <string.h> /* for strchr */ - #include <ctype.h> /* for isdigit */ - #include <sys/stat.h> /* for umask */ - -@@ -163,7 +163,7 @@ - return NULL; - - mfp->mntent_lineno++; -- s = index (buf, '\n'); -+ s = strchr (buf, '\n'); - if (s == NULL) { - /* Missing final newline? Otherwise extremely */ - /* long line - assume file was corrupted */ -@@ -171,7 +171,7 @@ - fprintf(stderr, _("[mntent]: warning: no final " - "newline at the end of %s\n"), - mfp->mntent_file); -- s = index (buf, 0); -+ s = strchr (buf, 0); - } else { - mfp->mntent_errs = 1; - goto err; ---- 1/utils/mount/error.c -+++ 2/utils/mount/error.c -@@ -62,7 +62,7 @@ - char *tmp; - - if (estr) { -- if ((ptr = index(estr, ':'))) -+ if ((ptr = strchr(estr, ':'))) - estr = ++ptr; - - tmp = &errbuf[spos]; |