From: "Tim Van Holder" To: Subject: RE: An implementation of /dev/zero for DJGPP Date: Mon, 25 Dec 2000 16:25:46 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA01083 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > extern int _djgpp_fsext_devices; > > int _djgpp_fsext_devices = __FSEXT_DEV_ZERO | __FSEXT_DEV_RANDOM; > > This will always link in the /dev/zero support. We are trying to avoid > bloating each program with code and data it will never use. My mistake - had overlooked the fact that the call to __FSEXT_add_open_handler() would pull in the rest of the functions as well. Suggestion withdrawn.