Changeset c1135eef


Ignore:
Timestamp:
Jan 30, 2018, 4:30:50 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
320eb73a
Parents:
e0e47d4
Message:

restore call to strcmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/concurrent/examples/quickSort.c

    re0e47d4 rc1135eef  
    99// Created On       : Wed Dec  6 12:15:52 2017
    1010// Last Modified By : Peter A. Buhr
    11 // Last Modified On : Mon Jan 29 08:41:37 2018
    12 // Update Count     : 155
     11// Last Modified On : Tue Jan 30 15:58:58 2018
     12// Update Count     : 162
    1313//
    1414
     
    100100        if ( argc != 1 ) {                                                                      // do not use defaults
    101101                if ( argc < 2 || argc > 4 ) usage( argv );              // wrong number of options
    102 //              if ( strcmp( argv[1], "-t" ) == 0 ) {                   // timing ?
    103                 if ( argv[1][0] == '-' && argv[1][1] == 't' ) { // timing ?
     102                if ( strcmp( argv[1], "-t" ) == 0 ) {                   // timing ?
    104103                        &unsortedfile = (ifstream *)0;                          // no input
    105104                        choose ( argc ) {
Note: See TracChangeset for help on using the changeset viewer.