Mail Archives: djgpp-workers/2001/08/15/09:22:54
> > 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 -