🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1838

Re: DVItoPS on DECstation

#1838
From: Doug Gwyn
Date: Mon, 15 Oct 1990 17:58
13 lines
966 bytes
In article <1990Oct13.204721.8027@maths.tcd.ie> tim@maths.tcd.ie (Timothy Murphy) writes:
>and was surprised to find that the compiler didn't like
>	fopen(filename, "rb");
>It didn't object at compile-time,

NO, the compiler does not parse the "rb" string; that is done by the
fopen() function at run time.

>but simply failed to open the file (returning NULL).

Assuming that the file designated by "filename" should have been openable,
apparently the C environment you're using does not provide a standard
conforming implementation of fopen().  Complain to the vendor.
Technical Details
Message-ID: <14155@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!purdue!haven!adm!smoke!gwyn
References: <1990Oct13.204721.8027@maths.tcd.ie>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!purdue!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: DVItoPS on DECstation
Keywords: fopen, binary-mode
Message-ID: <14155@smoke.BRL.MIL>
Date: 15 Oct 90 17:58:48 GMT
References: <1990Oct13.204721.8027@maths.tcd.ie>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 13