1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.

* sysdeps/unix/sysv/ftime.S: New file.

	* locale/locfile-parse.c (categories_write): Cast "" to char *.

	* io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.

	* time/strftime.c: Use year modulo 100 for %y.

	* time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.

	* sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
 	of one, to work around bug in sunos4.1.2 sed.
This commit is contained in:
Roland McGrath
1995-07-25 18:36:31 +00:00
parent 874f1b9bd8
commit 4356cfd7ad
8 changed files with 55 additions and 16 deletions

View File

@ -278,7 +278,7 @@ DEFUN(strftime, (s, maxsize, format, tp),
break;
case 'y':
fmt(2, (p, "%.2d", tp->tm_year));
fmt(2, (p, "%.2d", tp->tm_year % 100));
break;
case 'Z':