From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7460@debbugs.gnu.org
Subject: bug#7460: 23.2.90; temacs needs LANG=C, build will fail if not.
Date: Sun, 21 Nov 2010 20:20:09 +0100 [thread overview]
Message-ID: <4CE970E9.809@swipnet.se> (raw)
In-Reply-To: <jwvd3pyy087.fsf-monnier+emacs@gnu.org>
Stefan Monnier skrev 2010-11-21 19.58:
>> Invalid hash table rehash size: 1\,5
>
> Where does this "1,5" come from?
src/lisp.h:#define DEFAULT_REHASH_SIZE 1.5
Apparently this code in fns.c, Fmake_hash_table somehow turns it into 1,5.
/* Look for `:rehash-size SIZE'. */
i = get_key_arg (QCrehash_size, nargs, args, used);
rehash_size = i < 0 ? make_float (DEFAULT_REHASH_SIZE) : args[i];
if (!NUMBERP (rehash_size)
|| (INTEGERP (rehash_size) && XINT (rehash_size) <= 0)
|| XFLOATINT (rehash_size) <= 1.0)
signal_error ("Invalid hash table rehash size", rehash_size);
>
>> , is not a decimal point in my locale.
Correction, I meant to say . is not a decimal point in my locale. , is.
>
> The Lisp reader is not supposed to be locale-sensitive, so changing the
> is not a valid fix.
>
Something is definitly wrong with locale handling. I have not seen this
before, but this is the first time I compiled for Gnustep. It might be some
setting that doesn't get done in the Gnustep case. fixup_locale in emacs.c
comes to mind.
Jan D.
next prev parent reply other threads:[~2010-11-21 19:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 14:23 bug#7460: 23.2.90; temacs needs LANG=C, build will fail if not Jan Djärv
2010-11-21 18:07 ` Eli Zaretskii
2010-11-21 18:58 ` Stefan Monnier
2010-11-21 19:20 ` Jan Djärv [this message]
2010-11-21 20:34 ` Stefan Monnier
2010-11-22 21:58 ` Jan Djärv
2010-11-22 22:46 ` Andreas Schwab
2010-11-23 6:32 ` Jan Djärv
2010-11-23 17:00 ` Jan Djärv
2010-11-23 17:47 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CE970E9.809@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=7460@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).