Mail Archives: djgpp/1993/12/16/07:08:58
First off all thanks to DJ and whoever else was involved
in the work for 1.11
go32/control.c has a small bug (probably a typo), that will, if at
all, only show when the link feature of stubedit is used.
Dieter
*** control.oc Sun Dec 5 06:30:38 1993
--- control.c Thu Dec 16 17:31:02 1993
***************
*** 810,816 ****
if (stub_info.actual_file_to_run[0])
{
char *cp;
! argv0_to_run = (char *)malloc(strlen(argv0_to_pass + 13));
strcpy(argv0_to_run, argv0_to_pass);
for (cp = argv0_to_run + strlen(argv0_to_run) - 1; cp > argv0_to_run; cp--)
if (cp[-1] == '/' || cp[-1] == '\\' || cp[-1] == ':')
--- 810,816 ----
if (stub_info.actual_file_to_run[0])
{
char *cp;
! argv0_to_run = (char *)malloc(strlen(argv0_to_pass) + 13);
strcpy(argv0_to_run, argv0_to_pass);
for (cp = argv0_to_run + strlen(argv0_to_run) - 1; cp > argv0_to_run; cp--)
if (cp[-1] == '/' || cp[-1] == '\\' || cp[-1] == ':')
- Raw text -