mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
694ecd186a
- 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>
13 lines
433 B
C
13 lines
433 B
C
--- src/man2hlp.c.orig Tue Jan 21 05:23:42 2003
|
|
+++ src/man2hlp.c Tue Jun 15 03:15:09 2004
|
|
@@ -611,8 +611,7 @@
|
|
/* Bold text or italics text */
|
|
if (buffer[0] == '.' && (buffer[1] == 'I' || buffer[1] == 'B'))
|
|
for (buffer += 2; *buffer == ' ' || *buffer == '\t'; buffer++);
|
|
- strncpy (old, buffer, sizeof (old) - 1);
|
|
- old[sizeof (old) - 1] = 0;
|
|
+ g_strlcpy (old, buffer, sizeof (old));
|
|
link_flag = 3;
|
|
break;
|
|
case 3:
|