2000-08-23 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_conf.c (add_module): Remove some unneeded code to
avoid adding double slashes.
+2000-08-23 Ulrich Drepper <drepper@redhat.com>
+
+ * iconv/gconv_conf.c (add_module): Remove some unneeded code to
+ avoid adding double slashes.
+
2000-08-23 Jakub Jelinek <jakub@redhat.com>
* dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
return;
if (module[0] == '/')
dir_len = 0;
- else
- /* Increment by one for the slash. */
- ++dir_len;
/* See whether we must add the ending. */
need_ext = 0;
if (dir_len == 0)
tmp = (char *) new_module->module_name;
else
- {
- tmp = __mempcpy ((char *) new_module->module_name,
- directory, dir_len - 1);
- *tmp++ = '/';
- }
+ tmp = __mempcpy ((char *) new_module->module_name,
+ directory, dir_len);
tmp = __mempcpy (tmp, module, wp - module);