[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340898: marked as done (time(2) has wrong return value)



Your message dated Sun, 18 Feb 2007 20:31:44 +0100
with message-id <20070218193142.GA6062@amd64.aurel32.net>
and subject line Bug#340898: time(2) has wrong return value
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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 glibc bug, but the man page
appears old so I figured I'd start here.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages manpages-dev depends on:
ii  manpages                      2.02-2     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.3.6.ds1-10

On Wed, Feb 07, 2007 at 12:54:23AM +0100, Pierre HABOUZIT wrote:
> Version: 2.3.6.ds1-10
> 
>   This is fixed (long time ago) now, as it now crashes.
> 

Closing it then :)


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: