e0ed7404719a9ddd2ba427a80db5365c8bad18c0 |
|
20-Mar-2014 |
JP Abgrall <jpa@google.com> |
Switch back to 1.42.9 now that there is a fix Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/lib/et/error_message.c
|
65f0aab98b20b5994a726ab90d355248bcddfffd |
|
06-Mar-2014 |
JP Abgrall <jpa@google.com> |
Revert changes that moved from 1.41.14 to 1.42.9 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>
/external/e2fsprogs/lib/et/error_message.c
|
18a1444b4f1e6a0948fd38fa0de382d86cfe04de |
|
31-Dec-2013 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Add files that would normally be generated by the e2fsprogs build system 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>
/external/e2fsprogs/lib/et/error_message.c
|
f404167dda29a59d2be2882328aeb074b9899669 |
|
17-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Clean up sparse warnings Mostly by adding static and removing excess extern qualifiers. Also convert a few remaining non-ANSI function declarations to ANSI. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
1ad3174af5213fa7029944cc19723cda08f221d3 |
|
16-Jun-2013 |
Theodore Ts'o <tytso@mit.edu> |
Try to use secure_getenv() in preference to __secure_getenv() If secure_getenv() use it in preference to __secure_getenv(). Starting with (e)glibc version 2.17, secure_getenv() exists, while __secure_getenv() only works with shared library links (where it is a weak symbol), but not for static links with /lib/libc.a Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
299a1e8efaab2050277a58aee4d72d8dacd439be |
|
05-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: declare com_err_gettext to be static Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
4259052093da329907e255b11bf3e799872828c7 |
|
05-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: add set_com_err_gettext() This function allows programs to pass in a pointer to the gettext function so that error table strings will can be internationalized. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
d1154eb460efe588eaed3d439c1caaca149fa362 |
|
18-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
Shorten compile commands run by the build system 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>
/external/e2fsprogs/lib/et/error_message.c
|
98e9fb9d539ca645f11345b33854fe204915c080 |
|
02-Oct-2008 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: Add missing type declarations to clean up -Wall warnings Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
902be4ab7d57242feffc6b631cff1b953a7f95c9 |
|
02-Oct-2008 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: Fix file descriptor leak after an exec Some applications repeatedly re-exec themselves, and if they use the com_err library, they can leak a file descriptor for each re-exec. Fix this by setting the close-on-exec flag on the debug file descriptor. In addition, if the COMERR_DEBUG environment variable isn't set, don't open the file handle at all. Addresses-Red-Hat-Bugzilla: #464689 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
d7f45af802330a0e1450afa05185d3722e77a76c |
|
12-Sep-2008 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: Use sem_post/sem_init to prevent race conditions SuSE has been carrying a patch for a long time to prevent a largely theoretical race condition if a multi-threaded application adds and removes error tables in multiple threads. Unfortunately SuSE's approach breaks compatibility by forcing applications to link and compile with the -pthread option; using pthread mutexes has historically been problematic. This commit fixes things in a more portable way by using sem_post/sem_wait instead, which is an older interface that doesn't require the pthreads library. Linux happens to implement sem_post/sem_init using futexes, and -lrt ends up pulling in -lpthread, but the advantage of using POSIX semaphores is that applications don't have to be built using -pthread, unlike the use of pthread mutexes. The add_error_table() and remove_error_table() interfaces are the preferred interfaces and locking protection have been added to only these interfaces. I have not added locking protection to the generated initialize_xxx_error_table and initialize_xxx_error_table_r interfaces, to avoid adding symbol dependencies that would cause a library to fail to work when linking against older com_err libraries that do not export et_list_lock() and et_list_unlock(). Threaded applications shouldn't be using these interfaces in any case. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
47526e3568f93a13caa347408496f1f1d48af74c |
|
10-Feb-2008 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: Use thread local storage to fix reentrancy problems Address the theoretical problem of two threads trying to format a different unknown error code by using TLS. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
6b6c27fb8a45f264194d8dd637643d8b4898271a |
|
16-Dec-2007 |
Theodore Ts'o <tytso@mit.edu> |
libcom_err: Fix sign-extension problem on 64-bit systems in error_message() On 64-bit systems (or anything with sizeof(long) > sizeof(int)), we sometimes get error codes passed to error_message which have been cast from an (int) to an (unsigned int). This almost always happens if you're using libgssapi_krb5, which returns an error code which is less than 0 but is returned in an (unsigned int). For example, -1765328377L gets cast to 2529638919, which is 0x96c73a07, not 0xffffffff96c73a07, so error_message() fails to find a matching error table. When error_message() then calls the error_table_name() function to get a name to use in the "unknown code" message, it gets a correct value back. This happens because error_table_name() drops most of the higher bits of the parameter it's passed before doing anything else with it (& 077777777f, or & 0xffffff). If we did the same thing in error_message(), we wouldn't have a problem there, either. Problem reported and fixed by: Nalin Dahyabhai Addresses-Sourceforge-Bug: #1809658 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
de8f3a76218255e443ba57dec5d74850180fa75d |
|
25-May-2007 |
Andreas Dilger <adilger@clusterfs.com> |
Fix gcc -Wall warnings, especially on 64-bit systems Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
ec84b746f553f150935f82dd8d487517fcad745b |
|
22-Dec-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add debugging code to the com_err library If the environment variable COMERR_DEBUG is set to 1, print out debugging messages as error tables are added and removed from the com_err library. If the COMERR_DEBUG_FILE environment variable is set (and the process is not setuid) the debugging messages may be redirected to a file. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/et/error_message.c
|
d51b819e549d635c5b0293427fba59d097ad8df2 |
|
20-Jun-2005 |
Theodore Ts'o <tytso@mit.edu> |
error_message.c, init_et.c: Segregate error tables registered via add_error_table() and the other dynamic methods from the ones allocated via initialize_xxx_error_table() so that we won't fail even for error tables created using old versions of compile_et. Thanks to Nalin Dahyabhai for this suggested patch.
/external/e2fsprogs/lib/et/error_message.c
|
91835c151fd48fd03bfe74133b8214486af18c12 |
|
31-Mar-2003 |
Theodore Ts'o <tytso@mit.edu> |
Change compile_et to generate header files that use <et/com_err.h> instead of <com_err.h>, so the current version of the header file is used. Add a --build-tree option to compile_et to make sure that it uses the et_?.awk files from the build tree. Remove legacy support for varargs.h, K&R C, and pre-POSIX signal support. Also fixed gcc -Wall nits.
/external/e2fsprogs/lib/et/error_message.c
|
00aba96743c1b76eb9c242368f582c65ecdbe47c |
|
20-Mar-2003 |
Theodore Ts'o <tytso@mit.edu> |
com_err.h, error_table.h: Move definition of the error_table structure from the internal error_table.h to com_err.h, since it now needs to be public. et_c.awk, et_h.awk: Import changes from krb5's et library so that the error_table structure is defined and available publically. error_message.c: Import krb5 and heimdall com_err extensions to the et library.
/external/e2fsprogs/lib/et/error_message.c
|
06cefee50dc681838454fcd079ba5b2760969f1b |
|
23-Oct-1999 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Update copyright statements.
/external/e2fsprogs/lib/et/error_message.c
|
2740156bd12747389eaf745529653b26a3a9d73d |
|
14-Sep-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, dumpe2fs.8.in, dumpe2fs.c, mke2fs.8.in, mke2fs.c, partinfo.c: partinfo.c: Fix minor compilation bugs pointed out by Yann Dirson. mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2 kernels. mke2fs.8.in: Add the possible valid block sizes for mke2fs. Document the -n flag, and the new defaults for the -s flag. dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h (header-only). mke2fs.c (PRS): Fix logic for turning on/off the sparse superblock option. Many files: Updated copyright statements to reflect the GPL with permission of the original authors.
/external/e2fsprogs/lib/et/error_message.c
|
a47b66ee09960a8bf00e72b431ec56d68e11a301 |
|
11-Aug-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, error_message.c, error_table.h, et_name.c: error_table.h: et_name.c (error_table_name): error_message.c (error_message.c): Make code be 16-bit safe. ChangeLog, e2fsck.c: e2fsck.c (check_mount): Add stronger warning message about the perils of running e2fsck on a mounted filesystem.
/external/e2fsprogs/lib/et/error_message.c
|
f3db3566b5e1342e49dffc5ec3f418a838584194 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of e2fsprogs 0.5b
/external/e2fsprogs/lib/et/error_message.c
|
3839e65723771b85975f4263102dd3ceec4523c0 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of e2fsprogs 0.5b
/external/e2fsprogs/lib/et/error_message.c
|