Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Sun, 10 Oct 1999 18:05:51 -0400
To: Paul Sokolovsky <paul-ml@is.lg.ua>
Cc: bughz@iname.com, Teofilis Martisius <smart@org.ktu.lt>,
        cygwin@sourceware.cygnus.com
Subject: Re: GCC v2.95 doesn't work (a bug?)
Message-ID: <19991010180551.A21425@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: Paul Sokolovsky <paul-ml@is.lg.ua>, bughz@iname.com,
	Teofilis Martisius <smart@org.ktu.lt>, cygwin@sourceware.cygnus.com
References: <991009105213CW.28088@webb2.iname.net> <8775.991010@is.lg.ua>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <8775.991010@is.lg.ua>; from Paul Sokolovsky on Sun, Oct 10, 1999 at 06:37:06PM +0300

On Sun, Oct 10, 1999 at 06:37:06PM +0300, Paul Sokolovsky wrote:
>If you use Win95/98 it's same old bug with lseek()-past-end-of-file.
>POSIX requires that if such call was made followed by write(), skipped
>space to be zeroed.  But win9x leaves previous physical media contents
>there.  That almost surely hits when producing dlls, and I submitted
>work-around-like patch for that (see >http://www.is.lg.ua/~paul/devel/binutils.html),
>but it specially applies only to PE files, not generic COFF.  After
>that I several times saw problem described by you, but only during
>experiments and never in real work ;-) , so I didn't bother to fix it
>yet.

DJ fixed the "lseek past end" last summer for his first official act as
a cygwin developer.

AFAIK, this problem should not be an issue if gcc is using cygwin.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

