pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2017-01-11
2017-01-11 00:38:37 by Martin Nilsson <nilsson@fastmail.com>
2b315bc342d4173d1db84eb2dfe54c6913e135dc (
4
lines) (+
2
/-
2
)
[
Show
|
Annotate
]
Branch:
8.1
Removed last use of ctype function.
22:
#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))
3621:
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;