Changeset 412 for trunk/orca/files.c

Show
Ignore:
Timestamp:
06/13/07 23:01:26 (18 months ago)
Author:
krobillard
Message:

dir? throws error if cannot query file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/files.c

    r145 r412  
    116116    status = orIsDir( str->charArray + a1->series.it ); 
    117117    if( status < 0 ) 
    118         status = 0; 
     118    { 
     119        orErrorT( OR_ERROR_ACCESS, "cannot query \"%s\"",  
     120                  str->charArray + a1->series.it ); 
     121        return; 
     122    } 
    119123    orResult( OT_LOGIC, status ); 
    120124}