hola,

I've been porting pdcurses using draw(2) and event(2),
the thing is that einit() creates some procs that are killed when
exit() is called, and I think APE's main wasn't doing it.
since I'm an ignorant on the subject at hand I brute forced
/sys/src/ape/lib/ap/386/main9.s and now it seems to work
as spected. My question is:  "does this look right" ?

lotte% yesterday -d /sys/src/ape/lib/ap/386/main9.s
diff /n/dump/2007/0426/sys/src/ape/lib/ap/386/main9.s 
/sys/src/ape/lib/ap/386/main9.s
10a11
>       MOVL    $_exits<>(SB), AX
13a15,17
> 
> DATA  _exits<>+0(SB)/4, $"main"
> GLOBL _exits<>+0(SB), $5

thanks

Federico G. Benavento

---
/bin/fortune:
*** {02.38.001} Win - Multiple Trillian vulnerabilities

note: I'm porting lynx as a test case for the curses port
if anyone wants to play with it a binary and some cfg files
that should be in /tmp are at:
http://plan9.homeip.net/magic/webls?dir=/misc

Reply via email to