In message <[EMAIL PROTECTED]>, Villy Kr
use writes:
> On Thu, 5 Nov 1998, Tim Hillman wrote:
>
> > Well, Brian mentioned an rpm for a patch to diald-0.16. Since I am not
> > running redhat, this doesn't do much good. I went to the diald home page
> > and downloaded the latest patch and installed it. Did not seem to do
> > anything. If there is a patch to the patch someplace, maybe that is what
> > what I need.
> >
>
> Here is the core of the patch. The main thing is to open the monfifo
> before running fifoCmd, and also open mode r+ aka O_RDWR wich will prevent
> the open to be suspended until some writer opens the other end of the
> pipe.
>
> This patch has been in this mailing list before, and that is where I
> picked it up.
>
> Villy
>
> --- /data/diald-0.16/bin/dctsetrl Tue Jan 28 00:21:42 1997
> +++ /usr/bin/dctrl Tue Oct 6 13:32:15 1998
> @@ -222,8 +222,8 @@
>
> set monfifo /tmp/dctrl.[pid]
> catch {exec mkfifo -m 0600 $monfifo}
> + set monfd [open $monfifo r+]
> fifoCmd "monitor $monfifo"
> - set monfd [open $monfifo r]
> fileevent $monfd readable {stateChange}
> }
Sorry but no cigar here. Dctrl hung on startup (with this patch) until
I added the line "after 500" after the line " "set monfd [open $monfifo r+]"
Then dctrl worked. This is on my Alpha FWIW.
Bob
--
+---------------------------------------------------------------+
| Bob Taylor Email: [EMAIL PROTECTED] |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you |
| can tell it's painted on. I suppose at 2400 dpi you can tell |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]