View | Details | Raw Unified
Collapse All | Expand All

(-) commandline.cpp.orig (+14 lines)
 Lines 550-555    Link Here 
        }
        }
        else
        else
        {
        {
          //start of shell expanded * patch. -- Michael Evans
          //The shell might expaned * so, if we have our name and we're creating, then filter for files...
          if ((parfilename.length() != 0) && (operation == opCreate))
          {
            struct stat st;
            if (!(stat(argv[0], &st) == 0 && S_ISREG(st.st_mode)))
            {
              cerr << "Skipping non-regular file: " << argv[0] << endl;
              argc--;
              argv++;
              options = false;
              continue;
            }
          }//end of shell expanded * patch. -- Michael Evans
          filenames = new list<string>;
          filenames = new list<string>;
          filenames->push_back(argv[0]);
          filenames->push_back(argv[0]);
        }
        }