View | Details | Raw Unified | Return to bug 28885
Collapse All | Expand All

(-)a/binutils/dlltool.c (-4 / +4 lines)
Lines 3992-4001 main (int ac, char **av) Link Here
3992
  if (tmp_prefix == NULL)
3992
  if (tmp_prefix == NULL)
3993
    {
3993
    {
3994
      /* If possible use a deterministic prefix.  */
3994
      /* If possible use a deterministic prefix.  */
3995
      if (dll_name)
3995
      if (imp_name || delayimp_name)
3996
        {
3996
        {
3997
          tmp_prefix = xmalloc (strlen (dll_name) + 2);
3997
          const char *input = imp_name ? imp_name : delayimp_name;
3998
          sprintf (tmp_prefix, "%s_", dll_name);
3998
          tmp_prefix = xmalloc (strlen (input) + 2);
3999
          sprintf (tmp_prefix, "%s_", input);
3999
          for (i = 0; tmp_prefix[i]; i++)
4000
          for (i = 0; tmp_prefix[i]; i++)
4000
            if (!ISALNUM (tmp_prefix[i]))
4001
            if (!ISALNUM (tmp_prefix[i]))
4001
              tmp_prefix[i] = '_';
4002
              tmp_prefix[i] = '_';
4002
- 

Return to bug 28885