summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorPeter Eisentraut2013-05-31 01:05:07 +0000
committerPeter Eisentraut2013-05-31 01:05:07 +0000
commit8b5a3998a104ef5918b50e207be0aa86e085d49d (patch)
treeccdab0f574946f918f40cdf5681782f647e2e3f4 /src/tools
parentd7eb6f46de900f6664918cda3b5e6f922a0a2356 (diff)
Remove whitespace from end of lines
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc/Mkvcbuild.pm4
-rw-r--r--src/tools/pgindent/perltidyrc14
-rwxr-xr-xsrc/tools/pgindent/pgindent2
-rw-r--r--src/tools/pgindent/pgindent.man8
4 files changed, 14 insertions, 14 deletions
diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm
index e1650a9812..7964c01886 100644
--- a/src/tools/msvc/Mkvcbuild.pm
+++ b/src/tools/msvc/Mkvcbuild.pm
@@ -523,8 +523,8 @@ sub mkvcbuild
my $mf = Project::read_file(
'src\backend\utils\mb\conversion_procs\\' . $sub . '\Makefile');
my $p = $solution->AddProject($sub, 'dll', 'conversion procs');
- $p->AddFile('src\backend\utils\mb\conversion_procs\\'
- . $sub . '\\'
+ $p->AddFile('src\backend\utils\mb\conversion_procs\\'
+ . $sub . '\\'
. $sub
. '.c');
if ($mf =~ m{^SRCS\s*\+=\s*(.*)$}m)
diff --git a/src/tools/pgindent/perltidyrc b/src/tools/pgindent/perltidyrc
index 60489febb5..e8ae7c5d8b 100644
--- a/src/tools/pgindent/perltidyrc
+++ b/src/tools/pgindent/perltidyrc
@@ -1,12 +1,12 @@
---add-whitespace
---backup-and-modify-in-place
+--add-whitespace
+--backup-and-modify-in-place
--delete-old-whitespace
---entab-leading-whitespace=4
---keep-old-blank-lines=2
+--entab-leading-whitespace=4
+--keep-old-blank-lines=2
--maximum-line-length=78
---nospace-for-semicolon
+--nospace-for-semicolon
--opening-brace-on-new-line
--output-line-ending=unix
---paren-tightness=2
---vertical-tightness=2
+--paren-tightness=2
+--vertical-tightness=2
--vertical-tightness-closing=2
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 584218f384..bc83c1a95c 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -310,7 +310,7 @@ sub post_indent
$source =~ s!
(\n$ident[^(\n]*)\n # e.g. static void
(
- $ident\(\n? # func_name(
+ $ident\(\n? # func_name(
(.*,([ \t]*$comment)?\n)* # args b4 final ln
.*\);([ \t]*$comment)?$ # final line
)
diff --git a/src/tools/pgindent/pgindent.man b/src/tools/pgindent/pgindent.man
index cff092ca7a..f3a68acc2a 100644
--- a/src/tools/pgindent/pgindent.man
+++ b/src/tools/pgindent/pgindent.man
@@ -6,9 +6,9 @@ or the environment.
In its simplest form, if all the required objects are installed, simply run
it without any parameters at the top of the source tree you want to process.
- pgindent
+ pgindent
-If you don't have all the requirements installed, pgindent will fetch and build
+If you don't have all the requirements installed, pgindent will fetch and build
them for you, if you're in a PostgreSQL source tree:
@@ -23,7 +23,7 @@ command line option --indent:
Similarly, the entab program can be specified using the PGENTAB environment
variable, or using the --entab command line option.
-pgindent also needs a file containing a list of typedefs. This can be
+pgindent also needs a file containing a list of typedefs. This can be
specified using the PGTYPEDEFS environment variable, or via the command line
--typedefs option. If neither is used, it will look for it within the
current source tree, or in /usr/local/etc/typedefs.list.
@@ -40,6 +40,6 @@ src/tools/pgindent/exclude_file_patterns.
Any non-option arguments are taken as the names of files to be indented. In this
case only these files will be changed, and nothing else will be touched. If the
first non-option argument is not a .c or .h file, it is treated as the name
-of a typedefs file for legacy reasons, but this use is deprecated - use the
+of a typedefs file for legacy reasons, but this use is deprecated - use the
--typedefs option instead.