From: Rolf K. <lab...@us...> - 2008-05-02 12:09:25
|
Update of /cvsroot/opengtoolkit/lvzip/c_source In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8978 Modified Files: lvutil.c lvzip.cws Log Message: Fix a path length problem for Mac OS X Index: lvzip.cws =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvzip.cws,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lvzip.cws 31 Mar 2008 20:45:25 -0000 1.8 --- lvzip.cws 2 May 2008 12:09:26 -0000 1.9 *************** *** 8,18 **** Active Project = 1 Project 0001 = "lvzip.prj" ! Project 0001 Folder Source Files Collapsed = True Project 0001 Folder Headers Collapsed = True Drag Bar Left = 316 ! Window Top = 26 ! Window Left = 141 ! Window Bottom = 765 ! Window Right = 1529 Maximized = False Maximized Children = False --- 8,18 ---- Active Project = 1 Project 0001 = "lvzip.prj" ! Project 0001 Collapsed = True Project 0001 Folder Headers Collapsed = True Drag Bar Left = 316 ! Window Top = 23 ! Window Left = 17 ! Window Bottom = 762 ! Window Right = 1405 Maximized = False Maximized Children = False *************** *** 28,32 **** Break At First Statement = False Sort Type = "File Name" ! Number of Opened Files = 4 Window Confinement Region Enabled = True MainColumnWidth = 297 --- 28,32 ---- Break At First Statement = False Sort Type = "File Name" ! Number of Opened Files = 3 Window Confinement Region Enabled = True MainColumnWidth = 297 *************** *** 46,49 **** --- 46,79 ---- [File 0001] + Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.c" + File Type = "CSource" + Disk Date = 3289833408 + In Projects = "1," + Window Top = 25 + Window Left = 6 + Window Z-Order = 1 + Source Window State = "1,45,45,45,0,4,0,0,0,106,0,0,0,0,0,51,455,0,480,19,691,881,1,0," + + [File 0002] + Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.h" + File Type = "Include" + Disk Date = 3289840737 + In Projects = "1," + Window Top = 25 + Window Left = 6 + Window Z-Order = 2 + Source Window State = "1,49,49,49,6,7,7,0,0,105,0,0,0,0,0,29,30,0,49,6,402,869,1,0," + + [File 0003] + Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/unzip.c" + File Type = "CSource" + Disk Date = 3289840961 + In Projects = "1," + Window Top = 25 + Window Left = 5 + Window Z-Order = 3 + Source Window State = "1,964,964,964,12,13,12,0,0,141,0,0,0,0,0,41,1059,0,1079,8,568,1163,1,0," + + [File 0004] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/adler32.c" File Type = "CSource" *************** *** 54,58 **** Source Window State = "1,7,8,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,284,676,1,0," ! [File 0002] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/compress.c" File Type = "CSource" --- 84,88 ---- Source Window State = "1,7,8,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,284,676,1,0," ! [File 0005] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/compress.c" File Type = "CSource" *************** *** 63,67 **** Source Window State = "1,7,8,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,282,838,1,0," ! [File 0003] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crc32.c" File Type = "CSource" --- 93,97 ---- Source Window State = "1,7,8,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,282,838,1,0," ! [File 0006] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crc32.c" File Type = "CSource" *************** *** 72,76 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,27,60,283,794,1,0," ! [File 0004] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crc32.h" File Type = "Include" --- 102,106 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,27,60,283,794,1,0," ! [File 0007] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crc32.h" File Type = "Include" *************** *** 79,83 **** Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0005] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crypt.h" File Type = "Include" --- 109,113 ---- Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0008] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/crypt.h" File Type = "Include" *************** *** 88,92 **** Source Window State = "1,88,88,88,34,35,34,0,0,0,0,0,0,0,0,0,77,0,86,21,517,1234,1,0," ! [File 0006] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/deflate.c" File Type = "CSource" --- 118,122 ---- Source Window State = "1,88,88,88,34,35,34,0,0,0,0,0,0,0,0,0,77,0,86,21,517,1234,1,0," ! [File 0009] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/deflate.c" File Type = "CSource" *************** *** 97,101 **** Source Window State = "1,98,99,98,0,0,0,0,0,0,0,0,0,0,0,0,27,0,91,22,785,917,1,0," ! [File 0007] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/deflate.h" File Type = "Include" --- 127,131 ---- Source Window State = "1,98,99,98,0,0,0,0,0,0,0,0,0,0,0,0,27,0,91,22,785,917,1,0," ! [File 0010] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/deflate.h" File Type = "Include" *************** *** 106,110 **** Source Window State = "1,298,298,298,0,11,11,0,0,0,0,0,0,0,0,0,3,0,19,0,530,1049,1,0," ! [File 0008] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/infback.c" File Type = "CSource" --- 136,140 ---- Source Window State = "1,298,298,298,0,11,11,0,0,0,0,0,0,0,0,0,3,0,19,0,530,1049,1,0," ! [File 0011] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/infback.c" File Type = "CSource" *************** *** 115,119 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0009] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffast.c" File Type = "CSource" --- 145,149 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0012] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffast.c" File Type = "CSource" *************** *** 124,128 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,852,1,0," ! [File 0010] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffast.h" File Type = "Include" --- 154,158 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,852,1,0," ! [File 0013] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffast.h" File Type = "Include" *************** *** 133,137 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,349,676,1,0," ! [File 0011] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffixed.h" File Type = "Include" --- 163,167 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,349,676,1,0," ! [File 0014] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inffixed.h" File Type = "Include" *************** *** 140,144 **** Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0012] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inflate.c" File Type = "CSource" --- 170,174 ---- Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0015] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inflate.c" File Type = "CSource" *************** *** 149,153 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0013] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inflate.h" File Type = "Include" --- 179,183 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0016] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inflate.h" File Type = "Include" *************** *** 158,162 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,388,779,1,0," ! [File 0014] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inftrees.c" File Type = "CSource" --- 188,192 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,388,779,1,0," ! [File 0017] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inftrees.c" File Type = "CSource" *************** *** 165,172 **** 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,9,0,38,0,633,827,1,0," ! [File 0015] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inftrees.h" File Type = "Include" --- 195,201 ---- Window Top = 29 Window Left = 15 ! Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,38,0,633,827,1,0," ! [File 0018] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/inftrees.h" File Type = "Include" *************** *** 177,181 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,499,1052,1,0," ! [File 0016] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/ioapi.c" File Type = "CSource" --- 206,210 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,499,1052,1,0," ! [File 0019] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/ioapi.c" File Type = "CSource" *************** *** 186,190 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0017] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/ioapi.h" File Type = "Include" --- 215,219 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,284,676,1,0," ! [File 0020] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/ioapi.h" File Type = "Include" *************** *** 193,197 **** Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0018] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iomem.c" File Type = "CSource" --- 222,226 ---- Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0021] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iomem.c" File Type = "CSource" *************** *** 202,206 **** Source Window State = "1,105,105,105,12,96,12,0,0,0,0,0,0,0,0,0,92,0,105,92,491,939,1,0," ! [File 0019] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iomem.h" File Type = "Include" --- 231,235 ---- Source Window State = "1,105,105,105,12,96,12,0,0,0,0,0,0,0,0,0,92,0,105,92,491,939,1,0," ! [File 0022] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iomem.h" File Type = "Include" *************** *** 211,215 **** Source Window State = "1,9,10,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,327,888,1,0," ! [File 0020] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iowin32.c" File Type = "CSource" --- 240,244 ---- Source Window State = "1,9,10,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,327,888,1,0," ! [File 0023] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iowin32.c" File Type = "CSource" *************** *** 220,224 **** Source Window State = "1,70,71,70,0,0,0,0,0,0,0,60,0,0,0,0,60,0,70,0,528,1016,1,0," ! [File 0021] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iowin32.h" File Type = "Include" --- 249,253 ---- Source Window State = "1,70,71,70,0,0,0,0,0,0,0,60,0,0,0,0,60,0,70,0,528,1016,1,0," ! [File 0024] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/iowin32.h" File Type = "Include" *************** *** 227,231 **** Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0022] Path = "/c/Work/OpenG/opengtoolkit/cintools/labview.lib" File Type = "Library" --- 256,260 ---- Source Window State = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," ! [File 0025] Path = "/c/Work/OpenG/opengtoolkit/cintools/labview.lib" File Type = "Library" *************** *** 233,257 **** In Projects = "1," ! [File 0023] ! Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.c" ! File Type = "CSource" ! Disk Date = 3289833408 ! In Projects = "1," ! Window Top = 25 ! Window Left = 6 ! Window Z-Order = 2 ! Source Window State = "1,45,45,45,0,4,0,0,0,106,0,0,0,0,0,51,455,0,480,19,691,881,1,0," ! ! [File 0024] ! Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/lvutil.h" ! File Type = "Include" ! Disk Date = 3289840737 ! In Projects = "1," ! Window Top = 25 ! Window Left = 6 ! Window Z-Order = 3 ! Source Window State = "1,49,49,49,6,7,7,0,0,105,0,0,0,0,0,29,30,0,49,6,402,869,1,0," ! ! [File 0025] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/mztools.c" File Type = "CSource" --- 262,266 ---- In Projects = "1," ! [File 0026] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/mztools.c" File Type = "CSource" *************** *** 262,266 **** Source Window State = "1,12,12,12,10,15,10,0,0,0,0,0,0,0,0,0,0,0,16,19,522,1074,1,0," ! [File 0026] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/mztools.h" File Type = "Include" --- 271,275 ---- Source Window State = "1,12,12,12,10,15,10,0,0,0,0,0,0,0,0,0,0,0,16,19,522,1074,1,0," ! [File 0027] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/mztools.h" File Type = "Include" *************** *** 271,275 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,471,939,1,0," ! [File 0027] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/trees.c" File Type = "CSource" --- 280,284 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,471,939,1,0," ! [File 0028] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/trees.c" File Type = "CSource" *************** *** 280,284 **** Source Window State = "1,33,33,33,11,22,11,0,0,0,0,0,0,0,0,0,15,0,50,41,536,717,1,0," ! [File 0028] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/trees.h" File Type = "Include" --- 289,293 ---- Source Window State = "1,33,33,33,11,22,11,0,0,0,0,0,0,0,0,0,15,0,50,41,536,717,1,0," ! [File 0029] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/trees.h" File Type = "Include" *************** *** 289,293 **** Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,540,666,1,0," ! [File 0029] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/uncompr.c" File Type = "CSource" --- 298,302 ---- Source Window State = "1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,540,666,1,0," ! [File 0030] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/uncompr.c" File Type = "CSource" *************** *** 298,311 **** Source Window State = "1,7,8,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,284,676,1,0," - [File 0030] - Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/unzip.c" - File Type = "CSource" - Disk Date = 3289840143 - In Projects = "1," - Window Top = 25 - Window Left = 5 - Window Z-Order = 4 - Source Window State = "1,964,964,964,12,13,12,0,0,141,0,0,0,0,0,41,1059,0,1079,8,568,1163,1,0," - [File 0031] Path = "/c/Work/OpenG/opengtoolkit/lvzip/c_source/unzip.h" --- 307,310 ---- Index: lvutil.c =================================================================== RCS file: /cvsroot/opengtoolkit/lvzip/c_source/lvutil.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** lvutil.c 31 Mar 2008 19:54:32 -0000 1.10 --- lvutil.c 2 May 2008 12:09:26 -0000 1.11 *************** *** 48,53 **** Boolean wasChanged; Str32 nullString; ! ! if (fullPathLength < 255) { StringPtr myString = (StringPtr)DSNewPtr(fullPathLength + 1); --- 48,55 ---- Boolean wasChanged; Str32 nullString; ! ! /* The value 99 below has been determined by testing so it really is a hack that might ! or might not work everywhere. For now we just go with that and see where it leads. */ ! if (fullPathLength < 99) { StringPtr myString = (StringPtr)DSNewPtr(fullPathLength + 1); |