Version: 2.3.6.ds1-10
This is fixed (long time ago) now, as it now crashes.
--
·O· Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org
pgpORAlLpZpnB.pgp
Description: PGP signature
With libc6 2.3.5-6 on i386, this program:
#include stdio.h
#include time.h
main() { printf(%d\n,(int)time((time_t *)123)); }
prints -14. The time(2) manpage says it would return -1. I don't
know if this is a documentation error or a glibc bug, but the man page
appears old so I
Jim,
I have logged a bug report with glibc folk.
http://sourceware.org/bugzilla/show_bug.cgi?id=1952
Cheers,
Michael
--
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7
Want to help with man page maintenance? Grab the latest
tarball at
Package: manpages-dev
Version: 2.02-2
Severity: minor
With libc6 2.3.5-6 on i386, this program:
#include stdio.h
#include time.h
main() { printf(%d\n,(int)time((time_t *)123)); }
prints -14. The time(2) manpage says it would return -1. I don't
know if this is a documentation error or a
4 matches
Mail list logo