lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 07 Mar 2009 14:59:53 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	jengelh@...ozas.de
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Change %Z to %z in printf

From: Jan Engelhardt <jengelh@...ozas.de>
Date: Sat, 7 Mar 2009 19:54:45 +0100 (CET)

> I found out that %Z is actually a deprecated libc5-ism as printf(3) of 
> man-pages 3.17 dated 2008-12-19 tells me.
> 
> In ${kernel}/lib/vsprintf.c, I find the following note and wondered
> if there might be any objections to going back to 'z'.

GCC's printf formatting checks only started recognizing %z a few
releases ago.  We kept the %Z in there so that with all gcc versions
we won't get warnings.

We've recently increased the minimal GCC version, so going to %z might
be OK now.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