diff --git a/CHANGES.current b/CHANGES.current index 9c1c2ae83..3cb7b2de4 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,9 @@ Version 1.3.39 (in progress) ============================ +2008-02-20: wsfulton + Fix SF #2605955: -co option which broke in 1.3.37. + 2008-02-20: wsfulton New %insert("begin") section added. Also can be used as %begin. This is a new code section reserved entirely for users and the code within the section is generated diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx index 4603ac339..c824db6f9 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx @@ -955,7 +955,7 @@ int SWIG_main(int argc, char *argv[], Language *l) { if (!s) { Printf(stderr, "Unable to locate '%s' in the SWIG library.\n", input_file); } else { - FILE *f = Swig_include_open(outfile); + FILE *f = Swig_open(outfile); if (f) { fclose(f); Printf(stderr, "File '%s' already exists. Checkout aborted.\n", outfile);