Ticket #18745: swig-1.3.38-rh485540.patch

File swig-1.3.38-rh485540.patch, 611 bytes (added by deliverable@…, 15 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 
    954954    if (!s) {
    955955      Printf(stderr, "Unable to locate '%s' in the SWIG library.\n", input_file);
    956956    } else {
    957       FILE *f = Swig_include_open(outfile);
     957      FILE *f = Swig_open(outfile);
    958958      if (f) {
    959959        fclose(f);
    960960        Printf(stderr, "File '%s' already exists. Checkout aborted.\n", outfile);