Commit Graph

101 Commits (8dceb92407f751d1a8aecd4bfb36d1fe2dc3cf9a)

Author SHA1 Message Date
Andreas Dilger 9b7d811dda This patch adds a check to use fstat or fstat64 in getsize.c if the
target is a regular file, instead of doing binary searching.  It also
fixes a couple of cases where a file descriptor is leaked in the
ext2fs_getsize() routine on error.

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
2005-07-09 22:06:59 -05:00
Theodore Ts'o 8b889f8ce0 Set the executible bit on the configure script. 2005-07-05 22:14:20 -05:00
Theodore Ts'o 762c7c6510 Add paranoia checks into the blkid, ext2fs, and ss libraries to ignore
environment variables if the libraries are called from setuid or setguid 
programs, or if kernel believes that the process is not eligible to create
a core dump.  In addition, if the libc has __secure_getenv(), use it so that
the libc can also do any additional limitations regarding when libraries can
trust environment variables (i.e., to integrate with systems like SELinux 
and Posix capabilities).
2005-04-06 14:44:16 -04:00
Theodore Ts'o ee683a13f6 Makefile util/gen-tarball executable after creating the file. 2005-02-05 15:53:56 -05:00
Theodore Ts'o 33db8f80f2 Remove support for --enable-clear-htree; this was
only needed during the early development of the htree patch.
2005-02-05 10:28:15 -05:00
Theodore Ts'o 98919bdb2e Add support for maintainer mode, which enables the makefile rules
to rebuild the configure script from configure.in, and to reubuild the 
.gmo files in po directory.
2005-02-04 10:43:58 -05:00
Theodore Ts'o 7004b4af6e Drop the sparc assembly bitwise operations; it's less efficient
than the GCC 3.4 compile code and triggers compiler warnings on 
sparc64.  Thanks to Matthias Andree for his analysis and suggestions.
(Addresses Debian Bug #232326)

Remove support for the --enable-old-bitops configure option which 
was only for very old sparc systems.
2005-02-03 21:56:44 -05:00
Theodore Ts'o e644186542 Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
Theodore Ts'o 6c65d251da configure.in: Clean up checks for dirent.d_reclen, ssize_t,
llseek, lseek64, sockaddr.sa_len and make the lseek checks
	immune to compiler warnings, so that they can be compiled
	with Intel C++ 8.1.

Patch from: Matthias Andree <matthias.andree@gmx.de>
2005-01-19 12:59:48 -05:00
Theodore Ts'o da76d6b726 Make configure.in script check for prerequisite headers when checking for
the presence of sys/disk.h, sys/mount.h, and net/if.h, to improve 
the configure script on Solaris and *BSD systems.
2005-01-18 23:29:01 -05:00
Theodore Ts'o 32237014a1 Various portability fixes for Solaris systems. 2005-01-17 19:13:39 -05:00
Theodore Ts'o d2ee56d86e Fix configure.in to use AC_CHECK_TYPES instead of the "broken by design"
autoconf 2.13 version of AC_CHECK_TYPE.  Otherwise, on some platforms
intptr_t might get erroneously #define'd to be long.   (Addresses 
Debian Bug #289133)
2005-01-09 00:57:45 -05:00
Theodore Ts'o b0cacab066 Update to use gettext 0.14.1 and autoconf 2.50+ 2004-11-30 19:00:19 -05:00
Theodore Ts'o 921f4ad536 Remove support for EVMS 1.x plugin library. 2004-11-19 17:25:27 -05:00
Theodore Ts'o 2b5901d9c7 Remove the a.out DLL support, since it's been obsolete and unmaintained
for a long time now.
2004-11-19 17:06:47 -05:00
Theodore Ts'o 5d40773ba8 Revamp the initrd scripts to use a new helper program,
e2initrd_helper, which obviates the need for using /bin/awk
and mounting/unmounting the root filesystem during the initrd
process.  (Addresses Debian Bug #247775)
2004-09-18 14:53:14 -04:00
Theodore Ts'o 9845cf5dbd Clean up the header file #include's for lib/blkid/getsize.c
and lib/ext2fs/getsize.c

In lib/blkid/getsize.c, include <sys/disk.h> if present since
this is where the DIOCGMEDIASIZE ioctl is defined on FreeBSD.
(Addresses Debian Bug #264630)
2004-09-17 19:07:03 -04:00
Theodore Ts'o e363240dc2 configure.in, configure: Enable the fsck wrapper for the Debian
FreeBSD kernel / GNU userspace port.  (Addresses Debian
	Bug #246738)
2004-05-04 19:39:54 -04:00
Theodore Ts'o 2625803ecf Use C99 stdint.h types instead of custom types in the uuid library. 2004-04-03 10:20:26 -05:00
Theodore Ts'o 84ea6e70b7 Fix Darwin/Mac OS X support to fetch the ethernet address in the uuid library. 2004-03-19 19:29:17 -05:00
Theodore Ts'o fde3e1b054 Update configure file using autoconf 2.13. 2004-02-23 23:10:41 -05:00
Matthias Andree b1c92f9121 Add -mieee to CFLAGS if we're using GCC and the CPU is an Alpha.
Fixes a test case failure in FreeBSD/alpha. Reported and fix
suggested by Greg Lewis.
2004-02-23 21:30:11 +01:00
Theodore Ts'o 1d5150c133 Check in modified configure script from FreeBSD port changeset. 2004-01-30 16:03:31 -05:00
Theodore Ts'o 0c193f8204 Include inttypes.h if present. New macros INT_TO_VOIDPTR and
VOIDPTR_TO_INT.  Use them throughout for int<->void *
	casts to fix 64-bit warnings.
2003-08-01 14:26:23 -04:00
Theodore Ts'o 1c29b0979a badblocks.c (do_read, do_write, test_rw): Change the read/write
test to honor the -c option (number of blocks at a time).
	do_read and do_write will try to turn on the O_DIRECT flag
	if it appears that it is possible to use it.  (Addresses
	Debian bug #198006)
2003-07-12 16:01:45 -04:00
Theodore Ts'o 93636bdea9 Update to use the new freebsd config triple (Addresses Debian
bug #195274)
2003-07-12 02:45:05 -04:00
Theodore Ts'o 07a0db15b0 configure.in:
Add workaround for Darwin and Libintl
2003-07-05 14:50:24 -04:00
Theodore Ts'o d3c9fb8fba Adjust defaults for FreeBSD to no longer build the
fsck wrapper, and to not install into /usr/local by
	default.  (Addresses Debian bug #195274)
2003-06-08 20:26:15 -04:00
Theodore Ts'o 5c70a50b28 Fix bug which caused --disable-evms not to work. 2003-05-20 10:29:29 -04:00
Theodore Ts'o c6f35b8a82 MCONFIG.in, configure.in: Only put the intl directory in the -I
search path if we are using --with-internal-gettext.
	Otherwise causes compatibility problems with the woody
	glibc.   (Addresses Debian bug #193372)
2003-05-17 16:29:27 -04:00
Theodore Ts'o bb988b2fd3 configure.in: Fix typo in help message for --enable-evms-11 2003-05-13 23:32:32 -04:00
Theodore Ts'o 2a29f1354f Add --enable-test-io-debug configure option which causes e2fsck and
tune2fs to use the test I/O manager.

The test I/O manager has been changed to not do anything extra by 
default, unless the TEST_IO_FLAGS and/or TEST_IO_BLOCK environment
variables are set, which controls what I/O operations are logged and
a block number to watch, respectively.  The log messages are sent to
stderr by default, unless a filename is specified via the 
TEST_IO_LOGFILE environment variable.
2003-05-05 12:08:47 -04:00
Theodore Ts'o d21ae6c5cd configure.in, configure, Makefile.in: Add --with-diet-libc
convenience option.  Add --disable-evms option.
2003-05-05 09:00:24 -04:00
Theodore Ts'o a04eba3f88 Update to gettext 0.11.5. We now enable NLS support by default.
Fixed up support for using the internal intl library.
2003-05-03 16:35:17 -04:00
Theodore Ts'o a85e81a2ff configure.in: Remove CYGWIN definition; we will use the
automatically defined __CYGWIN__ instead.
2003-04-18 07:22:01 -04:00
Theodore Ts'o fff45483ed Add portability enhancements for Cygwin32 environment. 2003-04-13 00:44:19 -04:00
Theodore Ts'o bff0cc950b Move tarball generation functions to util/gen-tarball 2003-03-23 01:37:53 -05:00
Theodore Ts'o aa75ecccab Fix the Apple Darwin port. 2003-03-17 10:01:22 -05:00
Theodore Ts'o bbac86bb9e Update the generated configure file. 2003-03-16 06:27:22 -05:00
Theodore Ts'o e1f072280c Update generated configure file. 2003-03-14 02:25:36 -05:00
Theodore Ts'o 94ba8c7506 Changes to create a subset distribution which consists only of the
et, ss, uuid, and blkid libraries.  The configure script and top-level 
makefile were changed to support working with a subset distribution.
2003-03-02 02:07:14 -05:00
Theodore Ts'o f0a22d0fd3 Add dynamic debugging capabilities to the blkid library,
controlled by the environment variable BLKID_DEBUG. The debugging
code is enabled by a new configuration option, --enable-blkid-debug.
2003-02-22 13:19:53 -05:00
Theodore Ts'o e12f2ae74c Integrate new blkid library. 2003-01-23 16:45:16 -05:00
Theodore Ts'o 0c897a9012 Add german translation to the language catalog
Fix internationalization of "pass 2" in e2fsck.

Update po files.
2002-11-09 12:01:18 -05:00
Theodore Ts'o 782bebfd75 configure.in, configure: Change --enable-jfs-debug to
--enable-jbd-debug for consistency's sake.
2002-11-08 18:46:45 -05:00
Theodore Ts'o feb44c6955 Skip byteswap tests on --disable-swapfs
Disable certain tests that depend on the byteswapping functions
being present so that "make check" succeeds even if --disable-swapfs
is passed to the configure script.
2002-11-08 14:55:38 -05:00
Theodore Ts'o a9d799a01d Update EVMS plugin to support EVMS ABI 1.2 2002-11-08 13:50:51 -05:00
Theodore Ts'o 559ca6cb94 Enable HTREE support by default. 2002-08-18 03:48:55 -04:00
Theodore Ts'o e6f2bda381 Makefile.in: Revamp makefile so that it doesn't depend
--enable-elf-shlibs.  We always build the shared library,
	since it's meant to be used as a plugin library.
2002-08-18 03:37:10 -04:00
Theodore Ts'o 593c6ead7e Various portability fixes which should help out HURD.
The iterate_on_dir function in libe2p has been changed to be more
general, so it relies less on the layout of struct dirent.  We also
make sure the errno returned by the ioctl is returned by 
fgetversion() and fsetversion().
2002-07-14 15:58:38 -04:00