Re: qemu linux-user limitations

2025-05-20 Thread Andreas Schwab
ftware. Lying to the user is not a good way to generate success. Instead, users need to be taught to understand their observations, so that they become smarter instead of staying dumb and repeating their failures. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> >> >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> >> >> >> >> How does this have anything to do with qemu? >> >> > >> >>

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> >> >> How does this have anything to do with qemu? >> > >> > It's not a bug in qemu itself. >

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> How does this have anything to do with qemu? > > It's not a bug in qemu itself. Thus completely irrelevant. -- Andreas Schwab

Re: Stack overflow check does not work with qemu linux-user emulation

2025-05-19 Thread Andreas Schwab
On Mai 15 2025, Bruno Haible wrote: > - glibc iconv modules are not installed (on Debian/Ubuntu). How does this have anything to do with qemu? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something co

[PATCH] git-merge-changelog: fix conflict markers

2024-06-24 Thread Andreas Schwab
===\n", fp); for (i = 0; i < c->num_modified_entries; i++) entry_write (fp, c->modified_entries[i]); - fputs (">>>>>>>\n", fp); + fputs (">>>>>>> \n", fp); } /* Long options. */ -- 2.45.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: bug#70070: FAIL: test-localtime_r

2024-03-29 Thread Andreas Schwab
On Mär 29 2024, Bruno Haible wrote: > Yes. And make sure that it has a time zone database installed at all. Why? That doesn't make any sense.

Re: sort dynamic linking overhead

2024-02-26 Thread Andreas Schwab
matched literally. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: sort dynamic linking overhead

2024-02-26 Thread Andreas Schwab
BAL); That only works if libopenssl-devel is installed. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
ote login. */ That's still using reserved symbols. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
On Aug 14 2023, Bruno Haible wrote: > Andreas Schwab wrote: >> In file included from boot-time.c:47: >> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a >> function); did you mean ‘UT_USER_SIZE’? >> 145 | char ut_user[__UT

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
]: *** [Makefile:102: boot-time.o] Error 1 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: fstatat + AT_NO_AUTOMOUNT

2022-03-09 Thread Andreas Schwab
AUTOMOUNT. I installed the first patch to cause it be consistent in > using AT_NO_AUTOMOUNT, which is also consistent with what glibc does ??? In glibc, stat is the same as fstatat(,,,0). -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E7

Re: conditional "LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH" was never defined.

2022-01-14 Thread Andreas Schwab
On Jan 14 2022, Gavin Smith wrote: > I could not find where the LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH conditional > was supposed to be defined. It is defined by the gl_LIBUNISTRING_MODULE macro. It looks like you are missing the configure fragment from modules/uniwidth/width. -- Andreas

Re: Undefined use of weak symbols in gnulib

2021-04-27 Thread Andreas Schwab
be fixed in gnulib. It is likely that the use of weak pthread symbols is not confined to gnulib. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: warning in lib/unistr/u8-uctomb.c

2020-01-21 Thread Andreas Schwab
On Jan 20 2020, Bruno Haible wrote: > "this statement may fall through" is a warning. *You* turned it into an > error by using -Werror or -Werror=implicit-fallthrough. Nope. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

lib/unistr/u8-uctomb.c fails to compile

2020-01-20 Thread Andreas Schwab
6; uc |= 0xc0; ^~~~ cc1: all warnings being treated as errors Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] Add renameat2 function [BZ #17662]

2018-07-04 Thread Andreas Schwab
hould not repeat the pselect error. Glibc should provide the race-free guarantee that RENAME_NOREPLACE gives, so that programs that need it can use it without fear. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v2 1/2] posix: Add compat glob symbol to not follow dangling symbols

2017-09-27 Thread Andreas Schwab
I can confirm that make works properly with the compat glob symbol. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v2 1/2] posix: Add compat glob symbol to not follow dangling symbols

2017-09-26 Thread Andreas Schwab
Current version of make won't build against this (undefined reference to __alloca from included glob sources). Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: Remove dependency of getdelim on realloc-posix

