diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-06-17 13:02:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-06-17 13:02:21 +0300 |
commit | a6f9aea50784a065d6989dbdfa32123b8cd3d237 (patch) | |
tree | cd8ad0dae9c64325f0f6302a13f7af561efaebb0 | |
parent | ca5ea14d5f324349b6b2ffdd56721d80d5134ad0 (diff) | |
download | pies-a6f9aea50784a065d6989dbdfa32123b8cd3d237.tar.gz pies-a6f9aea50784a065d6989dbdfa32123b8cd3d237.tar.bz2 |
Bugfixes.
* pies/pies.c (main): Change main loop to do..while,
otherwise a signal arriving before entering the loop
might cause the program to terminate.
* pmult/pmult.c (internal_macro_p): New function.
(collect_stage_symbols): Do not report internal
macros as untranslatable.
* mfd/gram.y (register_macro): Copy macro name to
allocated storage.
-rw-r--r-- | pies/pies.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pies/pies.c b/pies/pies.c index 8948bce..04a5946 100644 --- a/pies/pies.c +++ b/pies/pies.c @@ -1519,7 +1519,7 @@ main (int argc, char **argv) progman_create_sockets (); progman_start (); - while (action == ACTION_CONT) + do { if (!children_cleanup) pies_pause (); @@ -1551,6 +1551,8 @@ main (int argc, char **argv) } } } + while (action == ACTION_CONT); + progman_stop (); if (action == ACTION_RESTART && argv[0][0] == '/') |