WIFSIGNALED was always false and bcc complained.
SVN-Revision: 1742
return (ARCHIVE_WARN);
}
+#if !defined(_WIN32) || defined(__CYGWIN__)
if (WIFSIGNALED(state->exit_status)) {
#ifdef SIGPIPE
/* If the child died because we stopped reading before
WTERMSIG(state->exit_status));
return (ARCHIVE_WARN);
}
+#endif /* !_WIN32 || __CYGWIN__ */
if (WIFEXITED(state->exit_status)) {
if (WEXITSTATUS(state->exit_status) == 0)
#define _stat64i32(path, st) __la_stat(path, st)
#define _stat64(path, st) __la_stat(path, st)
/* for status returned by la_waitpid */
-#define WIFSIGNALED(sts) 0
-#define WTERMSIG(sts) 0
#define WIFEXITED(sts) ((sts & 0x100) == 0)
#define WEXITSTATUS(sts) (sts & 0x0FF)