🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1027

format bug?

#1027
From: Kevin Layer
Date: Tue, 20 Sep 1988 22:03
17 lines
873 bytes
in 18.50 (format "XX%-20sXX" "asd") returns

	"XXasdXX"

instead of (as the C library on my machine does)

	"XXasd                 XX"

doprnt() in doprnt.c is probably the culprit, but a quick glance
turned up no obvious bugs.

Also, a minor nit about the `format' (and `message') docstring: it sez
that "the argument used by %s must be a string or a symbol" when, in
fact, it can be anything (format does a Fprin1_to_string in the
non-string case).

	Kevin
Technical Details
Message-ID: <8809202203.AA06117@snooze>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UCBARPA.BERKELEY.EDU!franz!snooze!layer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UCBARPA.BERKELEY.EDU!franz!snooze!layer
From: franz!snooze!layer@UCBARPA.BERKELEY.EDU (Kevin Layer)
Newsgroups: gnu.emacs.bug
Subject: format bug?
Message-ID: <8809202203.AA06117@snooze>
Date: 20 Sep 88 22:03:17 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16