Commit Graph

14 Commits

Author SHA1 Message Date
Dmitry Stogov
f1b306fe11 Switch to use ZTS cache 2019-03-12 14:15:47 +03:00
Peter Kokot
1ad08256f3 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:56:38 +02:00
Peter Kokot
409b5133cc Change some permissions from 755 to 644
This patch syncs file permissions accross the PHP source code files
since these don't need to be executable.
2018-08-28 23:26:49 +02:00
Peter Kokot
8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Anatol Belski
e0809fe62d remove checks for eol dependencies
yet one leftower, only FreeTDS is usable at the moment
2017-07-10 15:00:16 +02:00
Kalle Sommer Nielsen
137171e74b Fix --with-pdo-mssql build and add some warnings if header/libs are not found 2009-05-19 10:22:10 +00:00
Edin Kadribasic
78c2c50c86 MFB: Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:48:57 +00:00
Wez Furlong
7215b2b8fb use a number here, fixes PECL #3493 2005-02-16 18:09:26 +00:00
Wez Furlong
4dc3b75569 possible fix for snaps box 2005-02-13 01:32:27 +00:00
Wez Furlong
08fa032b80 fix backslash 2005-01-21 00:04:50 +00:00
Wez Furlong
e21e1c65e3 Juggle/enhance mssql library detection 2005-01-20 05:09:06 +00:00
Wez Furlong
9fe37737f9 generate dblib and mssql variants in the same build 2005-01-20 03:29:53 +00:00
Frank M. Kromann
25917d5885 Make this compile with the generic ntwdblib from Microsoft 2005-01-18 07:17:01 +00:00
Wez Furlong
ca98805935 Add a PDO driver for Sybase style DB-lib (including MS SQL).
Only the basics are here right now.
2005-01-17 01:15:14 +00:00