Adjust src/sorting/main.c to read stdin by default.
authorW. Trevor King <wking@drexel.edu>
Mon, 25 Oct 2010 14:37:56 +0000 (10:37 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 25 Oct 2010 14:37:56 +0000 (10:37 -0400)
src/sorting/main.c

index 43fa55eb1d7a23d3f6703b351dbf15d03a812726..d8c3e35fb32536bb959622b8463296e199ba2c2b 100644 (file)
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
 {
        int list_size, i;
        double *list;
-       char *file_name = "data";
+       char *file_name = "-";
 
        // parse arguments
        if (argc > 1)