From 36ee52334ba79f059043989a1f1c73b71a48a8c1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Oct 1998 13:51:19 +0000 Subject: - fixed errno return in smbw_open() - updated README a bit - fixed Linux compilation of utime() (This used to be commit 4bacf32755f8012110797f7aae2b3e1e0e2f537b) --- source3/smbwrapper/wrapped.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/smbwrapper/wrapped.c') diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c index e87bd5f1f2..a6a7334693 100644 --- a/source3/smbwrapper/wrapped.c +++ b/source3/smbwrapper/wrapped.c @@ -628,7 +628,12 @@ #endif #ifdef HAVE_UTIMES +#if LINUX + /* glibc2 gets the prototype wrong */ + int utimes(const char *name,struct timeval tvp[2]) +#else int utimes(const char *name,const struct timeval tvp[2]) +#endif { if (smbw_path(name)) { return smbw_utimes(name, tvp); -- cgit