VMS Specific question about binary reads using fgetc

Karl Heuer karl at haddock.ima.isc.com
Fri Jun 29 08:42:41 AEST 1990


In article <686 at illini.osc.edu> djh at osc.edu (David Heisterberg) writes:
>In article <.X94JD6 at xds13.ferranti.com>, peter at ficc.ferranti.com (Peter da Silva) writes:
>> The existing syntax, "#include <stdio.h>" was already perfectly well
>> suited for those semantics.
>
>Then use it.  It works just fine.  I don't understand what you're complaining
>about.  VMS often has include-like files in text libraries, and the VAX C
>extension to #include takes advantage of that.

The point is, there was no need to invent a syntax extension.  DEC should have
simply asserted that `#include <stdio.h>' searches a text library in addition
to a directory.  That way, we all get the benefit of the speed advantage, and
DEC wouldn't now be in the embarrassing position of having a feature that is
in direct conflict with the ANSI C `#include MACRONAME' feature.

(It was a botch to use angle brackets as well as quotes in the first place,
but it's way too late to correct that.)

Karl W. Z. Heuer (karl at kelp.ima.isc.com or ima!kelp!karl), The Walking Lint



More information about the Comp.lang.c mailing list