summaryrefslogtreecommitdiff
path: root/resize/test_extent.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang warnings on architectures with a 64-bit longTheodore Ts'o2021-02-111-2/+5
| | | | | | | | | | | | On most systems where we compile e2fsprogs, the u64 type is an unsigned long long. However, there are platforms (such as the PowerPC) where a long 64-bits and so u64 is typedef'ed to be unsigned long instead of a unsigned long long. Fix this by using explicit casts in printf statements. For scanf calls, we need to receive the value into a unsigned long long, and then assign it to a u64, after doing range checks. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* Fix typos in code comments and developer docsSebastian Rasmussen2017-10-151-1/+1
| | | | | | Signed-off-by: Sebastian Rasmussen <sebras@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca>
* test_extents: fix a possible memory leakTheodore Ts'o2014-01-051-0/+2
| | | | | | Addresses-Coverity-Bug: #1049185 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Shorten compile commands run by the build systemTheodore Ts'o2011-09-181-0/+1
| | | | | | | | | | | | | | | The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and this was starting to cause some tools heartburn. It also made "make V=1" almost useless, since trying to following the individual commands run by make was lost in the noise of all of the defines. So fix this by putting the configure-generated defines in lib/config.h and the directory pathnames to lib/dirpaths.h. In addition, clean up some vestigal defines in configure.in and in the Makefiles to further shorten the cc command lines. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* resize2fs: Fix up to be 64-bit block number safeValerie Aurora Henson2010-06-131-4/+4
| | | | | Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Remove trailing whitespace for the entire source treeTheodore Ts'o2008-08-271-6/+6
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix gcc -Wall warnings in resize2fsTheodore Ts'o2008-06-071-1/+7
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Many files:Theodore Ts'o2000-04-061-2/+6
| | | | | | | | | | | | | | | Update copyright of files in preparation for release of resize2fs. Also removed the (obsolete) beta-test check that had been in the code, as well as the old spec files used to package the separate distribution of resize2fs. Makefile.in: No longer build resize2fs.static, since there's no real point in it any more. Modified Files: ChangeLog Makefile.in extent.c main.c resize2fs.8.in resize2fs.c resize2fs.h sim_progress.c test_extent.c Removed Files: e2fsprogs-1.12.spec pq.gif resize2fs.spec version.h
* Many files:Theodore Ts'o1997-06-171-0/+113
Checkin of work to date. (Pretty much completely working now.)