TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Lewin Edwards
date: 1995-01-25 07:55:38
subject: self-referencing sprintf() ?

>> The sprintf() function apparently contains a small buffer
 >> string inside it to cope with a self-referencing argument
 >> list. Is this standard C ? I think not.. but I want to be
 DN> The behaviour of what is called "copying between overlapping
objects" is
 DN> "undefined" under ISO-C. It might work or it might not,
but I wouldn't
 DN> rely on it.

Rightyo, thanks. This means I have to go through and check every single one
and remove it. The project is being ported to a different uC, and although
there is a cross-compiler for this new chip, I =BET= it doesn't have the
same undocumented features. (This is not a bad thing as such; I get to
treble my quote for the original modification ;-)

-- Lewin A.R.W. Edwards (obsessed)
Mobile 015 809 805  *  Pager 132222 #426185  *  Pager (03) 4834444 #173425

--- FreeMail 1.10 alpha-3
* Origin: ZWSBBS +61-3-8276881 28800bps 24 Hours (3:634/396)
SEEN-BY: 50/99 54/54 620/243 623/630 624/50 632/348 386 998 633/371 634/384
SEEN-BY: 634/387 396 635/301 502 503 541 544 636/100 639/100 711/401 409 410
SEEN-BY: 711/430 510 807 808 809 932 934 942 712/515 713/888 714/906 800/1
SEEN-BY: 7877/2809
@PATH: 634/396 384 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.