mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
- Do not use :: in patch file names. - Patch for CAN-2003-1023 is now contained in patch-vfs-direntry.c. - Bump PORTREVISION. Submitted by: Jakub Jelinek <jakub@redhat.com>
12 lines
337 B
C
12 lines
337 B
C
--- src/profile.c.orig Mon Jan 20 20:33:02 2003
|
|
+++ src/profile.c Tue Jun 15 03:15:09 2004
|
|
@@ -325,8 +325,7 @@
|
|
|
|
s = GetSetProfileChar (set, AppName, KeyName, Default, FileName);
|
|
if (!set){
|
|
- ReturnedString [Size-1] = 0;
|
|
- strncpy (ReturnedString, s, Size-1);
|
|
+ g_strlcpy (ReturnedString, s, Size);
|
|
}
|
|
return 1;
|
|
}
|