diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-01 19:45:20 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-01 19:45:20 +0100 |
| commit | 269e98c93f1bff77dc33701f1e5e8615a031ec0b (patch) | |
| tree | d6e35e6da4bc19f657ac07ff8447ec065d85a4aa /package/watchdog/patches/patch-src_mntent_c | |
| parent | d1b6ea47f57cbcac8543a4dba976e13e3bc2e985 (diff) | |
| parent | 2a8b0c42a074556bd489ef88a2b788f84ff6cf1e (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/watchdog/patches/patch-src_mntent_c')
| -rw-r--r-- | package/watchdog/patches/patch-src_mntent_c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/watchdog/patches/patch-src_mntent_c b/package/watchdog/patches/patch-src_mntent_c deleted file mode 100644 index c00b6ff45..000000000 --- a/package/watchdog/patches/patch-src_mntent_c +++ /dev/null @@ -1,21 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- watchdog-5.2.4.orig.orig/src/mntent.c 2003-01-28 07:47:38.000000000 +0100 -+++ watchdog-5.2.4.orig/src/mntent.c 2008-10-16 13:00:20.000000000 +0200 -@@ -6,7 +6,7 @@ - #endif - - #include <stdio.h> --#include <string.h> /* for index */ -+#include <string.h> /* for strchr */ - #include <ctype.h> /* for isdigit */ - #include "wd_mntent.h" - #include "sundries.h" /* for xmalloc */ -@@ -155,7 +155,7 @@ my_getmntent (mntFILE *mfp) { - if (fgets (buf, sizeof(buf), mfp->mntent_fp) == NULL) - return NULL; - -- s = index (buf, '\n'); -+ s = strchr (buf, '\n'); - if (s == NULL) { - /* extremely long line - assume file was corrupted */ - mfp->mntent_errs = 1; |
