Changeset e85fed in git for Singular/iplib.cc


Ignore:
Timestamp:
Jan 15, 2017, 11:04:28 AM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
2094fad4a01ad43e18993abc6366ff6b1ddb4fed5a1c7862e21daad552fae4eb1c7ac09cf3209280
Parents:
d22092faa534a77b8f85e33d87fee0070e584166f22f22a625c09743d75f7358aecdd7eb5411298a
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2017-01-15 11:04:28+01:00
git-committer:
GitHub <noreply@github.com>2017-01-15 11:04:28+01:00
Message:
Merge pull request #811 from vbraun/sage_7_5_binaries_do_not_build

fix: Increase library filename buffer length
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    rd22092f re85fed  
    657657{
    658658  BOOLEAN LoadResult = TRUE;
    659   char libnamebuf[128];
     659  char libnamebuf[1024];
    660660  char *libname = (char *)omAlloc(strlen(id)+5);
    661661  const char *suffix[] = { "", ".lib", ".so", ".sl", NULL };
     
    673673      char *s=omStrDup(libname);
    674674      #ifdef HAVE_DYNAMIC_LOADING
    675       char libnamebuf[256];
     675      char libnamebuf[1024];
    676676      #endif
    677677
     
    718718BOOLEAN iiLibCmd( char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force )
    719719{
    720   char libnamebuf[128];
     720  char libnamebuf[1024];
    721721  // procinfov pi;
    722722  // idhdl h;
Note: See TracChangeset for help on using the changeset viewer.