fixed an error where -c argument wasn't working for single files
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
#define PRINT(...) fprintf(stdout, __VA_ARGS__)
|
#define PRINT(...) fprintf(stdout, __VA_ARGS__)
|
||||||
#define DEBUG(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
|
#define DEBUG(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
|
||||||
#define FILE_CHUNK_SIZE 4 << 20
|
#define FILE_CHUNK_SIZE 4 << 20
|
||||||
#define MAX_NUM_JOBS 2;
|
#define MAX_NUM_JOBS 2
|
||||||
#define stdinmark "/*stdin*\\"
|
#define stdinmark "/*stdin*\\"
|
||||||
#define stdoutmark "/*stdout*\\"
|
#define stdoutmark "/*stdout*\\"
|
||||||
#define MAX_PATH 256
|
#define MAX_PATH 256
|
||||||
@@ -612,6 +612,7 @@ int main(int argCount, const char* argv[])
|
|||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
forceStdout = 1;
|
forceStdout = 1;
|
||||||
|
outFilename = stdoutmark;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DISPLAY("Error: invalid argument provided\n");
|
DISPLAY("Error: invalid argument provided\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user