Changeset 08c2d6 in git
- Timestamp:
- Jun 21, 2009, 4:10:58 PM (14 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- d5042e24b7e01b5dc02ef718e5a3e8ec3f3187e1
- Parents:
- 03057341d897afb7daf5d8d5346c88a961df4184
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fehelp.cc
r030573 r08c2d6 4 4 /* 5 5 * ABSTRACT: help system 6 * versin $Id: fehelp.cc,v 1.5 7 2009-06-04 09:58:49Singular Exp $6 * versin $Id: fehelp.cc,v 1.58 2009-06-21 14:10:18 Singular Exp $ 7 7 */ 8 8 … … 1033 1033 if ((*p)=='f') 1034 1034 { // remove #SEC 1035 char *pp= strchr(sys,'#');1035 char *pp=(char *)strchr(sys,'#'); 1036 1036 if (pp!=NULL) 1037 1037 { -
Singular/iplib.cc
r030573 r08c2d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iplib.cc,v 1.12 8 2009-06-04 09:58:49Singular Exp $ */4 /* $Id: iplib.cc,v 1.129 2009-06-21 14:10:18 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: LIB and help … … 263 263 strcat( pi->data.s.body+procbuflen, "\n;return();\n\n" ); 264 264 strcat( pi->data.s.body+procbuflen+13,pi->libname); 265 s= strchr(pi->data.s.body,'{');265 s=(char *)strchr(pi->data.s.body,'{'); 266 266 if (s!=NULL) *s=' '; 267 267 return NULL; … … 281 281 s[procbuflen] = '\0'; 282 282 strcat(s+procbuflen-3, "\n;return();\n\n" ); 283 p= strchr(s,'{');283 p=(char *)strchr(s,'{'); 284 284 if (p!=NULL) *p=' '; 285 285 return(s); … … 1193 1193 if(p==NULL) p = tmpname; 1194 1194 else p++; 1195 r = strchr(p, '.');1195 r = (char *)strchr(p, '.'); 1196 1196 if( r!= NULL) *r = '\0'; 1197 1197 r = omStrDup(p); -
kernel/febase.cc
r030573 r08c2d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.2 2 2008-10-14 07:56:47Singular Exp $ */4 /* $Id: febase.cc,v 1.23 2009-06-21 14:10:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 559 559 { 560 560 char *anf=currentVoice->buffer; 561 c har *ss=strchr(anf,'\n');561 const char *ss=strchr(anf,'\n'); 562 562 long len; 563 563 if (ss==NULL) len=strlen(anf); … … 573 573 { 574 574 char *anf=currentVoice->buffer+startfptr; 575 c har *ss=strchr(anf,'\n');575 const char *ss=strchr(anf,'\n'); 576 576 long len; 577 577 if (ss==NULL) len=strlen(anf); -
kernel/fegetopt.c
r030573 r08c2d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: fegetopt.c,v 1. 1.1.1 2003-10-06 12:15:52Singular Exp $ */4 /* $Id: fegetopt.c,v 1.2 2009-06-21 14:10:58 Singular Exp $ */ 5 5 6 6 /* Getopt for GNU. … … 183 183 184 184 static int my_strlen(const char *s); 185 static c har *my_index (const char *str, int chr);185 static const char *my_index (const char *str, int chr); 186 186 #else 187 187 extern char *getenv (); … … 196 196 } 197 197 198 static c har * my_index (const char *str, int chr)198 static const char * my_index (const char *str, int chr) 199 199 { 200 200 while (*str) 201 201 { 202 202 if (*str == chr) 203 return (c har *) str;203 return (const char *) str; 204 204 str++; 205 205 }
Note: See TracChangeset
for help on using the changeset viewer.