Changeset 1cb558 in git


Ignore:
Timestamp:
Apr 25, 1997, 9:21:29 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
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
Location:
Singular
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Singular/ChangeLog

    r592f6b r1cb558  
    11Fri Apr 25 16:59:31 1997  Olaf Bachmann  <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>
     2
     3        * fixed configure.in s.t. sprintf test is correct
     4
     5        * Changed SingularPath to SINGULARPATH
    26
    37        * fixed sys/times.h and sys/time.h confusion
  • Singular/Makefile.in

    r592f6b r1cb558  
    9292
    9393DISTFILES=${SOURCES} ${HEADERS} Makefile.in configure.in configure \
    94         mod2.h.in grammar.h testgh
     94        mod2.h.in grammar.h testgh install-sh mkinstalldirs
    9595
    9696OBJS=grammar.o scanner.o matpol.o binom.o\
  • Singular/configure

    r592f6b r1cb558  
    30753075#include "confdefs.h"
    30763076#include <stdio.h>
    3077  main() { char str21; if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
     3077 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    30783078EOF
    30793079{ (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  • Singular/configure.in

    r592f6b r1cb558  
    344344AC_CACHE_VAL(ac_cv_returns_n_of_chars, AC_TRY_RUN(
    345345 [#include <stdio.h>
    346  main() { char str[21]; if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }],
     346 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }],
    347347   ac_cv_returns_n_of_chars=yes,
    348348   ac_cv_returns_n_of_chars=no,
  • 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.