From 41293d498db6d49bd6de0b66e7d92c3e95cf698c Mon Sep 17 00:00:00 2001 From: jesusc Date: Wed, 11 Dec 2002 07:14:50 +0000 Subject: [PATCH] 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 --- src/SDCCmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2