Changeset 5ce7a68 in git for Singular/febase.cc


Ignore:
Timestamp:
Jun 8, 1998, 11:14:58 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
84c4718ded5fe98bf8773067260f6b654941baca
Parents:
f55057470ef46cd71e21665129dba2758c1be5c1
Message:
* hannes: fixed feExpandPath


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

Legend:

Unmodified
Added
Removed
  • Singular/febase.cc

    rf550574 r5ce7a68  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.46 1998-06-05 09:39:34 Singular Exp $ */
     4/* $Id: febase.cc,v 1.47 1998-06-08 09:14:58 Singular Exp $ */
    55/*
    66* ABSTRACT: i/o system
     
    358358}
    359359
    360 #ifdef WINNT
     360#ifdef WINNT && __GNUC__
    361361// add utility function of Cygwin32:
    362362extern "C" int posix_path_list_p (const char *path);
     
    373373  else
    374374  {
    375     #ifdef WINNT
     375    #ifdef WINNT && __GNUC__
    376376    char path_delim = posix_path_list_p (path) ? ':' : ';';
    377377    #else
     
    389389  feArgv0 = mstrdup(argv0);
    390390  #ifdef WINNT
    391   feExtendPath(feGetBinDir()); // can only be called after setting feArgv0
    392   feExtendPath(SINGULAR_BIN_DIR);
     391  // add the bindir and the BIN_DIR to the current PATH:
     392  feExpandPath(feGetBinDir()); // can only be called after setting feArgv0
     393  feExpandPath(SINGULAR_BIN_DIR);
    393394  #endif
    394395}
Note: See TracChangeset for help on using the changeset viewer.