summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-mount_mntent_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:00:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:00:09 +0200
commit6f58e88ce0c721c8954898f81c9fbf8088fcba13 (patch)
tree43a1464e4175c764e630390dde7dae597691db2a /package/util-linux/patches/patch-mount_mntent_c
parenta01131d813946a99aa5206633a524855c3b6f58c (diff)
update util-linux to util-linux-ng
- disable some packages not usable for mips/rb532
Diffstat (limited to 'package/util-linux/patches/patch-mount_mntent_c')
-rw-r--r--package/util-linux/patches/patch-mount_mntent_c30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/util-linux/patches/patch-mount_mntent_c b/package/util-linux/patches/patch-mount_mntent_c
deleted file mode 100644
index 7445e1bf4..000000000
--- a/package/util-linux/patches/patch-mount_mntent_c
+++ /dev/null
@@ -1,30 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- util-linux-2.12r.orig/mount/mntent.c 2004-10-13 22:57:34.000000000 +0200
-+++ util-linux-2.12r/mount/mntent.c 2008-10-16 12:00:45.000000000 +0200
-@@ -6,7 +6,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 "mntent.h"
-@@ -158,7 +158,7 @@ my_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 */
-@@ -166,7 +166,7 @@ my_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;