diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-29 01:18:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-29 01:18:29 -0700 |
commit | b46a6a83b3c30d34aa6b80633394c74e6145291c (patch) | |
tree | 70cf89c43b7663acf77c2e54f2ed644d1eb18a4e /src/regex.c | |
parent | 72b255c7e7856eb0abefb1149211a8be519f6fef (diff) |
Don't use the abbreviation "win" to refer to Windows (Bug#10421).
* lisp/org/ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
(ly-w32-pdf-path): Rename from ly-win32-pdf-path.
(ly-w32-midi-path): Rename from ly-win32-midi-path.
(ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
Check for "windows-nt", not "win32", in system-type.
* src/regex.c (MAX_BUF_SIZE): Remove some incorrect and
long-ago-commented-out code that talks about "WIN32".
* src/w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95.
All uses changed.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/regex.c b/src/regex.c index 4bf119402a..43ee2c4521 100644 --- a/src/regex.c +++ b/src/regex.c @@ -1739,20 +1739,6 @@ static int analyse_first (re_char *p, re_char *pend, be too small, many things would have to change. */ # define MAX_BUF_SIZE (1L << 15) -#if 0 /* This is when we thought it could be 2^16 bytes. */ -/* Any other compiler which, like MSC, has allocation limit below 2^16 - bytes will have to use approach similar to what was done below for - 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 defined _MSC_VER && !defined WIN32 -/* Microsoft C 16-bit versions limit malloc to approx 65512 bytes. */ -# define MAX_BUF_SIZE 65500L -#else -# define MAX_BUF_SIZE (1L << 16) -#endif -#endif /* 0 */ - /* Extend the buffer by twice its current size via realloc and reset the pointers that pointed into the old block to point to the correct places in the new one. If extending the buffer results in it |