zsh-workers
 help / color / mirror / code / Atom feed
* SIGTTOU old problem
@ 2005-02-28 13:41 Borzenkov Andrey
  2005-02-28 14:13 ` Peter Stephenson
  2005-02-28 14:29 ` Philippe Troin
  0 siblings, 2 replies; 7+ messages in thread
From: Borzenkov Andrey @ 2005-02-28 13:41 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]

At work I still have attached patch. Comments what should become of it?

-andrey
__________
www.newmail.ru -- всегда что-то новое.

[-- Attachment #2: ttou.diff --]
[-- Type: application/octet-stream, Size: 951 bytes --]

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.29
diff -u -r1.29 configure.ac
--- configure.ac	24 Feb 2005 16:53:09 -0000	1.29
+++ configure.ac	28 Feb 2005 13:36:46 -0000
@@ -1863,7 +1863,7 @@
 if test "x$ac_cv_func_tcsetpgrp" = xyes; then
 case "x$zsh_working_tcsetpgrp" in
   xcheck)
-    trap "" SIGTTOU > /dev/null 2>&1 || :
+    ( trap "" SIGTTOU > /dev/null 2>&1 ) && trap "" SIGTTOU > /dev/null 2>&1 
     AC_CACHE_CHECK(if tcsetpgrp() actually works,
     zsh_cv_sys_tcsetpgrp,
     [AC_TRY_RUN([
@@ -1894,7 +1894,7 @@
 Try running configure with --with-tcsetpgrp or --without-tcsetpgrp]);;
       *)      AC_MSG_ERROR([unexpected return status]);;
     esac
-    trap - SIGTTOU > /dev/null 2>&1 || :
+    ( trap - SIGTTOU > /dev/null 2>&1 ) && trap - SIGTTOU > /dev/null 2>&1 
     ;;
   xyes) :;;
   xno)  AC_DEFINE(BROKEN_TCSETPGRP);;

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-14  7:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-28 13:41 SIGTTOU old problem Borzenkov Andrey
2005-02-28 14:13 ` Peter Stephenson
2005-02-28 14:24   ` Peter Stephenson
2005-02-28 14:29 ` Philippe Troin
2005-02-28 14:29   ` Re[2]: " Borzenkov Andrey
2005-02-28 15:23     ` Philippe Troin
2005-03-14  7:54       ` Philippe Troin

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).