kumquat-buildroot/package/samba/samba-fix-mount.cifs.patch
Sven Neumann b25b711e4a samba: bump to 3.5.11
Bump to version 3.5.11 and also update the download location.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:31:55 +02:00

22 lines
525 B
Diff

--- a/client/mount.cifs.c 2011-09-13 10:26:21.000000000 +0200
+++ b/client/mount.cifs.c 2011-09-13 10:27:16.000000000 +0200
@@ -39,7 +39,6 @@
#include <mntent.h>
#include <fcntl.h>
#include <limits.h>
-#include <fstab.h>
#include "mount.h"
#define MOUNT_CIFS_VERSION_MAJOR "1"
@@ -255,6 +254,10 @@
return 0;
}
#else /* CIFS_LEGACY_SETUID_CHECK */
+
+#ifndef _PATH_FSTAB
+#define _PATH_FSTAB "/etc/fstab"
+#endif
static int
check_fstab(const char *progname, char *mountpoint, char *devname,
char **options)