fopen: do not require read access when opening a file for append only.

This can cause an error if the file's permissions deny read access.
This commit is contained in:
Stephen Heumann 2020-02-17 19:49:18 -06:00
parent 717cf99071
commit e9de42d6c4
1 changed files with 1 additions and 2 deletions

View File

@ -763,10 +763,9 @@ OSname equ 11 pointer to the GS/OS file name
lda [type] make sure the file type is in ['a','r','w']
and #$00FF
sta fileType
ldx #$0003
ldx #$0002
cmp #'a'
beq cn1
ldx #$0002
cmp #'w'
beq cn1
ldx #$0001