Changeset 1cb558 in git for Singular/febase.cc


Ignore:
Timestamp:
Apr 25, 1997, 9:21:29 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
58b151c163b2e07c48a6786c8dbef8f3a358750f
Parents:
592f6b13721f1df818bbd5a7e150c08ade6bae05
Message:
Fri Apr 25 16:59:31 1997  Olaf Bachmann
<obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>

	* Changed SingularPath to SINGULARPATH
	* fixed configure.in s.t. sprintf test is correct


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

Legend:

Unmodified
Added
Removed
  • Singular/febase.cc

    r592f6b r1cb558  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.8 1997-04-25 15:03:56 obachman Exp $ */
     4/* $Id: febase.cc,v 1.9 1997-04-25 19:21:29 obachman Exp $ */
    55/*
    66* ABSTRACT: i/o system, handling of 'voices'
     
    154154  char *env=getenv("SPATH");
    155155#else
    156   char *env=getenv("SingularPath");
     156  char *env=getenv("SINGULARPATH");
    157157#endif
    158158  char *s;
     
    206206    else
    207207    {
    208       if (need_len > strlen(where)) ss = AllocL(need_len);
     208      if (need_len > strlen(where)) ss = (char *) AllocL(need_len);
    209209      strcpy(ss, s);
    210210    }
    211211    strcpy(ss,SINGULAR_DATADIR);
    212     strcat(s, DIR_SEPP);
     212    strcat(ss, DIR_SEPP);
    213213    strcat(ss,path);
    214214    f=fopen(ss,mode);
Note: See TracChangeset for help on using the changeset viewer.