summaryrefslogtreecommitdiff
path: root/main/php_scandir.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Use readdir() instead of readdir_r()Nikita Popov2019-04-111-3/+2
| | | | | | readdir_r() is deprecated in modern glibc versions. readdir() is thread safe in practice, as long as there are no concurrent accesses on the *same* directory stream.
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove HAVE_STRING_HPeter Kokot2018-09-181-2/+0
| | | | | | | | | | | | | | | | | | | The C89 standard and later defines the `<string.h>` header as part of the standard headers [1] and on current systems it is always present. Code included also `<strings.h>` header as an alterinative in some files. This kind of check was relevant on some older systems where the `<strings.h>` file included definitions for the C89 compliant `<string.h>`. Today such alternative check is not required anymore. The `<strings.h>` file is part of the POSIX definition these days. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. This patch also cleans few unused `<strings.h>` inclusions in the libmbfl. [1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | 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.
* year++Xinchen Hui2018-01-021-1/+1
|
* Eliminate castAnatol Belski2017-11-221-2/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Remove Netware supportKalle Sommer Nielsen2016-11-121-2/+0
| | | | If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | fix incompatible pointer warningAnatol Belski2015-02-031-1/+1
| | | | | | | | php_alphasort() isn't directly compatible with qsort() cb def
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-4/+4
| |
* | fix datatype mismatchAnatol Belski2014-10-281-1/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - export php_scandir and php_alphasort correctly (used by APC for example)Pierre Joye2008-12-021-2/+2
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fixed php_readdir_r() usage in scandir emulationIlia Alshanetsky2006-12-031-3/+2
|
* MFHAntony Dovgal2006-12-031-0/+1
|
* Fix win32 buildFrank M. Kromann2006-12-011-0/+1
|
* Thread-safety issuesIlia Alshanetsky2006-11-301-1/+3
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* removing inclusion of platform specific config files as they are already ↵Anantha Kesari H Y2004-10-181-6/+0
| | | | included from php_scandir.h
* NetWare LibC don't have search.hAnantha Kesari H Y2004-09-291-0/+2
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* MFBfoobar2003-02-191-2/+2
|
* Fix the possible conflicts with other libs (like libc-client)foobar2003-02-191-4/+22
|
* Fixed build on Solaris (patch by Melvyn Sopacua).Ilia Alshanetsky2003-02-021-1/+2
|
* - Fix includesDerick Rethans2003-01-281-10/+10
|
* Fixed compiler warning.Ilia Alshanetsky2003-01-281-0/+2
|
* 2nd part of Sebastian's patch.Ilia Alshanetsky2003-01-281-0/+4
|
* Moved the scandir code into it's own files so that it can be used by otherIlia Alshanetsky2003-01-271-0/+112
OSes where libc does not have a native scandir() implementation.