Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.os.os2.programmer Subject: PAX for OS/2 with HPFS Keywords: DosBeep, speaker, Begging Message-ID: <5349@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 5 Nov 90 09:17:52 GMT References: <10312@milton.u.washington.edu> <5348@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 42 To make the recently posted (comp.binaries.os2) PAX 2.0 HPFS-compatible, - change NAME_MAX and PATH_MAX to 255 in limits.h - change MAXNAMLEN and MAXPATHLEN to 256 in dir.h - perhaps remove the strlwr() call in dir_os2.c (this preserves case on HPFS file names but leaves FAT file names in upper case) - add NEWFILES to the first line in pax.def and recompile. There is another bug showing up with C 6.0: in list.c, function tar_entry(), change the declaration of mode to unsigned instead of int: *** orig/list.c Tue Jan 16 19:23:24 1990 --- list.c Sun Oct 28 17:25:10 1990 *************** *** 398,404 **** struct tm *atm; int i; Link *link; ! int mode; #ifdef S_IFLNK char symnam[PATH_MAX]; #endif --- 398,404 ---- struct tm *atm; int i; Link *link; ! unsigned mode; #ifdef S_IFLNK char symnam[PATH_MAX]; #endif Kai Uwe Rommel -- /* Kai Uwe Rommel * Munich * rommel@lan.informatik.tu-muenchen.dbp.de */