1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00
Commit Graph

74 Commits

Author SHA1 Message Date
Peter Kokot
03f3b8479b 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:51:01 +02:00
Xinchen Hui
ccd4716ec7 year++ 2018-01-02 12:53:31 +08:00
Sammy Kaye Powers
dac6c639bb Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
Lior Kaplan
ed35de784f Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
  Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
Xinchen Hui
fc33f52d8c bump year 2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d bump year 2015-01-15 23:26:37 +08:00
Johannes Schlüter
d0cb715373 s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
Xinchen Hui
c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Jefersson Nathan
ebef8c4176 Identation Fixed 2013-06-16 18:13:49 -07:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Xinchen Hui
d64d9e3351 year++ 2012-09-05 23:08:05 +08:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Anantha Kesari H Y
e78ea8251a Cleaned up the NetWare code.
--Kamesh
2005-07-28 09:40:50 +00:00
Anantha Kesari H Y
191c216bea NetWare can make use of the Autoconf based build system 2005-07-16 12:55:45 +00:00
Anantha Kesari H Y
c0365c3134 libpq-fs.h this file is of no use 2005-07-16 12:51:58 +00:00
Anantha Kesari H Y
8c77d2a6ca This file is not needed anymore 2005-06-29 13:11:08 +00:00
Anantha Kesari H Y
ce3b796f90 this file is not used at all so removing it. 2005-06-29 12:44:06 +00:00
Anantha Kesari H Y
c49718f601 Netware LibC has mktemp implementation 2005-06-29 12:16:25 +00:00
Anantha Kesari H Y
c8442648aa NetWare LibC has getpwnam, getlogin, getpwuid, getpid, this file is not needed anymore 2005-06-29 12:04:33 +00:00
Anantha Kesari H Y
58379a1d6c NetWare LibC has readlink implementation. This is not needed anymore. 2005-06-29 11:49:16 +00:00
Anantha Kesari H Y
c98c136297 This file does nothing so removing this file. 2005-06-29 11:22:09 +00:00
Anantha Kesari H Y
98af84b898 NetWare LibC has grp.h 2005-06-29 11:04:25 +00:00
Anantha Kesari H Y
e1f398a216 NetWare LibC has param.h 2005-06-29 10:53:48 +00:00
Anantha Kesari H Y
d6d7b57b9b NetWare LibC itself has popen/pclose functionality so removing this 2005-06-29 10:18:16 +00:00
Anantha Kesari H Y
f5aeda2971 NetWare LibC has pipe/popen support 2005-06-29 08:59:30 +00:00
Anantha Kesari H Y
f8438519e6 mktemp functionality is part of Regular LibC 2005-06-29 08:34:20 +00:00
Anantha Kesari H Y
3e489fe078 removing pwd.h as NetWare LibC itself supplies pwd.h 2005-06-29 07:02:58 +00:00
Derick Rethans
3cdc895213 - Added backward compability wrapper "php_parse_date()".
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
Anantha Kesari H Y
5ecdba358c changing the windows style path seperator in netinet\in.h to netinet/in.h 2005-02-25 06:31:06 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Anantha Kesari H Y
dc8b2e6ddd Header file for PostgreSQL. Moved from netware directory to netware/libpq directory. 2003-01-06 10:27:33 +00:00
Anantha Kesari H Y
4196f7d0c3 This file moved to netware/libpq directory. 2003-01-06 10:24:36 +00:00
Anantha Kesari H Y
159f0bcdd8 Added symbols to build PostgreSQL extension for NetWare. 2003-01-06 09:08:55 +00:00
Anantha Kesari H Y
e6003eba60 Modified for Netware. 2003-01-06 05:55:46 +00:00
Anantha Kesari H Y
2a8abc7de5 Some existing files modified and a couple of files removed for NetWare. 2003-01-03 15:21:33 +00:00
Anantha Kesari H Y
32ef849171 Modified for NetWare. 2003-01-03 14:31:31 +00:00
Edin Kadribasic
a1402eebf1 Checking in files for Ananth Kesari <hyanantha@novell.com> 2003-01-03 12:15:36 +00:00
Anantha Kesari H Y
ee5884ef39 File modified for NetWare. 2003-01-03 11:53:09 +00:00
Anantha Kesari H Y
ad7aa57e27 A few New files added and some old files modified for NetWare. 2003-01-03 11:46:20 +00:00
Anantha Kesari H Y
452389df71 New files added for NetWare. 2003-01-03 11:40:52 +00:00