ENH: trying a slight change

This commit is contained in:
Ken Martin 2006-07-25 12:38:17 -04:00
parent b379666b39
commit 2433bf4517
2 changed files with 6 additions and 6 deletions

View File

@ -118,12 +118,12 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
info->CAPI->DestroySourceFile(source_file);
srcs = argv[2];
info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
/* remove an old file if it is there */
info->CAPI->RemoveFile(argv[2]);
srcs = argv[2];
info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
/* add customs commands to generate the source file */
ccArgs[0] = "-E";
ccArgs[1] = "copy";

View File

@ -118,12 +118,12 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
info->CAPI->DestroySourceFile(source_file);
srcs = argv[2];
info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
/* remove an old file if it is there */
info->CAPI->RemoveFile(argv[2]);
srcs = argv[2];
info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
/* add customs commands to generate the source file */
ccArgs[0] = "-E";
ccArgs[1] = "copy";