Ticket #18745: swig-1.3.38-rh485540.patch
File swig-1.3.38-rh485540.patch, 611 bytes (added by deliverable@…, 16 years ago) |
---|
-
swig-1.3.38/Source/Modules/main.cxx
diff -up swig-1.3.38/Source/Modules/main.cxx.rh485540 swig-1.3.38/Source/Modules/main.cxx
old new int SWIG_main(int argc, char *argv[], La 954 954 if (!s) { 955 955 Printf(stderr, "Unable to locate '%s' in the SWIG library.\n", input_file); 956 956 } else { 957 FILE *f = Swig_ include_open(outfile);957 FILE *f = Swig_open(outfile); 958 958 if (f) { 959 959 fclose(f); 960 960 Printf(stderr, "File '%s' already exists. Checkout aborted.\n", outfile);