2016-08-13 Thread Andreas Schwab
On Aug 13 2016, Gavin Smith wrote: > +2016-08-13 Gavin Smith > + > + * modules/getdelim: Remove dependency on realloc-posix. > + * lib/getdelim.c (getdelim): Set errno to ENOENT if realloc failed, s/ENOENT/ENOMEM/ Andreas. -- Andreas Schwab, sch...@linux-m68k

Re: [PATCH] Initialize the entire obstack struct [BZ #17919]

2015-02-03 Thread Andreas Schwab
d to be random. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH 0/5] obstacks again

2014-12-06 Thread Andreas Schwab
terface to use for shrinking. It would reintroduce the nice symmetry that the *_fast functions are just optimisations of the non-fast functions (if you know that the obstack has enough space), without surprising behaviour change. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finge

Re: [PATCH 5/5] obstack usability

2014-07-26 Thread Andreas Schwab
as taken out of >> gnulib/m4/gnulib-common.m4.. >> >> I'm happy to fix this oddity and others like it, > I'd rather leave this alone. This is a long-running disagreement about a > minor style issue, and there's no need to impose the other style here.

Re: [PATCH 5/5] obstack usability

2014-07-26 Thread Andreas Schwab
Alan Modra writes: > +# elif defined _MSC_VER && 1200 <= _MSC_VER Please write that as "_MSC_VER >= 1200". Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Use malloca instead alloca

2012-12-30 Thread Andreas Schwab
Ondřej Bílka writes: > static inline freea(void * __r) void Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Use malloca instead alloca

2012-12-29 Thread Andreas Schwab
Ondřej Bílka writes: > #define malloca(n) ({\ > size_t __n__ = n;\ Macro arguments must be properly parenthesised. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

[PATCH] printf: remove stupid restriction on %n

2012-09-03 Thread Andreas Schwab
count, 33, 44, 55); + my_snprintf (buf, 4, "%d %n", 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; -- 1.7.12 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: error: token "@" is not valid in preprocessor expressions

2011-05-18 Thread Andreas Schwab
le was regenerated; but as I understand it, the 'make' that was > (still) running was based on the out-of-date lib/Makefile, and it > generated the a bad lib/unistd.h. Looks like an orderring problem. Normally, if GNU make sees that a makefile is remade it rereads it automaticall

Re: Files from gnulib

2011-01-26 Thread Andreas Schwab
Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: Paul Eggert , c...@stupidchicken.com, >> bug-gnulib@gnu.org, monn...@iro.umontreal.ca, emacs-de...@gnu.org >> Date: Wed, 26 Jan 2011 13:27:09 +0100 >> >> There is also DOSBox which should ob

Re: Files from gnulib

2011-01-26 Thread Andreas Schwab
here is also DOSBox which should obviate the need to use a separate DOS machine. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Still unable to build trunk

2011-01-24 Thread Andreas Schwab
> There is <http://git.savannah.gnu.org/cgit/emacs.git>, but it's the > history filtered through git, which is not the same thing. There is no filtering, the history is identical. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 175

Re: [PATCH] git-merge-changelog: fix missing space after conflict markers

2011-01-09 Thread Andreas Schwab
Bruno Haible writes: > Andreas Schwab wrote: >> >> As required by git. >> > >> > What do you mean by that? >> >> See rerere.c:is_cmarker. > > Please give a "how to reproduce". Enable rerere and cherry-pick a conflicting changelog.

Re: [PATCH] git-merge-changelog: fix missing space after conflict markers

2011-01-09 Thread Andreas Schwab
Bruno Haible writes: > Hello Andreas, > >> As required by git. > > What do you mean by that? See rerere.c:is_cmarker. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

[PATCH] git-merge-changelog: fix missing space after conflict markers

2011-01-09 Thread Andreas Schwab
As required by git. Andreas. 2011-01-09 Andreas Schwab * lib/git-merge-changelog.c (conflict_write): Add space after conflict marker. --- lib/git-merge-changelog.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git-merge-changelog.c b/lib/git

Re: new branch in gnulib: coreutils-8.9

2011-01-04 Thread Andreas Schwab
Eric Blake writes: > I'm trying to come up with some > git submodule foreach 'command $sha1' > formula that will allow you to make the same check without having to > resort to wget or even to hardcoding the URL of each upstream repository. Like git ls-remote? A

Re: chown, cpio: proposed change for userspec handling of USER:

2009-12-02 Thread Andreas Schwab
. > > Since the above behavior is not specified by POSIX, and > is IMHO, counter-intuitive Why? I find it very convenient and use it quite a lot. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Andreas Schwab
:-) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: test-memchr failure on rawhide

