mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +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
275 B
C
13 lines
275 B
C
--- vfs/vfs.c.orig Thu Dec 26 08:21:43 2002
|
|
+++ vfs/vfs.c Tue Jun 15 03:15:09 2004
|
|
@@ -637,8 +637,7 @@
|
|
{
|
|
const char *cwd = mc_return_cwd();
|
|
|
|
- strncpy (buffer, cwd, size - 1);
|
|
- buffer [size - 1] = 0;
|
|
+ g_strlcpy (buffer, cwd, size);
|
|
return buffer;
|
|
}
|
|
|