[PATCH] Fix getconf LFS_CFLAGS on 64bit arches
Andreas Jaeger
aj@suse.de
Mon Apr 30 01:33:00 GMT 2001
Jakub Jelinek <jakub@redhat.com> writes:
> Hi!
>
> Addition of _CS_V6_WIDTH_RESTRICTED_ENVS broke getconf LFS_CFLAGS on
> __WORDSIZE==64 targets because the case used to fall through to the
> string=""; string_len = 1; cases, while now getconf LFS_CFLAGS returns
> _POSIX_V6_LP64_OFF64. I believe a FALLTHROUGH comment should be sufficient
> to protect this from future breakages, though adding
> #else
> string = "";
> string_len = 1;
> break;
> before _CS_LFS_CFLAGS's #endif is certainly an option as well (the compiler
> should merge the two identical case handlers anyway).
Your patch looks fine, I've committed it.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list