~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/archive_performance.c

  • Committer: Monty Taylor
  • Date: 2008-10-10 01:40:50 UTC
  • mto: This revision was merged to the branch mainline in revision 499.
  • Revision ID: monty@inaugust.com-20081010014050-8mmtwqy6ii4boq3o
Removed O_BINARY and FILE_BINARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    else
81
81
      printf("Performing read() test\n");
82
82
 
83
 
    if (!(ret= azopen(&reader_handle, TEST_FILENAME, O_RDONLY|O_BINARY,
 
83
    if (!(ret= azopen(&reader_handle, TEST_FILENAME, O_RDONLY,
84
84
                    method)))
85
85
    {
86
86
      printf("Could not open test file\n");
116
116
    return 0;
117
117
  }
118
118
 
119
 
  if (!(ret= azopen(&writer_handle, TEST_FILENAME, O_CREAT|O_RDWR|O_TRUNC|O_BINARY,
 
119
  if (!(ret= azopen(&writer_handle, TEST_FILENAME, O_CREAT|O_RDWR|O_TRUNC,
120
120
                    AZ_METHOD_BLOCK)))
121
121
  {
122
122
    printf("Could not create test file\n");