dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/image create.c,1.3,1.4


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image create.c,1.3,1.4
Date: Fri, 10 Jan 2003 05:05:37 -0500

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv4158/image

Modified Files:
        create.c 
Log Message:


Allow zero-length strings to be added to the "#Strings" blob in
the metadata section.


Index: create.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/create.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** create.c    8 Jan 2002 23:20:10 -0000       1.3
--- create.c    10 Jan 2003 10:05:35 -0000      1.4
***************
*** 194,200 ****
        unsigned long hash;
  
!       /* Bail out early if this is the empty string or if
           we are not in the process of building an image */
!       if(image->type != IL_IMAGETYPE_BUILDING || !str || *str == '\0')
        {
                return 0;
--- 194,200 ----
        unsigned long hash;
  
!       /* Bail out early if this is the null string or if
           we are not in the process of building an image */
!       if(image->type != IL_IMAGETYPE_BUILDING || !str)
        {
                return 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]