Deek / Deek/CoCoC

fopen() and friends don't accept binary modes

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement good first issue
Dominant language
C
Stars
36
Forks
14
PR merge metrics
No merged PRs in 30d

Description

OS-9, like Unix, makes no distinction between text and binary files; but when ANSI showed up, it specified that `fopen` needs to accept `b` even if it makes no difference, for portability with other systems that make a distinction between text and binary files. But when Kreider `fopen()` encounters `b` in a mode string, it fails with an Error 203 (Bad Mode) in `errno`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.