Ignore:
Timestamp:
2008-11-07T13:38:22+13:00 (15 years ago)
Author:
ak19
Message:

(Minor changes, defensive programming.) Dr Bainbridge corrected all newlines chars printed out to stderr and stdout to endl as this may produce more consistent results across operating systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/src/gdbmedit/gdbmget/gdbmget.cpp

    r17091 r17782  
    8383  if (dbf == NULL)
    8484    {
    85       cerr << "couldn't create " << argv[1] << "\n";
     85      cerr << "couldn't create " << argv[1] << endl;
    8686      exit (-1);
    8787    }
     
    9696          cout << value.dptr[i];
    9797        }
    98       printf("\n");
     98      cout << endl; // used to be printf("\n");
    9999      // ?? free(value.dptri);
    100100    }
    101101  else
    102102    {
    103       printf("\n");
     103      cout << endl; // used to be printf("\n");
    104104    }
    105105 
Note: See TracChangeset for help on using the changeset viewer.