summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
diff options
context:
space:
mode:
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_c10
1 files changed, 5 insertions, 5 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
index 65c51fcc9..a6a6ce545 100644
--- a/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
+++ b/package/nfs-utils/patches/patch-support_nfs_nfs_mntent_c
@@ -1,5 +1,5 @@
---- nfs-utils-1.2.1.orig/support/nfs/nfs_mntent.c 2009-11-04 12:13:56.000000000 +0100
-+++ nfs-utils-1.2.1/support/nfs/nfs_mntent.c 2009-12-25 19:33:24.000000000 +0100
+--- 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 @@
*/
@@ -8,8 +8,8 @@
+#include <string.h> /* for strchr */
#include <ctype.h> /* for isdigit */
#include <sys/stat.h> /* for umask */
-
-@@ -163,7 +163,7 @@ nfs_getmntent (mntFILE *mfp) {
+ #include <unistd.h> /* for ftruncate */
+@@ -172,7 +172,7 @@ nfs_getmntent (mntFILE *mfp) {
return NULL;
mfp->mntent_lineno++;
@@ -18,7 +18,7 @@
if (s == NULL) {
/* Missing final newline? Otherwise extremely */
/* long line - assume file was corrupted */
-@@ -171,7 +171,7 @@ nfs_getmntent (mntFILE *mfp) {
+@@ -180,7 +180,7 @@ nfs_getmntent (mntFILE *mfp) {
fprintf(stderr, _("[mntent]: warning: no final "
"newline at the end of %s\n"),
mfp->mntent_file);