mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +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
418 B
C
13 lines
418 B
C
--- vfs/smbfs.c.orig Sat Jan 25 03:37:29 2003
|
|
+++ vfs/smbfs.c Tue Jun 15 03:15:09 2004
|
|
@@ -785,8 +785,7 @@
|
|
#endif
|
|
return NULL;
|
|
}
|
|
- strncpy(dirent_dest, smbfs_info->current->text, MC_MAXPATHLEN);
|
|
- dirent_dest[MC_MAXPATHLEN] = 0;
|
|
+ g_strlcpy(dirent_dest, smbfs_info->current->text, MC_MAXPATHLEN);
|
|
smbfs_info->current = smbfs_info->current->next;
|
|
|
|
compute_namelen(&smbfs_readdir_data.dent);
|