Correct comment.
authorNick Clifton <nickc@redhat.com>
Thu, 22 Jun 2006 13:48:30 +0000 (13:48 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Jun 2006 13:48:30 +0000 (13:48 +0000)
ld/emultempl/pe.em

index 646be98a4f07d32719637b813ac70cdffc721c33..4c4a186e0e4c52c4b0a5b258b0f9b99978007ee7 100644 (file)
@@ -1738,8 +1738,10 @@ gld_${EMULATION_NAME}_open_dynamic_archive
   full_string = xmalloc (strlen (search->name)
                         + strlen (filename)
                         /* Allow space for the characters in the format
-                           string.  We actually allow 2 more bytes than
-                           necessary, but this will not hurt.  */
+                           string.  Also allow for the path separator that
+                           is appended after the search name. We actually
+                           allow 1 more byte than is strictly necessary,
+                           but this will not hurt.  */
                         + sizeof libname_fmt[0].format
 #ifdef DLL_SUPPORT
                         + (pe_dll_search_prefix