aboutsummaryrefslogtreecommitdiffstats
path: root/ext2ed/init.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch back to 1.42.9 now that there is a fixJP Abgrall2014-03-191-10/+3
| | | | | | Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
* Revert changes that moved from 1.41.14 to 1.42.9JP Abgrall2014-03-061-3/+10
| | | | | | | | | | | | | | | | Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H" commit e80e74c41d85ff93f3d212ba6512340f48054a93. Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master" This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Revert "Prepare for upstream 1.42.9" This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Bug: 13340735 Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8 Signed-off-by: JP Abgrall <jpa@google.com>
* Add files that would normally be generated by the e2fsprogs build systemBernhard Rosenkränzer2014-01-051-1/+0
| | | | | | | | | | | | | | | | | Android doesn't run ./configure and friends, so it has to rely on pre-populated versions of the autogenerated files. This is somewhat bogus (e.g. hardcoded little-endian reference in lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's what Android has always done, not a regression from the 1.41.14 branch. Also, don't #include config.h which we don't generate (we pass what it usually contains as -D parameters from Android.mk) anywhere. Add a new Android.mk file for the quota library. Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* Shorten compile commands run by the build systemTheodore Ts'o2011-09-181-1/+2
| | | | | | | | | | | | | | | 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>
* Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count()Valerie Aurora Henson2009-09-071-9/+2
| | | | | | | Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: Nick Dokos <nicholas.dokos@hp.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Remove trailing whitespace for the entire source treeTheodore Ts'o2008-08-271-49/+49
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix potential 2**32-1 overflow problems by ext2fs_div_ceil()Theodore Ts'o2006-08-301-2/+9
| | | | | | | | | | | | | Add a new function, ext2fs_div_ceil(), which correctly calculates a division of two unsigned integer where the result is always rounded up the next largest integer. This is used everywhere where we might have previously caused an overflow when the number of blocks or inodes is too close to 2**32-1. Based on patches from Eric Sandeen, but generalized to use this new function Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Eric Sandeen <esandeen@redhat.com>
* Fix bogus spaces before '!' and '?' characters in unused programs.Theodore Ts'o2005-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | On Mon, Oct 31, 2005 at 01:23:53PM +0000, Martin Michlmayr wrote: > Package: e2fsprogs > Version: 1.38-2 > Severity: minor > > e2fsprogs isn't consistent in its use of spaces before an exclamation > mark. The patch below fixed this by removing some spaces. > (Interestingly, I couldn't find the error message in the sources where > I noticed this inconsistency, namely "group descriptors corrupted !"). Patch applied, but none of the source files you touched are actually compiled in e2fsprogs, and most of them weren't written by me. :-) Addresses Debian Bug #336604 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix up ncurses interface so that it handles resizes correctly.Theodore Ts'o2002-05-131-1/+9
| | | | | | | | | | | Removed the readline library (still available using if HAVE_READLINE is defined) since it really doesn't play well with ncurses. The only real feature it added was command completion, and it didn't really handle it completely correctly anyway. (If readline printed a completion list, it completely screwed up the screen.) We now use the wgetch ncurses interface to get input; this allows the PGDN and PGUP keys to work correctly, and also helped fix up the resizing logic.
* Update ext2ed with newer superblock descriptions, and add directory indexingTheodore Ts'o2002-05-121-38/+55
| | | | | | | structure. Add support for displaying and setting character fields. Add make depend logic and use e2fsprogs version strings.
* Integrate ext2ed into the e2fsprogs build system, and make minimal changes soTheodore Ts'o2002-05-111-1/+1
| | | | | | | | | | | | | | | that it will compile on modern systems. The top-level makefile does not recurse into the ext2ed directory for now, pending determination of whether the original author is still maintaining ext2ed. The documentation files have been renamed to remove the version from the filename. In addition, the SGML files have been converted from LinuxDoc to DocBook. The way root_bindir, root_sbindir, and root_libdir have been changed so that if root_prefix is not set, the values set by the configure command-line options to set the directory names using --bindir, --sbindir, --libdir will affect the root_bindir, et.al Makefile variables.
* Checked in changes from ext2ed version 0.2.Theodore Ts'o2002-05-111-5/+5
|
* Check in ext2ed version 0.1Theodore Ts'o2002-05-111-0/+607