---- a/source/client/mount.cifs.c
-+++ b/source/client/mount.cifs.c
-@@ -96,6 +96,7 @@ char * prefixpath = NULL;
+--- a/source/client/mount.cifs.c 2009-04-01 13:48:54.000000000 +0200
++++ b/source/client/mount.cifs.c 2009-04-20 12:59:57.000000000 +0200
+@@ -100,6 +100,7 @@
/* glibc doesn't have strlcpy, strlcat. Ensure we do. JRA. We
* don't link to libreplace so need them here. */
/* like strncpy but does not 0 fill the buffer and always null
* terminates. bufsize is the size of the destination buffer */
-@@ -177,6 +178,7 @@ static void mount_cifs_usage(void)
+@@ -181,6 +182,7 @@
SAFE_FREE(mountpassword);
exit(EX_USAGE);
}
---- a/source/configure
-+++ b/source/configure
-@@ -41016,85 +41016,8 @@ fi
+--- a/source/configure 2009-04-01 14:19:36.000000000 +0200
++++ b/source/configure 2009-04-20 13:05:12.000000000 +0200
+@@ -44061,90 +44061,8 @@
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- *linux*)
- # glibc <= 2.3.2 has a broken getgrouplist
- if test "$cross_compiling" = yes; then
-- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&5
--echo "$as_me: error: cannot run test program while cross compiling
+-$as_echo "$as_me: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&2;}
-- { (exit 1); exit 1; }; }
+- { (exit 1); exit 1; }; }; }
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- linux_getgrouplist_ok=yes
-else
-- echo "$as_me: program exited with status $ac_status" >&5
--echo "$as_me: failed program was:" >&5
+- $as_echo "$as_me: program exited with status $ac_status" >&5
+-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-linux_getgrouplist_ok=no
-fi
+-rm -rf conftest.dSYM
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
-fi
-
for ac_func in getgrouplist
do
-@@ -41189,8 +41112,6 @@ _ACEOF
+@@ -44246,8 +44164,6 @@
fi
done
--- a/source/client/mount.cifs.c
+++ b/source/client/mount.cifs.c
-@@ -16,6 +16,10 @@
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
-+#ifdef _SAMBA_BUILD_
-+#include "include/config.h"
-+#endif
-+
- #ifndef _GNU_SOURCE
- #define _GNU_SOURCE
- #endif
-@@ -57,10 +61,6 @@
- #endif /* _SAMBA_BUILD_ */
- #endif /* MOUNT_CIFS_VENDOR_SUFFIX */
-
--#ifdef _SAMBA_BUILD_
--#include "include/config.h"
--#endif
--
- #ifndef MS_MOVE
- #define MS_MOVE 8192
- #endif
@@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha
return ret;
}