home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4605 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!modcomp!nigel
  3. From: nigel@modcomp.uucp (Nigel Gamble)
  4. Subject: Is filename truncation possible on FAT filesystems under OS/2?
  5. Organization: MODCOMP, an AEG company
  6. Date: Mon, 31 Aug 1992 18:56:33 GMT
  7. Message-ID: <nigel.715287393@fred>
  8. Sender: news@modcomp.uucp (Mr. News)
  9. Lines: 21
  10.  
  11. Under DOS, if your compiler tries to access a file as a result of an
  12.  
  13.     #include <bsd_types.h>    /* 9 + 1 chars */
  14.  
  15. directive, and you have a file named bsd_type.h (8 + 1 chars) in your
  16. include directory, everything works as you would expect: DOS trucates
  17. `bsd_types.h' to 8 character (plus extension) and the file `bsd_type.h'
  18. is opened.
  19.  
  20. However, under OS/2 this does not work.  Instead the compiler objects
  21. that it can't find `bsd_types.h'.
  22.  
  23. Is there any was to force all file names to be truncated to 8 + 3
  24. (like DOS does) when using a FAT filesystem?
  25.  
  26. (Yes, I'd like to install the compiler on an HPFS partition, but I'm
  27. not going to do this until I have some way of backing up HPFS partitions
  28. to tape.)
  29. --
  30. Nigel Gamble                    nigel@modcomp.com
  31. AA-5B N28491 (FXE)                uunet!modcomp!nigel
  32.