pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:15:   #include "bignum.h"   #include "interpret.h"   #include "operators.h"   #include "pike_float.h"   #include "pike_types.h"   #include "block_allocator.h"   #include "whitespace.h"   #include "stuff.h"      #include <errno.h> - #include <ctype.h> +       #define SET_HSIZE(X) htable_mask=(htable_size=(X))-1   #define HMODULO(X) ((X) & (htable_mask))      static unsigned INT32 htable_mask;      #if (SIZEOF_LONG == 4) && defined(_LP64)   /* Kludge for gcc and the system header files not using the same model... */   #undef LONG_MIN   #undef LONG_MAX
pike.git/src/stralloc.c:3614:    /* Record that we have found the decimal point. */    got_dot = 1;    else    /* Any other character terminates the number. */    break;    }       if (!got_digit)    goto noconv;    -  if (EXTRACT_PCHARP(s) <256 && tolower(EXTRACT_PCHARP(s)) == 'e') +  if (EXTRACT_PCHARP(s) == 'E' || EXTRACT_PCHARP(s) == 'e')    {    /* Get the exponent specified after the `e' or `E'. */    int save = errno;    PCHARP end;    long int exp;       errno = 0;    INC_PCHARP(s,1);    exp = STRTOL_PCHARP(s, &end, 10);    if (errno == ERANGE)