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

(-)lib/libc/stdtime/strptime.c (+10 lines)
Lines 513-518 Link Here
513
			}
513
			}
514
			}
514
			}
515
			break;
515
			break;
516
		case 's':
517
			{
518
			time_t t;
519
			const char *cp;
520
			t = strtol(buf, &cp, 10);
521
			buf = cp;
522
			memcpy(tm, gmtime(&t), sizeof(struct tm));
523
			got_GMT = 1;
524
			}
525
			break;
516
		}
526
		}
517
	}
527
	}
518
	return (char *)buf;
528
	return (char *)buf;

Return to bug 27029