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 link.c,1.17,1.18


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image link.c,1.17,1.18
Date: Wed, 15 Jan 2003 09:45:06 -0500

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

Modified Files:
        link.c 
Log Message:
fix a segfault


Index: link.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/link.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** link.c      16 Dec 2002 02:04:41 -0000      1.17
--- link.c      15 Jan 2003 14:45:04 -0000      1.18
***************
*** 983,987 ****
                        strcpy(fullName, baseName);
                }
!               strcat(fullName, suffix);
                ILFree(baseName);
                return fullName;
--- 983,990 ----
                        strcpy(fullName, baseName);
                }
!               if(suffix)
!               {
!                       strcat(fullName, suffix);
!               }
                ILFree(baseName);
                return fullName;





reply via email to

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