summaryrefslogtreecommitdiffstats
path: root/lib/util/util_file.c
Commit message (Collapse)AuthorAgeFilesLines
* CVE-2013-4476: lib-util: split out file_save_mode() from file_save()Björn Baumbach2013-11-111-5/+11
| | | | | | | | | file_save_mode() writes files with specified mode. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234 Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/util: remove the "includes.h" dependeny from util_file.cStefan Metzmacher2011-10-221-5/+4
| | | | metze
* s3: Don't use talloc_autofree_context in map_fileVolker Lendecke2010-10-201-1/+1
|
* util: added file_compare() utility functionAndrew Tridgell2010-02-111-0/+22
| | | | | | | file_compare() returns true if two files are the same. It is meant for small files. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails.Slava Semushin2009-07-191-0/+1
| | | | | Found by cppcheck: [./lib/util/util_file.c:383]: (error) Resource leak: fd
* Use the new memory macro file from Samba 3.Jelmer Vernooij2008-10-181-1/+0
|
* Use common util_file code.Jelmer Vernooij2008-10-121-13/+46
|
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+404
Conflicts: source4/Makefile