]> granicus.if.org Git - shadow/commit
* libmisc/copydir.c: Added splint annotations.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 24 Apr 2009 23:41:28 +0000 (23:41 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 24 Apr 2009 23:41:28 +0000 (23:41 +0000)
commit98e42fa9444063b699a268af8d244451b4f2194c
treecc5a4c10474247280453b5bff3645da6ec788b0a
parentab6c36666819e3f5b6a2d9f7706de7b98db549ab
* libmisc/copydir.c: Added splint annotations.
* libmisc/copydir.c: Added assert to help splint.
* libmisc/copydir.c: Free allocated structures in cas of failure.
* libmisc/copydir.c: Avoid implicit conversion of pointers to
booleans.
* libmisc/copydir.c: Use buffers of size PATH_MAX instead of 1024
for filenames.
* libmisc/copydir.c: Use fchmod and fchown to change the mode of
the opened file.
* libmisc/copydir.c: Indicate the mode to open(), even if we chmod
later.
ChangeLog
libmisc/copydir.c