diff options
author | John Bowler <jbowler@acm.org> | 2013-02-27 13:36:08 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2013-02-27 13:36:08 -0600 |
commit | ccec786ca73f38eaf99ff09b3990a1918530b956 (patch) | |
tree | 312c6678304b967c60b4cb7d345d41ae2ae87280 /scripts/dfn.awk | |
parent | 2621be1bdb8ba271af4914461778476df087fe0f (diff) | |
download | libpng-ccec786ca73f38eaf99ff09b3990a1918530b956.tar.gz |
[libpng16] Revised scripts/dfn.awk to work with the buggy MSYS awk that has
trouble with CRLF line endings.
Diffstat (limited to 'scripts/dfn.awk')
-rw-r--r-- | scripts/dfn.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dfn.awk b/scripts/dfn.awk index 8a5dab6f9..910704594 100644 --- a/scripts/dfn.awk +++ b/scripts/dfn.awk @@ -31,11 +31,11 @@ NR==1 && out == "/dev/null" { # Output can be sorted; two lines are recognized $1 == "PNG_DFN_START_SORT"{ - sort=$2 + sort=0+$2 next } -$1 == "PNG_DFN_END_SORT"{ +$1 ~ /^PNG_DFN_END_SORT/{ # Do a very simple, slow, sort; notice that blank lines won't be # output by this for (entry in array) { |