2009-05-11 Thread Andreas Schwab
Bruno Haible writes: > Andreas Schwab wrote: >> > And in the context of memchr's return value: >> >> The context is irrelevant. > > You couldn't tell how many bytes memchr is searching through? Where did I say that??? > glibc's memchr is access

Re: test-memchr failure on rawhide

2009-05-09 Thread Andreas Schwab
Bruno Haible writes: > Andreas Schwab wrote: >> > What is "the object"? >> >> See section 3.14 in the C standard. >> >> region of data storage in the execution environment, the contents of >> which can represent values > > An

Re: test-memchr failure on rawhide

2009-05-09 Thread Andreas Schwab
Bruno Haible writes: > What is "the object"? See section 3.14 in the C standard. region of data storage in the execution environment, the contents of which can represent values Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 94

Re: test-memchr failure on rawhide

2009-05-09 Thread Andreas Schwab
g crashes for programs that worked fine earlier. s/worked fine earlier/invoked undefined behviour/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: test-memchr failure on rawhide

2009-05-08 Thread Andreas Schwab
Bruno Haible writes: > also when ptr is pointing to an I/O mapped address range You certainly cannot use any of the mem functions for volatile memory anyway. They are free to access the object in any random order they like. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG

Re: test-memchr failure on rawhide

2009-05-08 Thread Andreas Schwab
Jim Meyering writes: > When the specified length is 0, memchr must not dereference the > pointer. The C standard does not support your opinion. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now fo

Re: test-memchr failure on rawhide

2009-05-08 Thread Andreas Schwab
Bruno Haible writes: > Andreas Schwab wrote: >> This is not a bug. NULL is not a valid object pointer. > > Do you mean to say that none of the functions > memchr > memcmp > memcpy > memmove > memset > wmemchr > wmemcmp > wmemcpy >

Re: test-memchr failure on rawhide

2009-05-08 Thread Andreas Schwab
Jim Meyering writes: > cat > k.c <<\EOF > #include > int main() { return !!(memchr (0, 'a', 0)); } > EOF > gcc -O k.c; ./a.out > Segmentation fault > [Exit 139 (SIGSEGV)] This is not a bug. NULL is not a valid object pointer. Andreas. -- Andre

Re: touch gets stuck for named pipes

2009-04-09 Thread Andreas Schwab
be owner, whereas the former only requires write access. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: coreutils 7.1.49-ebb9 FTB sparc/Solaris, AIX

2009-03-20 Thread Andreas Schwab
a bug if a C89 compiler chokes on this. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: SIGPIPE not properly reset with 'trap - PIPE'

2008-12-11 Thread Andreas Schwab
t bash is reporting. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: SIGPIPE not properly reset with 'trap - PIPE'

2008-12-11 Thread Andreas Schwab
PE ignored when you start the script. From POSIX: Signals that were ignored on entry to a non-interactive shell cannot be trapped or reset, although no error need be reported when attempting to do so. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH,

Re: gl_FUNC_OBSTACK_PRINTF_POSIX

2008-08-22 Thread Andreas Schwab
Eric Blake <[EMAIL PROTECTED]> writes: > Please apply; that should count as obvious. Sorry, I don't have write access. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7

gl_FUNC_OBSTACK_PRINTF_POSIX

2008-08-22 Thread Andreas Schwab
2008-08-22 Andreas Schwab <[EMAIL PROTECTED]> * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_POSIX): Remove spurious space in assignment. diff --git a/m4/obstack-printf-posix.m4 b/m4/obstack-printf-posix.m4 index 5fa740f..8768e67 100644 --- a/m4/obstack-printf-po

Bogus gl_C_COMPOUND_LITERALS test

2008-06-24 Thread Andreas Schwab
The gl_C_COMPOUND_LITERALS test can never succeed, since the test program is invalid C. A compound literal is never a constant expression, thus cannot be used to initialize a static variable. Andreas. 2008-06-24 Andreas Schwab <[EMAIL PROTECTED]> * m4/getd

