[Plib-cvs] plib/src/pui pu.h,1.127,1.128
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-09-02 13:48:31
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv30883 Modified Files: pu.h Log Message: Changed PUSTRING_INITIAL to 128. See comment inside and in the plib-devel list in my mail from 2.9. 15:25 Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.127 retrieving revision 1.128 diff -u -d -r1.127 -r1.128 --- pu.h 2 Sep 2002 06:05:44 -0000 1.127 +++ pu.h 2 Sep 2002 13:47:02 -0000 1.128 @@ -327,7 +327,11 @@ #define PUSTRING_MAX 80 /* With many memory managers, allocating powers of two is more efficient */ -#define PUSTRING_INITIAL 64 +// wk: This was 64. But in the viewer example, compiled as debug build with MSVC +// when you choose a file with a path/file name length more than 64, there will be +// a crash. Obviously, the right thing to do would be to find the real cause +// for this and fix it, but I could not find it and we need to release... +#define PUSTRING_INITIAL 128 extern puColour _puDefaultColourTable[] ; |