From: jesusc Date: Wed, 11 Dec 2002 07:14:50 +0000 (+0000) Subject: Change extension 'cdb' to 'adb', so the linker doesn't overwrite the first file X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=41293d498db6d49bd6de0b66e7d92c3e95cf698c;p=fw%2Fsdcc Change extension 'cdb' to 'adb', so the linker doesn't overwrite the first file wrecking its content. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2112 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCmain.c b/src/SDCCmain.c index f6c85265..1f198456 100644 --- a/src/SDCCmain.c +++ b/src/SDCCmain.c @@ -1107,7 +1107,7 @@ parseCmdLine (int argc, char **argv) /* if debug option is set the open the cdbFile */ if (options.debug && srcFileName) { - sprintf (scratchFileName, "%s.cdb", srcFileName); + sprintf (scratchFileName, "%s.adb", srcFileName); //JCF: Nov 30, 2002 if ((cdbFile = fopen (scratchFileName, "w")) == NULL) werror (E_FILE_OPEN_ERR, scratchFileName); else