Re: touch and utimens troubles on new/old software combinations

2008-06-03 Thread Andreas Schwab
chroot), and getting the same result as if building on the target system. Runtime configure checks should be avoided as much as possible, especially if they depend on the kernel (the only part you cannot replace in a chroot). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Produc

Re: touch and utimens troubles on new/old software combinations

2008-06-02 Thread Andreas Schwab
Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > Mike, I thought the *at wrappers fell back to emulation if the > syscalls were missing. Is that impossible for utimensat? Emulating utimensat is rather difficult, due to the UTIME_NOW/UTIME_OMIT feature. Andreas. -- Andreas Schwa

Re: touch and utimens troubles on new/old software combinations

2008-06-02 Thread Andreas Schwab
lback code when errno == ENOSYS. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Andreas Schwab
not >> disable it. > > In some defense of HP-UX 10.20 it was released IIRC in 1996 which was > well before this last round of C99/POSIX. But that already violates C89. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnber

Broken frexpl test

2008-01-30 Thread Andreas Schwab
The frexpl test always fails because it uses LDBL_MIN_EXP without including . Andreas. 2008-01-30 Andreas Schwab <[EMAIL PROTECTED]> * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Include . diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index a4f2bd8..a931049 100644 --- a/m4/frexpl.m4 ++

Re: Errors in the coreutils-6.9 PO file

2007-10-25 Thread Andreas Schwab
x/gai_strerror-strs.h). Maybe > it could be solved upstream? I'm not sure what it should say, I think > it should be "Service name". You will find this string in every Unix that implements getaddrinfo. It's kind of a standard now. "servname" and "ai_soc

Re: Fwd: Re: error.c: "Unknown system error" should report errno value

2007-10-05 Thread Andreas Schwab
If gcc cannot generate code that is compatible with the system library it is a bug that should be reported. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: glibc segfault on "special" long double values is _ok_!?

2007-06-06 Thread Andreas Schwab
Paul Mackerras <[EMAIL PROTECTED]> writes: > In general with scalars there is no value whose meaning or effect is > undefined, unlike pointers. This is not true. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Ger

Re: glibc segfault on "special" long double values is _ok_!?

2007-06-06 Thread Andreas Schwab
Jim Meyering <[EMAIL PROTECTED]> writes: > Andreas Schwab <[EMAIL PROTECTED]> wrote: >> Jim Meyering <[EMAIL PROTECTED]> writes: >> >>> Andreas Schwab <[EMAIL PROTECTED]> wrote: >>>> Jim Meyering <[EMAIL PROTECTED]> writes:

Re: glibc segfault on "special" long double values is _ok_!?

2007-06-06 Thread Andreas Schwab
Jim Meyering <[EMAIL PROTECTED]> writes: > Andreas Schwab <[EMAIL PROTECTED]> wrote: >> Jim Meyering <[EMAIL PROTECTED]> writes: >> >>> I'm interested, because I don't want my applications to segfault on such >>> inputs. Sure it may

Re: glibc segfault on "special" long double values is _ok_!?

2007-06-06 Thread Andreas Schwab
t; that is then printed as a long double. Just printing an arbitrary > "long double" should not make a server vulnerable to a DoS attack. In which way is this different from passing NULL to strlen? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Ma

Re: M4 1.4.9b testsuite failure

2007-06-03 Thread Andreas Schwab
ly isn't), it still fails to do that. When run on the m68k extended real format it creates a bit representation that only differes in a padding bit, which is completely ignored anyway. This shows that the test in the current form is useless. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: M4 1.4.9b testsuite failure

2007-06-03 Thread Andreas Schwab
Bruno Haible <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote about IA-64 Pseudo-NaNs: >> It's definitely not a valid encoding. > > [1] calls it an "unsupported" encoding. Don't mix the ia64 fpu register encoding with the i387 extended real encoding.

Re: M4 1.4.9b testsuite failure

2007-05-31 Thread Andreas Schwab
Bruno Haible <[EMAIL PROTECTED]> writes: > The purpose of the test is not to create a signalling NaN (despite the > comment saying so). All evidence is against this interpretation. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstr

Re: M4 1.4.9b testsuite failure

