Changeset faab65 in git


Ignore:
Timestamp:
Apr 16, 1998, 1:19:49 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
1a2bd867aa82426d4e86abe3bce51fa06dd84055
Parents:
a50f02069b4b5fa5aeffe5d2f54fa91540b822e8
Message:
1998-04-16  Olaf Bachmann  <obachman@mathematik.uni-kl.de>

	* Got rid off strstr definition


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

Legend:

Unmodified
Added
Removed
  • Singular/misc.cc

    ra50f02 rfaab65  
    656656}
    657657
    658 #ifndef HAVE_STRSTR
    659 char *strstr(const char *haystack, const char *needle)
    660 {
    661   char *found = strchr(haystack,*needle);
    662   if (*(needle+1)!='\0')
    663   {
    664     while((found !=NULL) && (strncmp(found+1,needle+1,strlen(needle+1))!=0))
    665     {
    666       found=strchr(found+1,*needle);
    667     }
    668   }
    669   return found;
    670 }
    671 #endif
    672 
    673658char * versionString()
    674659{
Note: See TracChangeset for help on using the changeset viewer.