9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] gcc/plan9
@ 2003-07-16  7:34 pac
  2003-07-17  0:10 ` Geoff Collyer
  0 siblings, 1 reply; 23+ messages in thread
From: pac @ 2003-07-16  7:34 UTC (permalink / raw)
  To: 9fans

Hi, friends,

I've got several questions considering GCC on Plan9:

i)

if (sscanf(str+(*pos),"%d",&tag))   [ on gcc/linux]
 ###    !=    ###
if (sscanf(str+(*pos),"%d",&tag)1)   [ on gcc/plan9]
 ###    instead ==    ###
if (sscanf(str+(*pos),"%d",&tag)==1)   [ on gcc/plan9]
is this okay?

ii)

//is this possible/safe???
#ifndef Plan9
#include <strings.h>
#else
#include <string.h>
// otherwise, what to do ?

iii)

in case ii), where does string.h come from (it isn't in /sys/include/gnu/)?
/sys/include/ape/??


Thanks, regards,

++pac.



---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.476 / Virová báze: 273 - datum vydání: 24.4.2003



^ permalink raw reply	[flat|nested] 23+ messages in thread
* [9fans] gcc/plan9
@ 2003-07-18 11:55 pac
  0 siblings, 0 replies; 23+ messages in thread
From: pac @ 2003-07-18 11:55 UTC (permalink / raw)
  To: 9fans

Thanks, folks!

It was a terrible bug to catch in a code that was not mine. (Remember, I'm
almost a non-programmer). I will ask the authors
to adopt the proposed changes. However, I'm happy I have a new port
completed, good training. And, step-by-step, getting rid of
linux on my standalone box!!!

Thanks for patience with my often ignorant questions,
cheers,
++pac.




---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.476 / Virová báze: 273 - datum vydání: 24.4.2003



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2003-07-21  8:27 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16  7:34 [9fans] gcc/plan9 pac
2003-07-17  0:10 ` Geoff Collyer
2003-07-17  0:15   ` boyd, rounin
2003-07-17  0:35     ` Geoff Collyer
2003-07-17  0:49       ` boyd, rounin
2003-07-17  2:07       ` Russ Cox
2003-07-17  2:22         ` Dan Cross
2003-07-17  2:33           ` William Josephson
2003-07-17  2:44             ` Dan Cross
2003-07-17  2:57               ` boyd, rounin
2003-07-17  2:59             ` Skip Tavakkolian
2003-07-18  8:45           ` Clint Olsen
2003-07-18  9:14             ` boyd, rounin
2003-07-18  9:20               ` boyd, rounin
2003-07-18 17:38                 ` Clint Olsen
2003-07-18 20:39                   ` boyd, rounin
2003-07-18 21:05                     ` Jack Johnson
2003-07-18 22:12                       ` northern snowfall
2003-07-21  8:27                       ` Douglas A. Gwyn
2003-07-17  2:31       ` William Josephson
2003-07-17  0:24   ` boyd, rounin
2003-07-17  0:40   ` boyd, rounin
2003-07-18 11:55 pac

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 NNTP newsgroup(s).