Anatol Belski
b7e7a89541
several fixes -
...
- param parsing Z_PARAM_STR vs Z_PARAM_STRING
- some functions for new params
- etc
2014-08-16 12:55:13 +02:00
Anatol Belski
cb25136f4e
fix macros in the 5 basic extensions
2014-08-16 11:37:14 +02:00
Dmitry Stogov
27f38798a1
Fast parameter parsing API
...
This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
2014-07-11 16:32:20 +04:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Dmitry Stogov
40e053e7f3
Use better data structures (incomplete)
2014-02-13 17:54:23 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Andrey Hristov
92d27ccb05
Constify streams API and a few other calls down the rabbit hole.
...
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Rasmus Lerdorf
8da61c62d9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix grammo
2012-05-13 11:48:25 -07:00
Rasmus Lerdorf
cd16174f14
Fix grammo
2012-05-13 11:45:41 -07:00
Anatoliy Belsky
10d5f2301a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
2012-05-10 15:36:47 +02:00
Anatoliy Belsky
f7d8b274c7
Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
...
What happens here is trivial long overflow. Despite the bug attracted
attention on windows, the same story is on linux. Just wait for a big
anough bucket->key . The linux test had %i to check the key value
which should be %d all the way.
2012-05-10 15:27:44 +02:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Stanislav Malyshev
d7ba64b4cd
unused variables
2011-09-06 05:31:08 +00:00
Stanislav Malyshev
7f56f7eb69
allow user streams to override ch* on windows too
2011-09-06 05:28:25 +00:00
Felipe Pena
32b5f8a1a3
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
565d4bc695
- Fixed ZTS build and removed unused vars
2011-05-25 22:23:48 +00:00
Stanislav Malyshev
5c9080d3a6
implement streams metadata API per RFC
2011-05-25 21:03:55 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
ce96fd6b07
- fix #39863 , do not accept paths with NULL in them. See http://news.php.net/php.internals/50191 , trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus
2010-11-18 15:22:22 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Stanislav Malyshev
a9044795da
ouch, that ZTS
2009-12-08 01:57:16 +00:00
Stanislav Malyshev
90df6f2ca2
add "no params" check
2009-12-08 01:44:15 +00:00
Stanislav Malyshev
7beb1af8de
add realpath cache inspect functions
2009-12-08 01:35:08 +00:00
Guenter Knauf
824692fab8
removed now obsolete NetWare hack since I fixed this
...
with Novell some longer time ago in their SDK header.
2009-11-03 21:21:34 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Arnaud Le Blanc
d69dfa4b9f
MFH: initialize optional vars
2008-10-21 22:08:38 +00:00
Arnaud Le Blanc
c93fbf629b
MFH:
...
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Jani Taskinen
e42bc45c21
MFH: fix crash bug in chown when 2nd parameter != string or int
2007-11-21 11:30:29 +00:00
Dmitry Stogov
117a6d77e1
Fixed crash (Serg)
2007-11-16 14:24:08 +00:00
Jani Taskinen
74d1a45590
MFH: sync
2007-11-05 17:30:07 +00:00
Jani Taskinen
f552f91618
MFH: - Fixed bug #43137 (rmdir() and rename() do not clear statcache)
2007-10-31 13:22:45 +00:00
Antony Dovgal
074b4e51f0
MFH: check the return value of getgroups() for -1 (coverity issue #390 )
2007-09-21 14:05:18 +00:00
Ilia Alshanetsky
5cdae5bdbb
Fixed bug #42072 (No warning message for clearstatcache() with arguments).
2007-07-23 23:03:09 +00:00
Antony Dovgal
d428314e2d
MFB: clean & refactored disk_*() funcs implementation
...
Ilia, feel free to make these functions public, though I don't see why would want to do that
2007-04-06 22:10:56 +00:00
Antony Dovgal
e07b611b10
fix folding
2007-02-26 14:11:34 +00:00
Dmitry Stogov
933c26de41
Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
...
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Ilia Alshanetsky
2ae036f038
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
...
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:46:11 +00:00
Sara Golemon
5e74c607a2
MFH
2007-01-11 02:33:07 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
0236a7eaf4
Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
...
setting).
2006-12-09 16:01:29 +00:00
Ilia Alshanetsky
466d9ba00a
Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
...
not thread safe).
2006-11-29 23:34:49 +00:00
Dmitry Stogov
82f89748a4
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:54:52 +00:00
Ilia Alshanetsky
1b2cc459c6
Fixed bug #37987 (invalid return of file_exists() in safe mode).
2006-07-02 13:51:40 +00:00