Update of /cvsroot/opengtoolkit/lvzip/c_source
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6712
Modified Files:
lvutil.c lvzip.cws
Log Message:
Fixed a MacOS compilation bug in the source
Index: lvzip.cws
===================================================================
RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvzip.cws,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lvzip.cws 27 Feb 2008 20:48:55 -0000 1.6
--- lvzip.cws 18 Mar 2008 21:57:57 -0000 1.7
***************
*** 9,16 ****
Project 0001 = "lvzip.prj"
Drag Bar Left = 316
! Window Top = 48
! Window Left = 141
! Window Bottom = 787
! Window Right = 1529
Maximized = False
Maximized Children = False
--- 9,16 ----
Project 0001 = "lvzip.prj"
Drag Bar Left = 316
! Window Top = 198
! Window Left = 1347
! Window Bottom = 937
! Window Right = 2735
Maximized = False
Maximized Children = False
***************
*** 26,30 ****
Break At First Statement = False
Sort Type = "File Name"
! Number of Opened Files = 4
Window Confinement Region Enabled = True
MainColumnWidth = 297
--- 26,30 ----
Break At First Statement = False
Sort Type = "File Name"
! Number of Opened Files = 0
Window Confinement Region Enabled = True
MainColumnWidth = 297
***************
*** 50,54 ****
Window Top = 25
Window Left = 6
- Window Z-Order = 2
Source Window State = "1,0,0,0,0,0,0,0,0,80,0,0,0,0,0,25,0,0,0,0,349,676,1,0,"
--- 50,53 ----
***************
*** 60,64 ****
Window Top = 29
Window Left = 15
- Window Z-Order = 1
Source Window State = "1,0,0,0,0,0,0,0,0,99,0,0,0,0,0,46,17,0,38,0,633,827,1,0,"
--- 59,62 ----
***************
*** 66,75 ****
Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.c"
File Type = "CSource"
! Disk Date = 3286985840
In Projects = "1,"
Window Top = 25
Window Left = 6
! Window Z-Order = 3
! Source Window State = "1,475,475,475,12,19,12,0,0,106,0,0,0,0,0,51,410,0,475,13,691,881,1,0,"
[File 0004]
--- 64,72 ----
Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.c"
File Type = "CSource"
! Disk Date = 3287029305
In Projects = "1,"
Window Top = 25
Window Left = 6
! Source Window State = "1,45,45,45,0,4,0,0,0,106,0,0,0,0,0,51,117,0,141,26,691,881,1,0,"
[File 0004]
***************
*** 78,84 ****
Disk Date = 3286989125
In Projects = "1,"
! Window Top = 23
! Window Left = 275
! Window Z-Order = 4
Source Window State = "1,212,212,212,16,23,16,0,3,99,0,0,0,0,0,40,207,0,212,23,545,823,1,0,"
--- 75,80 ----
Disk Date = 3286989125
In Projects = "1,"
! Window Top = 27
! Window Left = 8
Source Window State = "1,212,212,212,16,23,16,0,3,99,0,0,0,0,0,40,207,0,212,23,545,823,1,0,"
Index: lvutil.c
===================================================================
RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvutil.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** lvutil.c 28 Feb 2008 07:47:54 -0000 1.8
--- lvutil.c 18 Mar 2008 21:57:57 -0000 1.9
***************
*** 140,151 ****
/* MacOSX seems to return sometimes bdNamErr for longer filenames,
so we try to catch that too. */
! Str255 temp[0] = 0;
DEBUGPRINTF(("MakeFileSpec: trying with subpaths"));
! if (!vRefNum)
{
HParamBlockRec hpb;
hpb.volumeParam.ioVRefNum = vRefNum;
hpb.volumeParam.ioNamePtr = (StringPtr)temp;
--- 140,152 ----
/* MacOSX seems to return sometimes bdNamErr for longer filenames,
so we try to catch that too. */
! Str255 temp;
DEBUGPRINTF(("MakeFileSpec: trying with subpaths"));
! if (!vRefNum)
{
HParamBlockRec hpb;
+ temp[0] = 0;
hpb.volumeParam.ioVRefNum = vRefNum;
hpb.volumeParam.ioNamePtr = (StringPtr)temp;
|