mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Revised scripts/dfn.awk to work with the buggy MSYS awk that has
trouble with CRLF line endings.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
2621be1bdb
commit
ccec786ca7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user