bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cygwin+bash: bash reorders script output bug identified/fixe


From: Corinna Vinschen
Subject: Re: [PATCH] cygwin+bash: bash reorders script output bug identified/fixed
Date: Wed, 7 Aug 2002 11:04:09 +0200
User-agent: Mutt/1.3.22.1i

On Tue, Aug 06, 2002 at 09:06:52AM +0200, Manfred Spraul wrote:
> * defining RECYCLES_PIDS in execute_cmd.c solves the problem.
> [...]

While creating the new bash version for the Cygwin net distribution,
I found that `configure.in' defines -luser32 as additional linker flag
when building for Cygwin.  This isn't necessary. gcc for Cygwin adds
that library automatically through it's specs file.  So the patch I've
applied to the bash for the next Cygwin version is this one:

--- configure.in.ORIG   2002-08-07 10:59:07.000000000 +0200
+++ configure.in        2002-08-07 10:49:00.000000000 +0200
@@ -851,7 +851,7 @@ lynxos*)    LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
 linux*)                LOCAL_LDFLAGS=-rdynamic ;;       # allow dynamic loading
 *qnx*)         LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" 
LOCAL_LIBS="-lunix -lncurses" ;;
 powerux*)      LOCAL_LIBS="-lgen" ;;
-cygwin*)       LOCAL_LIBS="-luser32" ;;
+cygwin*)       LOCAL_CFLAGS="-DRECYCLES_PIDS" ;;
 opennt*|interix*) LOCAL_CFLAGS="-DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO" ;;
 esac
 

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]