Ignore:
Timestamp:
Jul 26, 2011, 3:56:40 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
441a2ebc3368fca13446fd60801db4c09580a110
Parents:
92058150caf53dc60a028c63bafb64f39bfa73a8
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-07-26 15:56:40+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:53:34+01:00
Message:
FIX: feInitResources should now take an [_const_ char*] argv0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/resources/feResource.cc

    r920581 rb28bafe  
    130130 *****************************************************************/
    131131char* feArgv0=NULL;
     132
    132133#define MAXRESOURCELEN 5*MAXPATHLEN
    133134
     
    179180}
    180181
    181 void feInitResources(char* argv0)
     182void feInitResources(const char* argv0)
    182183{
    183184#if defined(ix86_Win) && defined(__GNUC__)
     
    188189  {
    189190    feArgv0 = (char*)omAlloc0(MAXPATHLEN+strlen("/Singular"));
    190     getcwd(feArgv0,MAXPATHLEN);
     191    getcwd(feArgv0, MAXPATHLEN);
    191192    strcpy(feArgv0+strlen(feArgv0),"/Singular");
    192193  }
Note: See TracChangeset for help on using the changeset viewer.