[3331] in RedHat Linux List

home help back first fref pref prev next nref lref last post

efax-0.7a-6 still has tty open bug.

daemon@ATHENA.MIT.EDU (Kayvan Sylvan)
Fri Nov 8 02:27:32 1996

Date: Thu, 7 Nov 96 23:24 PST
To: Red Hat List <redhat-list@redhat.com>
From: Kayvan Sylvan <kayvan@sylvan.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

The new EFAX-0.7a-6 RPM installed by RH 4.0 can not co-exist with cu
(or any other terminal program) because of a bug in its tty open
handling.

This shows up as an immediate hangup if you use cu on a line being
shared by efax.

I created a efax-0.7a-7 that's exactly the same as efax-0.7a-6 but
with the following patch (I got this from the author of efax). The
binary and source RPM's are uploaded to ftp.rehat.com/pub/incoming.

--- efaxos.c	1996/04/15 06:49:18	1.1
+++ efaxos.c	1996/04/15 06:50:24
@@ -205,7 +205,7 @@
   f->obitorder = normalbits ;
   f->ibitorder = reverse ? reversebits : normalbits ;
 
-  f->fd = open ( fname, O_RDWR | O_NDELAY ) ;
+  f->fd = open ( fname, O_RDWR | O_NDELAY | O_NOCTTY ) ;
 
   if ( f->fd < 0 )
     if ( errno == EBUSY ) err = 1 ; 

			---Kayvan

-- 
>>>>>>> Read about Star's Edge and Avatar at http://www.starsedge.com <<<<<<<
"The trust and respect of a child is an honor to be earned, not demanded."
Kayvan Sylvan         | Sylvan Associates           | Proud Dad of:
kayvan@Sylvan.COM     | http://www.isp.net/~kayvan  | Katherine Yelena (8/8/89)
(408) 978-1407 PGP OK | Ask me about Avatar.        | Robin Gregory (2/28/92)


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post