History log of /external/e2fsprogs/util/subst.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/util/subst.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/util/subst.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/util/subst.c
d5c1d82ed8812a036846267a1720faec223c0ba0 16-Sep-2011 Eric Sandeen <sandeen@redhat.com> subst: Fix free of uninit pointers

in add_subst(), if the malloc of ent->name fails, we goto fail;
which will free ent->name (which is null, so OK) but also free
ent->value (which is uninitialized). There is no case where
we must free ent->value on an error (it is allocated last, and
if it fails it of course doesn't need to be freed) so just
remove it.

Also "retval" is only assigned once to the constant ENOMEM,
so we can just return that explicitly in the failure case.

Signed-off-by: Eric Saneeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/util/subst.c
45e338f5332a54295893dba2e32cc093d1316f60 23-Feb-2009 Jim Meyering <jim@meyering.net> remove useless if-before-free tests

In case you're wondering about whether this change is safe from a
portability standpoint, fear not. This has been beaten to death
in other forums. Here are a few threads:

http://thread.gmane.org/gmane.comp.version-control.git/74187
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/12712
http://thread.gmane.org/gmane.emacs.devel/98144
http://thread.gmane.org/gmane.comp.lib.glibc.alpha/13092

There has been debate about whether it's a good idea from a
performance standpoint, too, but imho you'll have a hard time
finding an instance where this sort of change induces a
measurable performance penalty. If you do, please let me know.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/util/subst.c
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/util/subst.c
f1d6a0797b13c1b1c364ab4ee9b500e5455aeeeb 21-Mar-2007 Brian Behlendorf <behlendorf1@llnl.gov> [COVERITY] Fix (error case) file handle leak in util/subst program

Need to close old_f before returning since it had been successfully opened
before.

Coverity ID: 19: Resource Leak

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
/external/e2fsprogs/util/subst.c
98224fbc1db8387da1fe0fd1bb3be25c18be2e98 12-Nov-2006 Theodore Ts'o <tytso@mit.edu> Avoid infinite substitution loop in subst caused by autoconf pre-v2.60

Autoconf versions before 2.60 don't have datarootdir defined, and so this
resulted in a @datarootdir@ --> @datarootdir@ infinite expansion.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/util/subst.c
3f5ef9642bc08bf2a9088a0ec58ec9b0abadf0a6 05-Aug-2006 Andreas Dilger <adilger@clusterfs.com> Create the generated files read-only to remind developers not to edit them.

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/util/subst.c
f932ed925c3bc8f253240d43c7f8e6edd3aa4d5f 12-Apr-2004 Matthias Andree <matthias.andree@gmx.de> Add missing #include <time.h>, fixing a compiler warning.
/external/e2fsprogs/util/subst.c
dd60705665b916c9f67c3bbf86aa6bb620a14ecd 03-Apr-2004 Theodore Ts'o <tytso@mit.edu> Refine the build process to avoid re-running subst all the time on
some generated files, by having subst update the modtime on these
files even when the generated file hasn't changed. We do this with
generated files that do not have any downstream dependencies.
/external/e2fsprogs/util/subst.c
544349270e4c74a6feb971123884a8cf5052a7ee 07-Dec-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nitpicks
/external/e2fsprogs/util/subst.c
913c4e9f1445cd8e10b9342def39eee2a29dcfd0 17-Apr-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c:
subst.c (replace_string): Fix replace_string so that it correctly
handles replacing a substitution variable with a zero-length string.
/external/e2fsprogs/util/subst.c
691d3353c21a9c8c38d57440808ad7a53827b7dc 03-Apr-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c:
subst.c: For platforms that don't define optarg.h, manually define
optarg and optind.
/external/e2fsprogs/util/subst.c
cdceb0496f7ae23f685a409ab070f3431bcad520 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c:
subst.c (substitute_line): Removed some unused variables.
/external/e2fsprogs/util/subst.c
7822c1d410a1c6e98f8367de7593ca6e52df1f37 19-Dec-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c:
subst.c (get_subst_symbol): Add [0-9] to the list of valid characters
for a substitution symbol.
/external/e2fsprogs/util/subst.c
e7549ca6280abe5ab5c1934ecfd7d132c7abeb59 01-Aug-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c, subst.conf.in:
* subst.c: Add the ability to substitute apparent shell/make variables
such as ${prefix}, since this is needed to make the shell scripts work
correctly.
subst.conf.in: Add ${prefix} to the list of substitutions which subst
should make.
/external/e2fsprogs/util/subst.c
45d2161466e32b3e67115951ab1eb7eef25c218a 19-Jan-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, subst.c:
subst.c: Rename "new" to "new_f" to avoid C++ reserved word clash.
subst.c: Explicitly cast all assignments from void * to be compatible
with C++.
/external/e2fsprogs/util/subst.c
44339bdff87584b72a2ade7d3a1426e3335f2167 15-Oct-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Use new substitution technology which doesn't depend on shell scripts.
(Faster, and better for MS-DOS port!)
/external/e2fsprogs/util/subst.c