diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
commit | 7f6387b59ae1b5d642b0d05afbb14cab07061a9a (patch) | |
tree | d09f6f4674163b6a57d8805408877b05294f6931 /build | |
parent | 3f72c77ce47ee0906905b83161d9c1d24e425d89 (diff) | |
download | php-git-7f6387b59ae1b5d642b0d05afbb14cab07061a9a.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'build')
-rw-r--r-- | build/build2.mk | 4 | ||||
-rwxr-xr-x | build/buildcheck.sh | 2 | ||||
-rw-r--r-- | build/mkdep.awk | 14 | ||||
-rw-r--r-- | build/order_by_dep.awk | 2 | ||||
-rw-r--r-- | build/scan_makefile_in.awk | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/build/build2.mk b/build/build2.mk index fc5534b2ea..630b15c148 100644 --- a/build/build2.mk +++ b/build/build2.mk @@ -14,7 +14,7 @@ # | Author: Sascha Schumann <sascha@schumann.cx> | # +----------------------------------------------------------------------+ # -# $Id$ +# $Id$ # include generated_lists @@ -35,7 +35,7 @@ SUPPRESS_WARNINGS ?= 2>&1 | (egrep -v '(AC_TRY_RUN called without default to all all: $(targets) $(config_h_in): configure -# explicitly remove target since autoheader does not seem to work +# explicitly remove target since autoheader does not seem to work # correctly otherwise (timestamps are not updated) @echo rebuilding $@ @rm -f $@ diff --git a/build/buildcheck.sh b/build/buildcheck.sh index 2accfd0af7..b210d5e871 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -16,7 +16,7 @@ # | Sascha Schumann <sascha@schumann.cx> | # +----------------------------------------------------------------------+ # -# $Id: buildcheck.sh,v 1.37.2.2.2.1 2007-01-01 19:32:10 iliaa Exp $ +# $Id: buildcheck.sh,v 1.37.2.2.2.1 2007-01-01 19:32:10 iliaa Exp $ # echo "buildconf: checking installation..." diff --git a/build/mkdep.awk b/build/mkdep.awk index c1adefe612..eae800c863 100644 --- a/build/mkdep.awk +++ b/build/mkdep.awk @@ -35,16 +35,16 @@ } dif=i-1 - + for (; i <= NF; i++) filenames[i-dif]=$i - + no_files=NF-dif - + for(i = 1; i <= no_files; i++) { if (system("test -r " filenames[i]) != 0) continue - + target=filenames[i] sub(srcdir "/", "", target) target2=target @@ -53,7 +53,7 @@ for (e in used) delete used[e] - + cmdx=cmd " " filenames[i] done=0 while ((cmdx | getline) > 0) { @@ -66,10 +66,10 @@ done=1 printf(" \\\n\t" substr($3,2,length($3)-2)) used[$3] = 1; - } + } } } if (done == 1) print "\n" } -} +} diff --git a/build/order_by_dep.awk b/build/order_by_dep.awk index 281898ecee..ad3781101b 100644 --- a/build/order_by_dep.awk +++ b/build/order_by_dep.awk @@ -77,7 +77,7 @@ function count(arr, n, i) END { # order it correctly out_count = 0; - + while (count(mods)) { for (i = 0; i <= mod_count - 1; i++) { if (i in mods) { diff --git a/build/scan_makefile_in.awk b/build/scan_makefile_in.awk index 0c6d20398f..c7ba9a8c52 100644 --- a/build/scan_makefile_in.awk +++ b/build/scan_makefile_in.awk @@ -2,7 +2,7 @@ BEGIN { mode=0 sources="" } - + mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ { if (match($0, "[^=]*$")) { sources=substr($0, RSTART, RLENGTH-1) |