Bug#614882: {get,set}timeofday declared with incorrect '__nonnull' attribute
Package: libc6-dev
Version: 2.11.2-11
Severity: normal
On Linux it is valid to call {get,set}timeofday() with a null timeval
pointer and non-null timezone pointer. This will get or set the
kernel's local time offset, which is used for converting timestamps on
brain-dead filesystems like VFAT. settimeofday(NULL, tz) is also used
to fix the system time during the boot process if the RTC is set to
local time for compatibility with a similarly brain-dead operating
system.
Ben.
-- System Information:
Debian Release: wheezy/sid
APT prefers oldstable-proposed-updates
APT policy: (500, 'oldstable-proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6-dev depends on:
ii libc-dev-bin 2.11.2-11 Embedded GNU C Library: Developmen
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii linux-libc-dev 2.6.37-1 Linux support headers for userspac
Versions of packages libc6-dev recommends:
ii gcc [c-compiler] 4:4.4.5-2 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-29 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.5-4 The GNU C compiler
ii gcc-4.4 [c-compiler] 4.4.5-12 The GNU C compiler
Versions of packages libc6-dev suggests:
ii glibc-doc 2.11.2-11 Embedded GNU C Library: Documentat
ii manpages-dev 3.27-1 Manual pages about using GNU/Linux
-- no debconf information
Reply to: