Subject: Re: CVS commit: pkgsrc/misc/dialog
To: Joerg Sonnenberger <>
From: Jeremy C. Reed <>
List: pkgsrc-changes
Date: 11/08/2005 09:29:22
On Tue, 8 Nov 2005, Joerg Sonnenberger wrote:

> Added Files:
> 	pkgsrc/misc/dialog/patches: patch-aa
> Log Message:
> Fix another stupid program, which assumes that *stdin =*reopen()
> is ever likely to work.

I forgot to commit, but the fix from the developer (which I believe will 
be in next version) is:

-           *stdin = *freopen(device, "r", stdin);
+           if (freopen(device, "r", stdin) == 0)
+               dlg_exiterr("cannot open tty-input");

  Jeremy C. Reed

  	  	 	 technical support & remote administration