projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aaf647
)
Fix handling of 32-bit Windog environments.
author
drepper
<drepper>
Mon, 12 May 1997 14:54:20 +0000
(14:54 +0000)
committer
drepper
<drepper>
Mon, 12 May 1997 14:54:20 +0000
(14:54 +0000)
posix/regex.c
patch
|
blob
|
history
diff --git
a/posix/regex.c
b/posix/regex.c
index
fc4db38
..
a8655cd
100644
(file)
--- a/
posix/regex.c
+++ b/
posix/regex.c
@@
-1568,7
+1568,7
@@
static reg_errcode_t compile_range _RE_ARGS ((const char **p_ptr,
MSC and drop MAX_BUF_SIZE a bit. Otherwise you may end up
reallocating to 0 bytes. Such thing is not going to work too well.
You have been warned!! */
-#if
def _MSC_VER
+#if
defined(_MSC_VER) && !defined(WIN32)
/* Microsoft C 16-bit versions limit malloc to approx 65512 bytes.
The REALLOC define eliminates a flurry of conversion warnings,
but is not required. */