2007-05-31 Thread Andreas Schwab
Bruno Haible <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Bruno Haible <[EMAIL PROTECTED]> writes: >> >> > union u { unsigned int word[4]; long double value; } x = >> > { { 0x, 0x4001, 0x, 0x } }; >> >

Re: M4 1.4.9b testsuite failure

2007-05-31 Thread Andreas Schwab
Bruno Haible <[EMAIL PROTECTED]> writes: > union u { unsigned int word[4]; long double value; } x = > { { 0x, 0x4001, 0x, 0x } }; This is not a valid number. The integer bit _must_ be 1 for a valid NaN or Infinity. Andreas. -- Andreas Schwab, SuSE

Re: M4 1.4.9b testsuite failure

2007-05-31 Thread Andreas Schwab
Bruno Haible <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> > Bruno Haible wrote the isnanl replacement. Care to enlighten us how the >> > ia64 long double is laid out in memory? >> >> It's identical to the i387 format. > > Then there a

Re: M4 1.4.9b testsuite failure

2007-05-30 Thread Andreas Schwab
and make this change? test-closein.sh is the only broken > script in gnulib/tests at the moment. There are many more bogus permissions in the package. In fact, almost all files have bogus permissions. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldst

Re: M4 1.4.9b testsuite failure

2007-05-30 Thread Andreas Schwab
N bit is adjacent to the exponent. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: M4 1.4.9b testsuite failure

2007-05-30 Thread Andreas Schwab
Eric Blake <[EMAIL PROTECTED]> writes: > Bruno Haible wrote the isnanl replacement. Care to enlighten us how the > ia64 long double is laid out in memory? It's identical to the i387 format. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: Error from coreutils CVS version

2007-05-20 Thread Andreas Schwab
> > Since this fixes a known build failure with newer glibc, > I've gone ahead and made the change. What about lib/utimens.h? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6

Re: gnulib getcwd patch needed for Solaris 10 getcwd

2007-02-21 Thread Andreas Schwab
talling this patch (and the other fixes I sent in just now), > "make check" succeeded on this platform. This will fail if the length of CWD is bigger than 4095 and some parts of it are unreadable. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfel

Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".

2007-01-22 Thread Andreas Schwab
omit --srcdir, because configure > finds it by itself; then $ac_srcdir is an absolute path; $ac_srcdir will be relative even if you omit --srcdir. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2006-12-31 Thread Andreas Schwab
ore the padding bits. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: GCC optimizes integer overflow: bug or feature?

2006-12-20 Thread Andreas Schwab
o->bar = You are not describing a C compiler. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Current coreutils HEAD does not compile

2006-12-18 Thread Andreas Schwab
Paul Eggert <[EMAIL PROTECTED]> writes: > Perhaps there was a leftover 'stdint.h' file around from a previous > build? Removing it did not help, it was recreated again. But that was due to leftover dependency files, after removing them it works again. Thanks, Andreas. --

Re: coreutils-6.5: yet another C89 problem

2006-11-28 Thread Andreas Schwab
Matthew Woehlke <[EMAIL PROTECTED]> writes: > (* You would need to (a) somehow force gcc to reject all non-c89 > constructs "-std=c89 -pedantic-errors" is supposed to do that. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldst

Re: looking for ia64 linux newer than 2.4.19 [Re: coreutils-6.6 check failures on Itanium Linux

2006-11-28 Thread Andreas Schwab
Jim Meyering <[EMAIL PROTECTED]> writes: > If anyone in the audience has access to an ia64 system running a kernel > newer than linux-2.4.19, would you please let me know? SLES8 is using 2.4.21. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Max

Re: coreutils-6.5 released (stable)

2006-11-21 Thread Andreas Schwab
s) releases is take a > snapshot of gnulib, and then use "./bootstrap > --gnulib-srcdir=../gnulib-stable". > Crude, but it might be good enough. How about putting that stable snapshot in the repository? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gmb

regexec.c:3618: warning: call to __builtin___memset_chk will always overflow destination buffer

2006-06-04 Thread Andreas Schwab
yond object bounds, since ASCII_CHARS is greater than sizeof (bitset_t): if (ASCII_CHARS % BITSET_WORD_BITS == 0) memset (accepts, -1, ASCII_CHARS); Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germ