delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/15/09:22:54

X-Authentication-Warning: smtp3.ihug.com.au: Host p513-apx1.syd.ihug.com.au [203.173.142.5] claimed to be acceleron
Message-ID: <010d01c1258c$b31d8530$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>, <pavenis AT lanet DOT lv>, <sandmann AT clio DOT rice DOT edu>
References: <3B791F66 DOT 22654 DOT 6DAEEC AT localhost> <00d801c124ac$90280040$0a02a8c0 AT acceleron>
Subject: Re: Selector Exhaustion
Date: Wed, 15 Aug 2001 23:17:55 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Reply-To: djgpp-workers AT delorie DOT com

> > Here is patch that seems to work both under Win98SE and
> > WinNT 4.0+SP6 (with my test program). I added wrapper procedure
> > around original direct_exec_tail() as I think it's easier to debug if
> > needed.
> >
> > Cannot test on Win2k though.
>
> Thanks for merging the two changes. This should help me out as I still
build
> code on the Win 98 box and then test it on the Win 2K box. It may take me
a
> few days to test it. I will let you know how I go when I try it.
>
> Just spent the last hour reading and getting up to speed with the issues
> while I was at work.

I applied the patch and have for the first time fully re-built LIBC on my
Win 98 box without it stopping.  As expected no changes for Win 2K compared
to Charles patch I was previouslt using.

I had one problem in applying the patch to the source code from the
12-Aug-2001 CVS tarball, patch rejected the change at line 157. I cannot
couldn't find any differences betwern the line from CVS and the diff file
after I removed the first two characters of the diff file. I checked with a
hex viewer and could see any diffreneces. The info on the failure is below.
I was using patch version 2.5.3. The other chunk was applied correctly.

Any ideas on what may cause this? I tried again and again and it keeps on
failing and I can't see why.

DJGPP C:\dj204\contrib\dosexec>patch -p 0 <dosexec.dif
patching file "dosexec.c"
Hunk #1 FAILED at 157.
Hunk #2 succeeded at 413 with fuzz 1.
1 out of 2 hunks FAILED -- saving rejects to file "dosexec.c.rej"

***************
*** 157,163 ****
     if LFN is 2, there is a possiblity that the contents of the
     transfer buffer will be overrun!  */
  static int
! direct_exec_tail(const char *program, const char *args,
  char * const envp[], const char *proxy, int lfn,
  const char *cmdline_var)
  {
--- 157,163 ----
     if LFN is 2, there is a possiblity that the contents of the
     transfer buffer will be overrun!  */
  static int
! direct_exec_tail_1 (const char *program, const char *args,
  char * const envp[], const char *proxy, int lfn,
  const char *cmdline_var)
  {

- Raw text -


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