Commit Graph

6 Commits

Author SHA1 Message Date
Peter Kokot
1c850bfcca Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:55:24 +02:00
Kalle Sommer Nielsen
be8d3a6ebe Check if configure script was copied, and output an error if it wasn't 2009-01-02 12:16:42 +00:00
Kalle Sommer Nielsen
0383c01867 Redirect the "1 file(s) copied" message to nul 2009-01-02 05:50:51 +00:00
Pierre Joye
b2677b4838 - buildconf accepts arguments (pecl dir for ex.)
- copy configure.bat
2008-12-08 22:41:54 +00:00
Johannes Schlüter
046b1769c1 - pass parameters to buildconf.bat over to buildconf.js (#43281)
[DOC] install.windows.building.php currently reads like "e.g. cscript /nologo
  win32/build/buildconf.js --add-modules-dir=../php-gtk2 [...]"  that
  might be changed to "buildconf.bat --add-modules-dir=../php-gtk2 [...]"
2007-11-14 01:42:01 +00:00
Wez Furlong
05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00