1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 12:13:02 +02:00
Commit Graph

32 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
Xinchen Hui
518a9f8bfd Fixed build extension by phpize 2018-01-17 15:09:04 +08:00
Joe Watkins
8e447eafd9 fix broken build scripts #2124 2017-01-06 16:04:52 +00:00
Christopher Jones
6af7526c77 Remove tabs on blanklines in Makefile sources. This prevents a
'suspicious line' warning when editing & saving Makefile using Emacs.
2013-07-30 13:36:10 -07:00
Kalle Sommer Nielsen
fcb0984991 Fixed bug #52037 (Concurrent builds fail in install-programs) -- Patch by Seanius at debian dot org 2010-07-13 17:21:00 +00:00
foobar
bcade7ced4 - Fixed header installing under phpize builds 2005-11-21 23:07:36 +00:00
foobar
27d2fe07ff MF51:- Fixed bug #34850 (--program-suffix and --program-prefix not included in man page names) 2005-10-13 10:04:17 +00:00
Marcus Boerger
8a3ea48eef - run-tests-config.php was never used and now renamed 2005-08-31 06:58:25 +00:00
foobar
ee5fd96e37 - Made it possible to do "make test" for phpized extensions 2005-08-08 16:06:49 +00:00
foobar
d3f1bf4c35 - Fix paths when using --libdir and --includedir configure options 2005-06-07 21:56:09 +00:00
foobar
4094bf77c5 Removed the empty $bin_src_SCRIPTS (no longer needed), bug #33166 2005-05-30 06:33:45 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
e49cebe157 - acconfig.h should not be installed. (it is only a template file..) 2005-05-03 11:34:32 +00:00
foobar
40b6c60d9d - Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana) 2005-04-30 04:27:23 +00:00
foobar
2c9bf19823 Moved phpextdist to dev/ 2005-04-30 02:40:19 +00:00
foobar
f370582500 Remove: Has not existed for ages.. 2005-03-24 17:16:34 +00:00
foobar
0b7435f590 ws 2005-03-01 09:25:36 +00:00
Wez Furlong
401f813383 Let's install the mbstring headers.
Fixes PECL #3516
2005-02-28 05:21:35 +00:00
foobar
480a3b08d5 - Changed phpize not to require automake and libtool.
- Fixed build system to always use bundled libtool files.
2005-01-20 01:41:20 +00:00
Derick Rethans
7f12445175 - MFB: Add dom/xml_common.h header as installed header in order to be able to build pecl/xml_reader 2004-12-28 15:20:42 +00:00
foobar
c9f552923a - Fixed bug #28385 (files in $(prefix)/lib/php/build/* installed with wrong
permissions). (Jani, ramsy at ramix dot jp)
2004-12-21 04:58:50 +00:00
Derick Rethans
9b9ae8ee70 - We need to install the headers too. 2004-11-23 13:05:24 +00:00
Rob Richards
f726dc7af1 add ext/libxml/ to the headers path 2004-04-19 19:46:00 +00:00
foobar
e01ab8c9cf - Made --program-prefix and --program-suffix work. (See bug #23030) 2003-12-01 15:17:13 +00:00
foobar
55dfa3722d MFB 2003-09-19 05:35:50 +00:00
foobar
9a47ae68ef - Single header files installation. 2003-08-31 10:54:16 +00:00
Wez Furlong
b0d74a9485 install sqlite headers with the rest of php.
We only really need sqlite.h, but our build system doesn't provide for
installation of a single header file
(at least not that I can see)
2003-08-31 01:44:45 +00:00
Sascha Schumann
d1d823b0a3 Use INSTALL to install build files 2003-08-27 13:58:44 +00:00
Sascha Schumann
0ad5fa63c9 Use $(INSTALL_DATA) instead of cp 2003-08-26 00:04:25 +00:00
foobar
755eccf82a - Moved scan_makefile_in.awk to better suitable place for it.
(other build related scripts are under build/ too..)
2003-06-09 00:17:03 +00:00
Wez Furlong
57f114969a Add streams headers to those used for shared extensions. 2003-03-01 13:52:11 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00