> From: Akim Demaille <[EMAIL PROTECTED]>
> User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
>
> But the question remains open :)

I certainly recall reports of hosts where fopen (..."wb") did not work.
However, I don't recall which hosts they were.

I briefly looked around the net for reports of these ancient hosts.
The best that I could find was:

http://netlib2.cs.utk.edu/f2c/libi77

which says:

   If your system's fopen does not like the ANSI binary
   reading and writing modes "rb" and "wb", then you should
   compile open.c with NON_ANSI_RW_MODES #defined.

and contains code that looks like this:

   #ifdef NON_ANSI_RW_MODES
   char *f__r_mode[2] = {"r", "r"};
   char *f__w_mode[4] = {"w", "w", "r+w", "r+w"};
   #else
   char *f__r_mode[2] = {"rb", "r"};
   char *f__w_mode[4] = {"wb", "w", "r+b", "r+"};
   #endif

I think it's pretty clear that the problem existed at one time.
Whether it still exists now is another question.

Reply via email to