Article View: comp.os.os2.programmer
Article #1754NMake, support long filename ?
From: Tim Francis
Date: Fri, 06 Nov 1992 15:39
Date: Fri, 06 Nov 1992 15:39
29 lines
1969 bytes
1969 bytes
In article <1992Nov6.020021.29864@nuscc.nus.sg>, scstech@solomon.technet.sg (Wilson Lau) writes: > >Howdy, > > I'm new to OS/2 and I'm trying to port an application from Unix to OS/2. While using the NMAKE utility from the Developer's Toolkit, I got a warning >message on a filename that was longer than 8 characters in length. Is there >an option/fix to resolve this ? I was happy to note that the HP partition now >supports long filenames but looks like I still have to be constrained by 8-char >filename limits. Doesnt't make much sense here. I would be grateful if >anyone out there has a solution to this. Thanks for your kind attention. There is a bug in the current version of NMAKE, that restricts the use of HPFS filenames to a OS/2 versions with a minor version >=2 (it should have also checked the major version). You can phone the OS/2 support line (1-800-3IBM-OS2, I think) and request a fixed version of NMAKE -- sorry, I don't have the APAR number. If you feel adventurous, you can patch the code yourself. WARNING: Making the following patch is not supported!!!! If in doubt, phone the support line and get the real fix. For NMAKE version 2.000.000, file size 88013 and file date 3-30-92 use the PATCH utility and specify file offset 7B34. The data at this location should be: 80 3E 6D 15 14 ... The 14 is the version number. Change this to 00. Thus the data should now be: 80 3E 6D 15 00 ... NMAKE will now support HPFS filenames. -tim
Technical Details
Message-ID:
<19921106.073940.447@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.comReferences:
<1992Nov6.020021.29864@nuscc.nus.sg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com From: francis@vnet.ibm.com (Tim Francis) Message-ID: <19921106.073940.447@almaden.ibm.com> Date: Fri, 6 Nov 92 10:39:27 EST Subject: NMake, support long filename ? Newsgroups: comp.os.os2.programmer References: <1992Nov6.020021.29864@nuscc.nus.sg> Reply-To: francis@vnet.ibm.com Organization: IBM Canada Lab, WorkFrame/2 development Disclaimer: This posting represents the poster's views, not those of IBM Lines: 29