summaryrefslogtreecommitdiff
path: root/package/samba/samba-add-check-for-__use_bsd.patch
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-01-13 07:29:35 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-01-13 07:29:35 +0000
commit8e1e3e58fb326ed21506ff04f4950578fa066287 (patch)
treef6560941c5f8c71bd40dc3fb1fb767a9149be24e /package/samba/samba-add-check-for-__use_bsd.patch
parentb9a79cd8f03225944b1339146c90cb30b81689e1 (diff)
samba: bump version to 3.2.7 and refresh patches against this version
This patch bumps the Samba version to 3.2.7 and refreshes the patches. It also fixes two minor issues by introducing two new small patches.
Diffstat (limited to 'package/samba/samba-add-check-for-__use_bsd.patch')
-rw-r--r--package/samba/samba-add-check-for-__use_bsd.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/samba/samba-add-check-for-__use_bsd.patch b/package/samba/samba-add-check-for-__use_bsd.patch
index 9ed1052a1..df84a713e 100644
--- a/package/samba/samba-add-check-for-__use_bsd.patch
+++ b/package/samba/samba-add-check-for-__use_bsd.patch
@@ -1,6 +1,6 @@
--- a/source/client/mount.cifs.c
+++ b/source/client/mount.cifs.c
-@@ -91,6 +91,7 @@ char * prefixpath = NULL;
+@@ -96,6 +96,7 @@ char * prefixpath = NULL;
/* glibc doesn't have strlcpy, strlcat. Ensure we do. JRA. We
* don't link to libreplace so need them here. */
@@ -8,11 +8,11 @@
/* like strncpy but does not 0 fill the buffer and always null
* terminates. bufsize is the size of the destination buffer */
-@@ -126,6 +127,7 @@ static size_t strlcat(char *d, const cha
- }
- return ret;
+@@ -177,6 +178,7 @@ static void mount_cifs_usage(void)
+ SAFE_FREE(mountpassword);
+ exit(EX_USAGE);
}
+#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
- /* BB finish BB
-
+ /* caller frees username if necessary */
+ static char * getusername(void) {