Mercurial > hg > xemacs-beta
comparison src/regex.c @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | e2fae7783046 |
children |
comparison
equal
deleted
inserted
replaced
5935:d5eb0914ca1f | 5936:574f0cded429 |
---|---|
1887 | 1887 |
1888 | 1888 |
1889 /* This is not an arbitrary limit: the arguments which represent offsets | 1889 /* This is not an arbitrary limit: the arguments which represent offsets |
1890 into the pattern are two bytes long. So if 2^16 bytes turns out to | 1890 into the pattern are two bytes long. So if 2^16 bytes turns out to |
1891 be too small, many things would have to change. */ | 1891 be too small, many things would have to change. */ |
1892 #define MAX_BUF_SIZE (1L << 16) | 1892 #define MAX_BUF_SIZE (E1 << 16) |
1893 | 1893 |
1894 | 1894 |
1895 /* Extend the buffer by twice its current size via realloc and | 1895 /* Extend the buffer by twice its current size via realloc and |
1896 reset the pointers that pointed into the old block to point to the | 1896 reset the pointers that pointed into the old block to point to the |
1897 correct places in the new one. If extending the buffer results in it | 1897 correct places in the new one. If extending the buffer results in it |