aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-06-17 13:02:21 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-06-17 13:02:21 +0300
commita6f9aea50784a065d6989dbdfa32123b8cd3d237 (patch)
treecd8ad0dae9c64325f0f6302a13f7af561efaebb0
parentca5ea14d5f324349b6b2ffdd56721d80d5134ad0 (diff)
downloadpies-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.c4
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] == '/')

Return to:

Send suggestions and report system problems to the System administrator.