9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] X11
@ 2013-02-28 14:15 Steve Simon
  2013-02-28 14:21 ` Charles Forsyth
  2013-02-28 23:02 ` [9fans] X11 [was APE select and awkward Python subprocess PIPEfitting] Jeff Sickel
  0 siblings, 2 replies; 9+ messages in thread
From: Steve Simon @ 2013-02-28 14:15 UTC (permalink / raw)
  To: 9fans, jas

I have rebuilt equis with the change in ape's select
and it seems to work fine (tested with xlock and xterm only).

this was not quite straightforward due to changes in ape, and
the compiler becomming a little stricter.

On this subject, what is the general feeling on integer
type'ed functions which call exit() before falling off the
end of the function?

This is fairly common in X11 and I have just added a return 0 on
the end to push the code through the compiler, but should the
compiler be taught about this case?

if so, it gets a bit nasty as this feature is named
exit() under ape and exits() in native plan9.

Personally I think falling of the end of a function
is a bug and should be  fixed, but perhaps it should
just be a warning rather than an error to make
building foreign code simpler.

-Steve



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

end of thread, other threads:[~2013-03-01 13:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-28 14:15 [9fans] X11 Steve Simon
2013-02-28 14:21 ` Charles Forsyth
2013-02-28 17:19   ` dexen deVries
2013-02-28 18:10     ` Joel C. Salomon
2013-02-28 19:46       ` Steve Simon
2013-03-01  4:11         ` Federico G. Benavento
2013-03-01 13:05       ` Comeau At9Fans
2013-02-28 23:02 ` [9fans] X11 [was APE select and awkward Python subprocess PIPEfitting] Jeff Sickel
2013-02-28 23:13   ` Charles Forsyth

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).