Newsgroups: comp.os.os2.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!ubc-cs!unixg.ubc.ca!cheddar.ucs.ubc.ca!ballard From: ballard@cheddar.ucs.ubc.ca (Alan Ballard) Subject: Re: HPFS and IBM C/2: opening files (Part 3) Message-ID: <1991Apr17.154359.17100@unixg.ubc.ca> Keywords: HPFS, C/2, fopen Sender: news@unixg.ubc.ca (Usenet News Maintenance) Nntp-Posting-Host: cheddar.ucs.ubc.ca Organization: Computing Services, University of British Columbia References: <1991Apr17.110322.17440@grasp1.univ-lyon1.fr> Date: Wed, 17 Apr 1991 15:43:59 GMT In article <1991Apr17.110322.17440@grasp1.univ-lyon1.fr> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes: > - I don't have either exehdr ot the other tool. I also suggested you could use the DEF file to set the long names attribute; if you don't have exehdr (are you sure?), then use the def file line: NAME test NEWFILES This assumes you have a new enough version of the linker to support HPFS attributes. >So, I still have a SYS1943: A program caused a protection violation when >I try to open a file whose name is DEBUG.TEST on my HPFS disk with fopen. I don't know why it should cause a protection violation. Maybe you have an old library that doesn't understand HPFS (I wonder if it tries to copy the filename?) Alan Ballard | Internet: ballard@ucs.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-822-3074 Vancouver B.C. Canada V6R 1Z2 | Fax: 604-822-5116