Bug#561691: Please declare struct sockaddr and sockaddr_storage as may_alias
> There is no risk of breakage in optimised code with -O2 or more. For my education -- could you please explain why? (No need to quote the C99 standard, just give me the intuition.) Juliusz -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r4037 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32 Date: 2009-12-26 23:48:15 + (Sat, 26 Dec 2009) New Revision: 4037 Added: glibc-package/trunk/debian/patches/any/cvs-malloc_info-output.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * Add debian/patches/any/cvs-malloc_info-output.diff from upstream to fix malloc_info() output. Closes: #562678. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-12-25 19:54:44 UTC (rev 4036) +++ glibc-package/trunk/debian/changelog2009-12-26 23:48:15 UTC (rev 4037) @@ -16,6 +16,8 @@ debian/any/cvs-nis-not-configured.diff. * Add debian/patches/any/local-ntp-update.diff to partially update the NTP API, backported from upstream. Closes: #559482. + * Add debian/patches/any/cvs-malloc_info-output.diff from upstream to fix +malloc_info() output. Closes: #562678. [ Samuel Thibault ] * testsuite-checking/expected-results-i486-linux-gnu-libc: Add hurd-i386 @@ -29,7 +31,7 @@ [ Petr Salinger] * kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd). - -- Aurelien Jarno Fri, 25 Dec 2009 14:58:49 +0100 + -- Aurelien Jarno Sun, 27 Dec 2009 00:47:25 +0100 eglibc (2.10.2-2) unstable; urgency=low Added: glibc-package/trunk/debian/patches/any/cvs-malloc_info-output.diff === --- glibc-package/trunk/debian/patches/any/cvs-malloc_info-output.diff (rev 0) +++ glibc-package/trunk/debian/patches/any/cvs-malloc_info-output.diff 2009-12-26 23:48:15 UTC (rev 4037) @@ -0,0 +1,19 @@ +2009-10-29 Ulrich Drepper + + [BZ #10553] + * malloc/malloc.c (malloc_info): Fix typos in format strings. + Patch by John Sullivan . + +--- a/malloc/malloc.c b/malloc/malloc.c +@@ -6474,8 +6474,8 @@ malloc_info (int options, FILE *fp) + fprintf (fp, + "\n" + "\n" +- "\n" +- "\n" ++ "\n" ++ "\n" + "\n" + "\n" + "\n", Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2009-12-25 19:54:44 UTC (rev 4036) +++ glibc-package/trunk/debian/patches/series 2009-12-26 23:48:15 UTC (rev 4037) @@ -219,3 +219,4 @@ any/submitted-getaddrinfo-nodata.diff any/submitted-gethostbyname3.diff any/local-ntp-update.diff +any/cvs-malloc_info-output.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Processed: tagging 562678
Processing commands for cont...@bugs.debian.org: > # Automatically generated email from bts, devscripts version 2.10.35lenny7 > tags 562678 + pending Bug #562678 [libc6] libc6: malloc_info() missing quotes in output Added tag(s) pending. > End of message, stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#562678: libc6: malloc_info() missing quotes in output
Package: libc6 Version: 2.10.1-3 Severity: normal The program mallocinfoquotes.c prints #include #include #include int main (void) { malloc (1); malloc_info(0,stdout); return 0; } -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i586) Kernel: Linux 2.6.30-1-486 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages libc6 depends on: ii libc-bin 2.10.1-3 GNU C Library: Binaries ii libgcc1 1:4.4.2-4 GCC support library Versions of packages libc6 recommends: pn libc6-i686 (no description available) Versions of packages libc6 suggests: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii glibc-doc 2.10.1-5 GNU C Library: Documentation ii locales 2.10.1-5 GNU C Library: National Language ( -- debconf information: * glibc/upgrade: true glibc/disable-screensaver: glibc/restart-failed: * glibc/restart-services: rsync openbsd-inetd exim4 cron atd
Bug#562679: libc6: malloc_info() segv when no mallocs yet
Package: libc6 Version: 2.10.1-3 Severity: normal The program nomallocinfo.c below prints a bit then gets a segfault. malloc_info() won't have much to say when there's been no mallocs yet, but I think it shouldn't segfault in that case. #include #include #include int main (void) { malloc_info(0,stdout); return 0; } -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i586) Kernel: Linux 2.6.30-1-486 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages libc6 depends on: ii libc-bin 2.10.1-3 GNU C Library: Binaries ii libgcc1 1:4.4.2-4 GCC support library Versions of packages libc6 recommends: pn libc6-i686 (no description available) Versions of packages libc6 suggests: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii glibc-doc 2.10.1-5 GNU C Library: Documentation ii locales 2.10.1-5 GNU C Library: National Language ( -- debconf information: * glibc/upgrade: true glibc/disable-screensaver: glibc/restart-failed: * glibc/restart-services: rsync openbsd-inetd exim4 cron atd