Changeset 445016 in git for Singular/find_exec.c


Ignore:
Timestamp:
May 24, 1998, 10:55:30 AM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
9ebfb1b62d00150be81a67bd491fbafee9dd591f
Parents:
6105d641b82183c977a404901f477dd8f6e3886b
Message:
* bug fix


git-svn-id: file:///usr/local/Singular/svn/trunk@1958 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/find_exec.c

    r6105d64 r445016  
    203203    if (buf[0] != '/')
    204204    {
    205       executable = (char*) AllocL(strlen(link) + ret);
     205      executable = (char*) AllocL(strlen(link) + ret + 1);
    206206      strcpy(executable, link);
    207207      strcat(executable, buf);
     
    215215    return executable;
    216216  }
     217
    217218  return link;
    218219}
Note: See TracChangeset for help on using the changeset viewer.