🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1285

Is filename truncation possible on FAT filesystems under OS/2?

#1285
From: Nigel Gamble
Date: Mon, 31 Aug 1992 18:56
21 lines
1154 bytes
Under DOS, if your compiler tries to access a file as a result of an

	#include <bsd_types.h>	/* 9 + 1 chars */

directive, and you have a file named bsd_type.h (8 + 1 chars) in your
include directory, everything works as you would expect: DOS trucates
`bsd_types.h' to 8 character (plus extension) and the file `bsd_type.h'
is opened.

However, under OS/2 this does not work.  Instead the compiler objects
that it can't find `bsd_types.h'.

Is there any was to force all file names to be truncated to 8 + 3
(like DOS does) when using a FAT filesystem?

(Yes, I'd like to install the compiler on an HPFS partition, but I'm
not going to do this until I have some way of backing up HPFS partitions
to tape.)
--
Nigel Gamble					nigel@modcomp.com
AA-5B N28491 (FXE)				uunet!modcomp!nigel
Technical Details
Message-ID: <nigel.715287393@fred>
Path: arc1-ca.pugleaf.net!sparky!uunet!modcomp!nigel

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!modcomp!nigel
From: nigel@modcomp.uucp (Nigel Gamble)
Subject: Is filename truncation possible on FAT filesystems under OS/2?
Organization: MODCOMP, an AEG company
Date: Mon, 31 Aug 1992 18:56:33 GMT
Message-ID: <nigel.715287393@fred>
Sender: news@modcomp.uucp (Mr. News)
Lines: 21