30 |
Joseph S. Myers |
Joseph S. Myers |
31 |
jsm28@cam.ac.uk |
jsm28@cam.ac.uk |
32 |
|
|
33 |
|
+ stack overflow is basically broken |
34 |
|
|
35 |
|
The routines to detect stack overflow throuh segv are basically |
36 |
|
broken. The idea may be fine, but it ends up calling a sigv handler |
37 |
|
that uses gettext, printf, stdout... all of which are definitely NOT |
38 |
|
sig-safe. Pity, because the hardcode routine is basically very careful |
39 |
|
to use write(2), to avoid this. |
40 |
|
|
41 |
|
I haven't checked that translation magic is signal-safe. |
42 |
|
- I doubt it; |
43 |
|
- stdio is not signal-safe in any kind of portable setting anyways. |
44 |
|
-- |
45 |
|
Marc Espie |
46 |
|
espie@schutzenberger.liafa.jussieu.fr |
47 |
|
|
48 |
+ ~/src/ace % m4 --trace undefine -dV nostromo Err 1$ |
+ ~/src/ace % m4 --trace undefine -dV nostromo Err 1$ |
49 |
m4 debug: NONE: 0: input read from stdin |
m4 debug: NONE: 0: input read from stdin |
50 |
undefine(`undefine') |
undefine(`undefine') |