View | Details | Raw Unified | Return to bug 173421
Collapse All | Expand All

(-)b/lib/libc/stdtime/strptime.c (-7 lines)
Lines 285-295 label: Link Here
285
285
286
			tm->tm_hour = i;
286
			tm->tm_hour = i;
287
287
288
			if (*buf != 0 &&
289
			    isspace_l((unsigned char)*buf, locale))
290
				while (*ptr != 0 &&
291
				       !isspace_l((unsigned char)*ptr, locale))
292
					ptr++;
293
			break;
288
			break;
294
289
295
		case 'p':
290
		case 'p':
296
- 
297
format specifiers
291
format specifiers
298
--
299
lib/libc/stdtime/strptime.c | 30 ------------------------------
292
lib/libc/stdtime/strptime.c | 30 ------------------------------
300
1 file changed, 30 deletions(-)
293
1 file changed, 30 deletions(-)
(-)b/lib/libc/stdtime/strptime.c (-31 lines)
Lines 248-258 label: Link Here
248
				tm->tm_sec = i;
248
				tm->tm_sec = i;
249
			}
249
			}
250
250
251
			if (*buf != 0 &&
252
				isspace_l((unsigned char)*buf, locale))
253
				while (*ptr != 0 &&
254
				       !isspace_l((unsigned char)*ptr, locale))
255
					ptr++;
256
			break;
251
			break;
257
252
258
		case 'H':
253
		case 'H':
Lines 354-364 label: Link Here
354
			if (i > 53)
349
			if (i > 53)
355
				return 0;
350
				return 0;
356
351
357
			if (*buf != 0 &&
358
			    isspace_l((unsigned char)*buf, locale))
359
				while (*ptr != 0 &&
360
				       !isspace_l((unsigned char)*ptr, locale))
361
					ptr++;
362
			break;
352
			break;
363
353
364
		case 'w':
354
		case 'w':
Lines 371-381 label: Link Here
371
361
372
			tm->tm_wday = i;
362
			tm->tm_wday = i;
373
363
374
			if (*buf != 0 &&
375
			    isspace_l((unsigned char)*buf, locale))
376
				while (*ptr != 0 &&
377
				       !isspace_l((unsigned char)*ptr, locale))
378
					ptr++;
379
			break;
364
			break;
380
365
381
		case 'd':
366
		case 'd':
Lines 403-413 label: Link Here
403
388
404
			tm->tm_mday = i;
389
			tm->tm_mday = i;
405
390
406
			if (*buf != 0 &&
407
			    isspace_l((unsigned char)*buf, locale))
408
				while (*ptr != 0 &&
409
				       !isspace_l((unsigned char)*ptr, locale))
410
					ptr++;
411
			break;
391
			break;
412
392
413
		case 'B':
393
		case 'B':
Lines 464-474 label: Link Here
464
444
465
			tm->tm_mon = i - 1;
445
			tm->tm_mon = i - 1;
466
446
467
			if (*buf != 0 &&
468
			    isspace_l((unsigned char)*buf, locale))
469
				while (*ptr != 0 &&
470
				       !isspace_l((unsigned char)*ptr, locale))
471
					ptr++;
472
			break;
447
			break;
473
448
474
		case 's':
449
		case 's':
Lines 517-527 label: Link Here
517
492
518
			tm->tm_year = i;
493
			tm->tm_year = i;
519
494
520
			if (*buf != 0 &&
521
			    isspace_l((unsigned char)*buf, locale))
522
				while (*ptr != 0 &&
523
				       !isspace_l((unsigned char)*ptr, locale))
524
					ptr++;
525
			break;
495
			break;
526
496
527
		case 'Z':
497
		case 'Z':
528
- 

Return to bug 173421