Mail Archives: djgpp-workers/2003/03/27/09:17:04
Hello.
Below is the patch for DJGPP 2.03 for the problem with symlink
generating executable stubs for non-executable sources. I have used
this patch in release 6 of fileutils 4.1. I'll upload release 6
to DJ later today (GMT+1).
If we do another refresh of DJGPP 2.03, I think we should apply
this patch. It seems unlikely that there will be another refresh,
though.
Bye, Rich =]
*** /djgpp/src/libc/posix/unistd/symlink.c Tue Dec 14 06:53:00 1999
--- c:/develop/ports/notes/fileutils-4.1/symlink.c Thu Mar 27 11:34:30 2003
*************** static int is_v2_prog(const char *progra
*** 46,52 ****
type = _check_v2_prog (program, -1);
! if (!type->valid)
return -1;
if (type->object_format != _V2_OBJECT_FORMAT_COFF)
--- 46,52 ----
type = _check_v2_prog (program, -1);
! if (!type->valid && !__file_exists(program))
return -1;
if (type->object_format != _V2_OBJECT_FORMAT_COFF)
- Raw text -