e2fsprogs/lib
Theodore Ts'o 2873927d15 subst: clean up various coverity nits
Add appropriate error checking for all error returns, and only open
each file that we need to manipulate once, to avoid potential
time-of-check/time-of-use races.  (Not that this is likely for this
program, but the result is much more clean.)

We also preserve the atime in the case where the file has not changed.

Addresses-Coverty-Id: #709537
Addresses-Coverty-Id: #1049150
Addresses-Coverty-Id: #1049151

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2014-01-04 19:11:37 -05:00
..
blkid libblkid: fix sizeof(foo) vs sizeof(*foo) malloc() bug 2014-01-04 19:11:37 -05:00
e2p e2fsck: verify s_desc_size is power-of-two value 2013-12-23 16:03:46 -05:00
et Use makeinfo --html instead of texi2html 2013-12-28 15:40:56 -05:00
ext2fs e2image: only skip writing zero blocks when writing to a new file 2013-12-26 00:21:08 -05:00
quota libext2fs: use ext2fs_punch() to truncate quota file 2013-12-14 19:52:43 -05:00
ss Clean up sparse warnings 2013-12-16 18:56:36 -05:00
uuid build: use long long for __u64 by default 2013-12-15 22:10:09 -05:00
Makefile.bsd-lib Include LDFLAGS when building BSD libraries 2012-05-11 22:21:08 -04:00
Makefile.checker Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.darwin-lib Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.elf-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
Makefile.library Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.profile Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.solaris-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
config.h.in subst: clean up various coverity nits 2014-01-04 19:11:37 -05:00
dirpaths.h.in Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
fpopen.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00