diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
commit | 7f6387b59ae1b5d642b0d05afbb14cab07061a9a (patch) | |
tree | d09f6f4674163b6a57d8805408877b05294f6931 /ext/session | |
parent | 3f72c77ce47ee0906905b83161d9c1d24e425d89 (diff) | |
download | php-git-7f6387b59ae1b5d642b0d05afbb14cab07061a9a.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/config.m4 | 2 | ||||
-rw-r--r-- | ext/session/mod_files.bat | 2 | ||||
-rw-r--r-- | ext/session/mod_files.c | 2 | ||||
-rw-r--r-- | ext/session/package.xml | 4 | ||||
-rw-r--r-- | ext/session/tests/save_handler.inc | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/ext/session/config.m4 b/ext/session/config.m4 index 949306c026..63a2a6e5ac 100644 --- a/ext/session/config.m4 +++ b/ext/session/config.m4 @@ -27,7 +27,7 @@ if test "$PHP_MM" != "no"; then if test -z "$MM_DIR" ; then AC_MSG_ERROR(cannot find mm library) fi - + PHP_ADD_LIBRARY_WITH_PATH(mm, $MM_DIR/$PHP_LIBDIR, SESSION_SHARED_LIBADD) PHP_ADD_INCLUDE($MM_DIR/include) PHP_INSTALL_HEADERS([ext/session/mod_mm.h]) diff --git a/ext/session/mod_files.bat b/ext/session/mod_files.bat index b6a8babae8..83f85eb66b 100644 --- a/ext/session/mod_files.bat +++ b/ext/session/mod_files.bat @@ -8,7 +8,7 @@ IF _%1_==_AUTO_ ( IF _%2_==__ ( ECHO Usage %0 ^<basedir^> ^<depth^> ^[^hash_bits^] ECHO. - ECHO Where ^<basedir^> is the session directory + ECHO Where ^<basedir^> is the session directory ECHO ^<depth^> is the number of levels defined in session.save_path ECHO ^[hash_bits^] is the number of bits defined in session.hash_bits_per_character EXIT /B 1 diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index d8da991c6d..b313d8bb65 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -29,7 +29,7 @@ * PS_READ_FUNC() - Read data from storage. * PS_GC_FUNC() - Perform GC. Called by probability * (session.gc_probability/session.gc_divisor). - * PS_WRITE_FUNC() or PS_UPDATE_TIMESTAMP() + * PS_WRITE_FUNC() or PS_UPDATE_TIMESTAMP() * - Write session data or update session data timestamp. * It depends on session data change. * PS_CLOSE_FUNC() - Clean up module data created by PS_OPEN_FUNC(). diff --git a/ext/session/package.xml b/ext/session/package.xml index 03fcbf66da..bfca714e1a 100644 --- a/ext/session/package.xml +++ b/ext/session/package.xml @@ -18,8 +18,8 @@ </maintainer> </maintainers> <description> -Session support in PHP consists of a way to preserve certain data -across subsequent accesses. This enables you to build more customized +Session support in PHP consists of a way to preserve certain data +across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site. </description> <license>PHP</license> diff --git a/ext/session/tests/save_handler.inc b/ext/session/tests/save_handler.inc index 231109c13c..ba0489222d 100644 --- a/ext/session/tests/save_handler.inc +++ b/ext/session/tests/save_handler.inc @@ -51,7 +51,7 @@ function gc($maxlifetime) { $directory = opendir($session_save_path."/"); $length = strlen(SESSION_FILE_PREFIX); while (($file = readdir($directory)) !== FALSE) { - $qualified = ($session_save_path."/".$file); + $qualified = ($session_save_path."/".$file); if (is_file($qualified) === TRUE) { if (substr($file, 0, $length) === SESSION_FILE_PREFIX && (filemtime($qualified) + $maxlifetime <= time() )) { unlink($qualified); |