@@ -156,7 +156,7 @@ PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, c
156
156
}
157
157
158
158
for (i = 0 ; i < ndigit && digits [i ] != '\0' ; i ++ );
159
-
159
+
160
160
if ((decpt >= 0 && decpt - i > 4 )
161
161
|| (decpt < 0 && decpt < -3 )) { /* use E-style */
162
162
/* exponential format (e.g. 1.2345e+13) */
@@ -241,7 +241,7 @@ PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, c
241
241
* are met:
242
242
*
243
243
* 1. Redistributions of source code must retain the above copyright
244
- * notice, this list of conditions and the following disclaimer.
244
+ * notice, this list of conditions and the following disclaimer.
245
245
*
246
246
* 2. Redistributions in binary form must reproduce the above copyright
247
247
* notice, this list of conditions and the following disclaimer in
@@ -327,7 +327,7 @@ char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned,
327
327
* is_negative = (num < 0 );
328
328
329
329
/*
330
- * On a 2's complement machine, negating the most negative integer
330
+ * On a 2's complement machine, negating the most negative integer
331
331
* results in a number that cannot be represented as a signed integer.
332
332
* Here is what we do to obtain the number's magnitude:
333
333
* a. add 1 to the number
@@ -344,7 +344,7 @@ char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned,
344
344
}
345
345
346
346
/*
347
- * We use a do-while loop so that we write at least 1 digit
347
+ * We use a do-while loop so that we write at least 1 digit
348
348
*/
349
349
do {
350
350
register u_wide_int new_magnitude = magnitude / 10 ;
@@ -763,7 +763,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
763
763
fmt ++ ;
764
764
}
765
765
/* these are promoted to int, so no break */
766
- default :
766
+ default :
767
767
modifier = LM_STD ;
768
768
break ;
769
769
}
@@ -961,7 +961,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
961
961
pad_char = ' ' ;
962
962
break ;
963
963
964
-
964
+
965
965
case 'f' :
966
966
case 'F' :
967
967
case 'e' :
@@ -1084,17 +1084,17 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
1084
1084
goto skip_output ;
1085
1085
1086
1086
/*
1087
- * Always extract the argument as a "char *" pointer. We
1088
- * should be using "void *" but there are still machines
1087
+ * Always extract the argument as a "char *" pointer. We
1088
+ * should be using "void *" but there are still machines
1089
1089
* that don't understand it.
1090
1090
* If the pointer size is equal to the size of an unsigned
1091
- * integer we convert the pointer to a hex number, otherwise
1091
+ * integer we convert the pointer to a hex number, otherwise
1092
1092
* we print "%p" to indicate that we don't handle "%p".
1093
1093
*/
1094
1094
case 'p' :
1095
1095
if (sizeof (char * ) <= sizeof (u_wide_int )) {
1096
1096
ui_num = (u_wide_int )((size_t ) va_arg (ap , char * ));
1097
- s = ap_php_conv_p2 (ui_num , 4 , 'x' ,
1097
+ s = ap_php_conv_p2 (ui_num , 4 , 'x' ,
1098
1098
& num_buf [NUM_BUF_SIZE ], & s_len );
1099
1099
if (ui_num != 0 ) {
1100
1100
* -- s = 'x' ;
@@ -1152,7 +1152,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
1152
1152
PAD (min_width , s_len , pad_char );
1153
1153
}
1154
1154
/*
1155
- * Print the string s.
1155
+ * Print the string s.
1156
1156
*/
1157
1157
for (i = s_len ; i != 0 ; i -- ) {
1158
1158
INS_CHAR (* s , sp , bep , cc );
0 commit comments