Changeset bdf4da in git


Ignore:
Timestamp:
Jun 4, 1998, 6:34:19 PM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
27983a022885c1c4dd1d677b1168ca110841c40f
Parents:
735faa2c02528c7d5fffd07084e429714d88b863
Message:
* hannes: WINNT-fixes: search files


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

Legend:

Unmodified
Added
Removed
  • Singular/febase.cc

    r735faa rbdf4da  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.42 1998-06-04 16:24:10 obachman Exp $ */
     4/* $Id: febase.cc,v 1.43 1998-06-04 16:34:19 pohl Exp $ */
    55/*
    66* ABSTRACT: i/o system
     
    121121#  define  DIR_SEPP "\\"
    122122#else  /* unix */
    123 #  define  FS_SEP ':'
    124123#  define  DIR_SEP '/'
    125124#  define  DIR_SEPP "/"
     
    130129#if defined(WINNT)
    131130#  define  FS_SEP ';'
    132 #elsif defined(macintosh)
     131#elif defined(macintosh)
    133132#define FS_SEP ','
    134133#else
     
    144143
    145144// Define to chatter about path stuff
    146 // #define PATH_DEBUG
     145#define PATH_DEBUG
    147146static char* feArgv0 = NULL;
    148147static char* feExpandedExecutable = NULL;
     
    248247// ROOTDIR/doc/singular.hlp
    249248// ROOTDIR/info/singular.hlp
     249#ifdef WINNT
     250static char * feFixFileName(char *hlpdir)
     251{
     252  if(strncmp(hlpdir,"//",2)==0)
     253  {
     254    hlpdir[0]=hlpdir[2];
     255    hlpdir[1]=':';
     256    mystrcpy(hlpdir+2,hlpdir+3);
     257  }
     258  return hlpdir;
     259}
     260#else
     261#define  feFixFileName(A) (A)
     262#endif
    250263
    251264static char* feGetInfoFile(const char* bindir)
Note: See TracChangeset for help on using the changeset viewer.