summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapped.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-05 13:51:19 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-05 13:51:19 +0000
commit36ee52334ba79f059043989a1f1c73b71a48a8c1 (patch)
tree1eee79709840f667613d3a789a153d60db59d90a /source3/smbwrapper/wrapped.c
parent4980fcf425ae40db097afe144443e025eba190e7 (diff)
downloadsamba-36ee52334ba79f059043989a1f1c73b71a48a8c1.tar.gz
samba-36ee52334ba79f059043989a1f1c73b71a48a8c1.tar.bz2
samba-36ee52334ba79f059043989a1f1c73b71a48a8c1.zip
- fixed errno return in smbw_open()
- updated README a bit - fixed Linux compilation of utime() (This used to be commit 4bacf32755f8012110797f7aae2b3e1e0e2f537b)
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r--source3/smbwrapper/wrapped.c5
1 files changed, 5 insertions, 0 deletions
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);