delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/16/23:49:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 16 Jan 2004 23:47:57 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: YA snapshot available [Re: new snapshot with some tty/WinMe fixes]
Message-ID: <20040117044757.GA49384663@hpn5170x>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>, cygwin AT cygwin DOT com
References: <20040103181903 DOT GA9424 AT redhat DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20040103181628 DOT 00835c70 AT incoming DOT verizon DOT net> <20040116183044 DOT GA24127 AT redhat DOT com> <40084421 DOT 23DC049E AT ieee DOT org> <20040116215259 DOT GA26308 AT redhat DOT com> <20040117022135 DOT GA48682835 AT hpn5170x> <20040117034901 DOT GA7899 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20040117034901.GA7899@redhat.com>
User-Agent: Mutt/1.4.1i

On Fri, Jan 16, 2004 at 10:49:02PM -0500, Christopher Faylor wrote:
> On Fri, Jan 16, 2004 at 09:21:35PM -0500, Pierre A. Humblet wrote:
> >On Fri, Jan 16, 2004 at 04:52:59PM -0500, Christopher Faylor wrote:
> >> On Fri, Jan 16, 2004 at 03:05:53PM -0500, Pierre A. Humblet wrote:
> >> >H:\>gcc try_forksetsid.c
> >> >
> >> >H:\>sh -c "./a"
> >> >waiting for children using tty0 to terminate
> >> >waiting for children using tty0 to terminate
> >> >
> >> >It's motivated by a weirdness I saw last night with exim, where the
> >> >setsid() is present.
> >> 
> >> Did my latest cvs checkin fix this?  It seems to for me but I don't have
> >> time for extensive testing.
> >
> >It does, but when I uncomment the setsid() in the program and run from
> >command.com, sh -c ./a.exe stays in the foreground (no prompt) when
> >CYGWIN=notty.  Things are OK with CYGWIN=tty.
> 
> A fix to fhandler_console::close seems to rectify this behavior.  Strange
> that it worked ok on XP.

CYGWIN_ME-4.90 hpn5170x 1.5.6(0.108/3/2) 2004-01-16 23:22 i686 unknown unknown Cygwin

Great, all my tty tests pass.

The build problem reported previously persists...

I have observed something else (a few weeks?), fairly reproducible:
make stops prematurely with a "Hangup" message, as in

/e/Download/minires-0.98: make try
gcc -I . -g -Wall   -c -o minires.o minires.c
rm -f libminires.a
ar cr libminires.a minires.o os-interface.o
gcc -I . -g -Wall -o try_stat try.c -L.  -static -lminires
Hangup                     <XXXXXXXXXXXXX Here
/e/Download/minires-0.98: make try
rm -f libminires.dll.a cygminires.dll
gcc minires.o os-interface.o -shared -Wl,--enable-auto-image-base,--out-implib,libminires.dll.a \
 -Wl,--major-image-version,0,--minor-image-version,98 \
 minires.def -o cygminires.dll
Creating library file: libminires.dll.a
gcc -I . -g -Wall -o try_dll try.c  -L. -lminires 
/e/Download/minires-0.98:

 
Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019