summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-10 13:00:53 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-10 13:02:01 -0600
commit3a3dc38cc8604e55a5ca9d7fa081d6591ade3b9c (patch)
treeb06a97e75208cc95057d0ef9a4bd48ad8a45a853 /package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
parent0ef6c3891113cfc711d990f767a3ffcd78d834b5 (diff)
update to latest upstream version
Diffstat (limited to 'package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c')
-rw-r--r--package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c b/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
deleted file mode 100644
index a6a6ce545..000000000
--- a/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
+++ /dev/null
@@ -1,29 +0,0 @@
---- nfs-utils-1.2.5.orig/support/nfs/nfs_mntent.c 2011-09-24 13:55:15.000000000 +0200
-+++ nfs-utils-1.2.5/support/nfs/nfs_mntent.c 2012-02-27 17:39:34.000000000 +0100
-@@ -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 */
- #include <unistd.h> /* for ftruncate */
-@@ -172,7 +172,7 @@ nfs_getmntent (mntFILE *mfp) {
- 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 */
-@@ -180,7 +180,7 @@ nfs_getmntent (mntFILE *mfp) {
- 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;