Bug 000276
When Created: 03/15/1999 23:00:11
Against DJGPP version: 2.02
By whom: John_B_Pratt@yahoo.com
Abstract: __djgpp_share_flags don't work with fopen
The documentation (on-line and otherwise) indicates that __djgpp_share_flags
should work with fopen and that an extern should appear in fcntl.h. These
files, however, have to reference to this variable.
Workaround added: 03/15/1999 23:00:40
By whom: John_B_Pratt@yahoo.com
There are other ways to open the file for sharing but I wanted to use ANSI
file functions. I can always cheat by filling in a file structure myself.
Note added: 03/20/1999 19:00:18
By whom: John_B_Pratt@yahoo.com
I found that I wasn't using the latest version of fcntl.h. The latest one
does have an extern for the flags. The source I download for fopen.c, however
still doesn't show usage of the flags.
Note added: 04/13/1999 12:00:57
By whom: eliz@is.elta.co.il
The source for `fopen' indeed doesn't use the variable directly, but
that's not a bug: the share flags are used by `open' which is called
by `fopen'.
Solution added: 04/13/1999 12:00:02
By whom: eliz@is.elta.co.il
This works in v2.02. It was never a bug in the first place: the user
simply had a stale version of fcntl.h.
Fixed in version on 04/13/1999 12:00:47
By whom: eliz@is.elta.co.il