#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
+#include <unistd.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
#include <data/dictionary.h>
#include <data/variable.h>
#include <procedure.h>
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
int result;
/* Call the command dispatcher. */
- err_set_command_name (cp->name);
+ msg_set_command_name (cp->name);
tab_set_command_name (cp->name);
result = cp->func ();
- err_set_command_name (NULL);
+ msg_set_command_name (NULL);
tab_set_command_name (NULL);
/* Perform the state transition if the command completed