Skip to content

Commit

Permalink
Added new memory mapped file API for RDOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdos314 committed Nov 22, 2024
1 parent 3002c83 commit 59c90eb
Show file tree
Hide file tree
Showing 2 changed files with 342 additions and 8 deletions.
3 changes: 1 addition & 2 deletions bld/clib/file/c/statrdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ _WCRTLINK int stat( CHAR_TYPE const *path, struct stat *buf )
fullp++;
*fullp = 0;

fullp++;
if( strlen( fullpath ) == 0 )
return( -1 );

Expand All @@ -124,7 +123,7 @@ _WCRTLINK int stat( CHAR_TYPE const *path, struct stat *buf )
dirent = (struct RdosDirEntry *)chainptr;
strcpy( name, dirent->PathName );
_strlwr( name );
if( ( *fullpath == '*') || !strcmp( check, name ) ) {
if( !strcmp( check, name ) ) {
ok = 1;
break;
}
Expand Down
Loading

0 comments on commit 59c90eb

Please sign in to comment.