]> granicus.if.org Git - php/commitdiff
Trailing whitespaces on win32
authorGabriel Caruso <carusogabriel34@gmail.com>
Thu, 4 Jan 2018 04:41:26 +0000 (02:41 -0200)
committerGabriel Caruso <carusogabriel34@gmail.com>
Thu, 4 Jan 2018 04:41:26 +0000 (02:41 -0200)
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
win32/codepage.h
win32/getrusage.h
win32/ioutil.h
win32/time.h

index 9cfe3cd80b5df26a3ad80ac611d32d0c2ffee311..cf3d72e39bc4613364bbf5a7cc9c27dd7a500c60 100644 (file)
@@ -84,8 +84,8 @@ __forceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t
 
        if (php_win32_cp_use_unicode()) {
                /* First try the pure ascii conversion. This is the fastest way to do the
-                       thing. Only applicable if the source string is UTF-8 in general. 
-                       While it could possibly be ok with European encodings, usage with 
+                       thing. Only applicable if the source string is UTF-8 in general.
+                       While it could possibly be ok with European encodings, usage with
                        Asian encodings can cause unintended side effects. Lookup the term
                        "mojibake" if need more. */
                ret = php_win32_cp_conv_ascii_to_w(in, in_len, out_len);
@@ -97,7 +97,7 @@ __forceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t
                        /* Still need this fallback with regard to possible broken data
                                in the existing scripts. Broken data might be hardcoded in
                                the user scripts, as UTF-8 settings was de facto ignored in
-                               older PHP versions. The fallback can be removed later for 
+                               older PHP versions. The fallback can be removed later for
                                the sake of purity, keep now for BC reasons. */
                        if (!ret) {
                                const struct php_win32_cp *acp = php_win32_cp_get_by_id(GetACP());
index dd4b50cf39c2d4faa32f3a91bb3cca432be8899a..0bed8ba6f6eef596b9860fba47808b2e08aac4c9 100644 (file)
@@ -21,8 +21,8 @@
 
 /*
  * Note
- * 
- * RUSAGE_CHILDREN is not implemented, and the RUSAGE_THREAD will 
+ *
+ * RUSAGE_CHILDREN is not implemented, and the RUSAGE_THREAD will
  * therefore instead be used instead to emulate the behavior.
  */
 
index 60336dc35f3a9646f22fac1ebe5e7bccb5b62c37..41773b306ec3b8fa8cede449a975fe56e9fb81a2 100644 (file)
@@ -38,7 +38,7 @@
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
- */ 
+ */
 
 #ifndef PHP_WIN32_IOUTIL_H
 #define PHP_WIN32_IOUTIL_H
@@ -166,7 +166,7 @@ typedef enum {
 
 PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
 #ifdef PHP_EXPORTS
-/* This symbols are needed only for the DllMain, but should not be exported 
+/* This symbols are needed only for the DllMain, but should not be exported
        or be available when used with PHP binaries. */
 BOOL php_win32_ioutil_init(void);
 #endif
@@ -177,7 +177,7 @@ __forceinline static wchar_t *php_win32_ioutil_conv_any_to_w(const char* in, siz
 {/*{{{*/
        wchar_t *mb, *ret;
        size_t mb_len;
-       
+
        mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len);
        if (!mb) {
                return NULL;
index 4fe00bc21e47137c35bc633fe7d37ba4530d4eec..07afae487abaed185b5242b2209b94978b683e51 100644 (file)
@@ -55,7 +55,7 @@ PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp );
 PHPAPI int usleep(unsigned int useconds);
 
 #ifdef PHP_EXPORTS
-/* This symbols are needed only for the DllMain, but should not be exported 
+/* This symbols are needed only for the DllMain, but should not be exported
        or be available when used with PHP binaries. */
 void php_win32_init_gettimeofday(void);
 #endif