summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
commit902d39a3a79c6efe93c8879575fdd5a759cf03de (patch)
treee6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /build
parent581f0141b6dd8d20e71612f90b01507ed0783db8 (diff)
downloadphp-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to 'build')
-rw-r--r--build/build2.mk4
-rwxr-xr-xbuild/buildcheck.sh2
-rw-r--r--build/mkdep.awk14
-rw-r--r--build/order_by_dep.awk2
-rw-r--r--build/scan_makefile_in.awk2
5 files changed, 12 insertions, 12 deletions
diff --git a/build/build2.mk b/build/build2.mk
index ce61553fb8..8396d73e8c 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 70515b75b5..54881459a1 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)