Bug 000017

When Created: 08/16/1995 19:42:14
Against DJGPP version: 2.00.beta1
By whom:
Abstract: Stubify gives incorrect file extension (.000) when file is in another directory.
This problem occurs when you stubify a file that is not in the current 
directory.  The file gets given the extension .000 instead of .exe.
If the file is renamed to a .exe it runs fine.  I have only observed this bug 
when stubify is called from a makefile,  I will try it from the command
line.  Also I have only tried it with lines of the form:

i.e directories before the current.  I will try it with lower dirs also.

Workaround added: 08/16/1995 19:43:37
By whom:
Simple and obvious - rename the file yourself.  This is not very
good for makefiles,  though.

Note added: 08/17/1995 23:26:21
By whom:
This bug ONLY occurs in the following situation:

the file to be stubified is in another directory at or below your directory
reachable only by going up a level first.  In the directory with the file
to be stubbed is an allready stubbed version.  The stubbed version is 
overwritten by the correct file but with an extention of ".000".  Renaming 
the .000 to .exe produces the correct file.  In all other cases I tested,
stubify correctly overwirites the .exe file with the correct file extention.

Workaround added: 08/17/1995 23:29:35
By whom:
just change your makefiles from the V 1ish pattern of:

gcc file


gcc file

(the exe is generated for you)


Fixed in version 2.00.beta2 on 08/22/1995 21:29:07
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010