GNU bug report logs -
#8545
issues with recent doprnt-related changes
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Mon, 25 Apr 2011 05:48:01 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #159 received at 8545 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: eggert <at> cs.ucla.edu, 8545 <at> debbugs.gnu.org, emacs-devel <at> gnu.org
> Date: Sat, 07 May 2011 00:18:47 -0300
>
> >> note that "the position of the nul byte" is the same as "the length
> >> of the list", so it's still <= MOST_POSITIVE_FIXNUM. It's only the
> >> position after the nul byte that would overflow.
>
> > But what about this code and its commentary (from
> > next_element_from_c_string):
>
> > /* IT's position can be greater IT->string_nchars in case a field
> > width or precision has been specified when the iterator was
> > initialized. */
> > if (IT_CHARPOS (*it) >= it->end_charpos)
> > {
> > /* End of the game. */
> > ...
>
> Do these ever make it into a Lisp_Object?
Well, the resulting string can be returned by format-mode-line, for
example.
This bug report was last modified 4 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.