Changeset 08c2d6 in git for Singular/iplib.cc


Ignore:
Timestamp:
Jun 21, 2009, 4:10:58 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d5042e24b7e01b5dc02ef718e5a3e8ec3f3187e1
Parents:
03057341d897afb7daf5d8d5346c88a961df4184
Message:
*hannes: gcc 4.4


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

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    r030573 r08c2d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iplib.cc,v 1.128 2009-06-04 09:58:49 Singular Exp $ */
     4/* $Id: iplib.cc,v 1.129 2009-06-21 14:10:18 Singular Exp $ */
    55/*
    66* ABSTRACT: interpreter: LIB and help
     
    263263    strcat( pi->data.s.body+procbuflen, "\n;return();\n\n" );
    264264    strcat( pi->data.s.body+procbuflen+13,pi->libname);
    265     s=strchr(pi->data.s.body,'{');
     265    s=(char *)strchr(pi->data.s.body,'{');
    266266    if (s!=NULL) *s=' ';
    267267    return NULL;
     
    281281    s[procbuflen] = '\0';
    282282    strcat(s+procbuflen-3, "\n;return();\n\n" );
    283     p=strchr(s,'{');
     283    p=(char *)strchr(s,'{');
    284284    if (p!=NULL) *p=' ';
    285285    return(s);
     
    11931193  if(p==NULL) p = tmpname;
    11941194  else p++;
    1195   r = strchr(p, '.');
     1195  r = (char *)strchr(p, '.');
    11961196  if( r!= NULL) *r = '\0';
    11971197  r = omStrDup(p);
Note: See TracChangeset for help on using the changeset viewer.