Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
965d34eb
Commit
965d34eb
authored
Jun 19, 2011
by
Paul Eggert
Browse files
* buffer.c (init_buffer): Don't assume string length fits in 'int'.
parent
f14ed477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/buffer.c
src/buffer.c
+1
-1
No files found.
src/ChangeLog
View file @
965d34eb
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (init_buffer): Don't assume string length fits in 'int'.
* lread.c (invalid_syntax): Omit length argument.
All uses changed. This doesn't fix a bug, but it simplifies the
code away from its former Hollerith-constant appearance, and it's
...
...
src/buffer.c
View file @
965d34eb
...
...
@@ -5083,7 +5083,7 @@ init_buffer (void)
{
char *pwd;
Lisp_Object temp;
in
t len;
ptrdiff_
t len;
#ifdef USE_MMAP_FOR_BUFFERS
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment