git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8aec8
)
merge:
author
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Jan 2004 09:08:38 +0000
(09:08 +0000)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Jan 2004 09:08:38 +0000
(09:08 +0000)
* Fix sys_chown() when no chown() is presend
metze
(This used to be commit
ecf5b78248e551f3586967046d8b1da9bbe11e7b
)
source3/lib/system.c
patch
|
blob
|
history
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index 16384c8bdf5a2ccc90d9204d6ecfbe7c6a947374..a0007ec83cd277fc966e14fcacbfc4c64ab3ef9e 100644
(file)
--- a/
source3/lib/system.c
+++ b/
source3/lib/system.c
@@
-490,6
+490,8
@@
int sys_chown(const char *fname,uid_t uid,gid_t gid)
DEBUG(1,("WARNING: no chown!\n"));
done=1;
}
+ errno = ENOSYS;
+ return -1;
#else
return(chown(fname,uid,gid));
#endif