Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] fix portability bug in



Hi, long time have not been here :)

The patch from 20025 does not allow configure to run here because

- here /bin/sh (or /bin/ksh, does not matter) do not have SIGTTOU but just
TTOU so 'trap "" SIGTTOU' is an error

- according to SUS (Shell Command Language, 2.8.1) trap is special builtin
so non-zero exit code makes scripting shell immediately exit; the "trap ||
:" does not help.

The patch attempts to "fix" while still leaving trap in place. I do not know
why it is needed so I did not add "trap TTOU" (for my system :) In general
this looks rather inherently non-portable so the best way would be to get
rid of this trap at all (default for SIGTTOU is ignore anyway).

Please check if it still works for original problem.

Regards

-andrey


Attachment: configure.ac.diff
Description: Binary data



Messages sorted by: Reverse Date, Date, Thread, Author