Skip to content

Commit

Permalink
checkReadOnly() is now implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 2, 2000
1 parent eb4c4e3 commit cf83618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BASIClib/FileSystemFunctions.c
Expand Up @@ -279,8 +279,7 @@ void _vbpS_kill(PBasicString fileSpec)

static inline __boolean checkReadOnly(struct dirent *pDir)
{
#warning write checkReadOnly()! (How?)
return(false);
return( (access(pDir->d_name, W_OK) == -1) ? true : false );
} /* checkReadOnly */


Expand Down

0 comments on commit cf83618

Please sign in to comment.