]> git.eshelyaron.com Git - emacs.git/commit
* minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2011 06:45:38 +0000 (23:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2011 06:45:38 +0000 (23:45 -0700)
commit90532f02fdde568772852dc53be37d36855ef391
tree0ce49359c0970cb49861779ca44b8686c9ebeca7
parent6d84508d181fec22ef538b5a6ba7e2072d1de8e7
* minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,

for sizes.  Check for string overflow more accurately.
Simplify newline removal at end; this suppresses a GCC 4.6.0 warning.
src/ChangeLog
src/minibuf.c