Skip to content

Commit c215b8d

Browse files
committed
Trailing whitespaces on win32
Signed-off-by: Gabriel Caruso <[email protected]>
1 parent 471da3e commit c215b8d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

win32/codepage.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ __forceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t
8484

8585
if (php_win32_cp_use_unicode()) {
8686
/* First try the pure ascii conversion. This is the fastest way to do the
87-
thing. Only applicable if the source string is UTF-8 in general.
88-
While it could possibly be ok with European encodings, usage with
87+
thing. Only applicable if the source string is UTF-8 in general.
88+
While it could possibly be ok with European encodings, usage with
8989
Asian encodings can cause unintended side effects. Lookup the term
9090
"mojibake" if need more. */
9191
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
9797
/* Still need this fallback with regard to possible broken data
9898
in the existing scripts. Broken data might be hardcoded in
9999
the user scripts, as UTF-8 settings was de facto ignored in
100-
older PHP versions. The fallback can be removed later for
100+
older PHP versions. The fallback can be removed later for
101101
the sake of purity, keep now for BC reasons. */
102102
if (!ret) {
103103
const struct php_win32_cp *acp = php_win32_cp_get_by_id(GetACP());

win32/getrusage.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/*
2323
* Note
24-
*
25-
* RUSAGE_CHILDREN is not implemented, and the RUSAGE_THREAD will
24+
*
25+
* RUSAGE_CHILDREN is not implemented, and the RUSAGE_THREAD will
2626
* therefore instead be used instead to emulate the behavior.
2727
*/
2828

win32/ioutil.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3939
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
4040
* IN THE SOFTWARE.
41-
*/
41+
*/
4242

4343
#ifndef PHP_WIN32_IOUTIL_H
4444
#define PHP_WIN32_IOUTIL_H
@@ -166,7 +166,7 @@ typedef enum {
166166

167167
PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
168168
#ifdef PHP_EXPORTS
169-
/* This symbols are needed only for the DllMain, but should not be exported
169+
/* This symbols are needed only for the DllMain, but should not be exported
170170
or be available when used with PHP binaries. */
171171
BOOL php_win32_ioutil_init(void);
172172
#endif
@@ -177,7 +177,7 @@ __forceinline static wchar_t *php_win32_ioutil_conv_any_to_w(const char* in, siz
177177
{/*{{{*/
178178
wchar_t *mb, *ret;
179179
size_t mb_len;
180-
180+
181181
mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len);
182182
if (!mb) {
183183
return NULL;

win32/time.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp );
5555
PHPAPI int usleep(unsigned int useconds);
5656

5757
#ifdef PHP_EXPORTS
58-
/* This symbols are needed only for the DllMain, but should not be exported
58+
/* This symbols are needed only for the DllMain, but should not be exported
5959
or be available when used with PHP binaries. */
6060
void php_win32_init_gettimeofday(void);
6161
#endif

0 commit comments

Comments
 (0)