projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up pref.h.orig and deal with the consequences.
[pspp]
/
src
/
command.c
diff --git
a/src/command.c
b/src/command.c
index 2c62d2f26d79200b8dce23cc80b79dea24820cb1..f4c76c33b32bde5d8cb9ed67f1cafad17c8ed5a3 100644
(file)
--- a/
src/command.c
+++ b/
src/command.c
@@
-249,7
+249,7
@@
cmd_parse (void)
/* Perform the state transition if the command completed
successfully (at least in part). */
/* Perform the state transition if the command completed
successfully (at least in part). */
- if (result !=
0
)
+ if (result !=
CMD_FAILURE
)
{
pgm_state = cp->transition[pgm_state];
{
pgm_state = cp->transition[pgm_state];
@@
-601,7
+601,7
@@
cmd_erase (void)
return CMD_SUCCESS;
}
return CMD_SUCCESS;
}
-#if unix
+#if
def
unix
/* Spawn a shell process. */
static int
shell (void)
/* Spawn a shell process. */
static int
shell (void)
@@
-713,7
+713,7
@@
cmd_host (void)
lex_match_id ("HOST");
lex_match_id ("HOST");
-#if unix
+#if
def
unix
/* Figure out whether to invoke an interactive shell or to execute a
single shell command. */
if (lex_look_ahead () == '.')
/* Figure out whether to invoke an interactive shell or to execute a
single shell command. */
if (lex_look_ahead () == '.')