Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
41b867ea
Commit
41b867ea
authored
Jan 26, 2004
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fpurecopy): Declare size as EMACS_INT to not lose bits.
parent
3164abe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/ChangeLog
src/ChangeLog
+7
-0
src/alloc.c
src/alloc.c
+3
-2
No files found.
src/ChangeLog
View file @
41b867ea
2004-01-26 Andreas Schwab <schwab@suse.de>
* print.c (print_preprocess): Declare size as EMACS_INT to not
lose bits.
(print_object): Likewise.
* alloc.c (Fpurecopy): Likewise.
2004-01-25 Luc Teirlinck <teirllm@auburn.edu>
* window.c (Fwindow_minibuffer_p): Doc fix.
...
...
src/alloc.c
View file @
41b867ea
...
...
@@ -4230,12 +4230,13 @@ Does not copy symbols. Copies strings without text properties. */)
else
if
(
COMPILEDP
(
obj
)
||
VECTORP
(
obj
))
{
register
struct
Lisp_Vector
*
vec
;
register
int
i
,
size
;
register
int
i
;
EMACS_INT
size
;
size
=
XVECTOR
(
obj
)
->
size
;
if
(
size
&
PSEUDOVECTOR_FLAG
)
size
&=
PSEUDOVECTOR_SIZE_MASK
;
vec
=
XVECTOR
(
make_pure_vector
(
(
EMACS_INT
)
size
));
vec
=
XVECTOR
(
make_pure_vector
(
size
));
for
(
i
=
0
;
i
<
size
;
i
++
)
vec
->
contents
[
i
]
=
Fpurecopy
(
XVECTOR
(
obj
)
->
contents
[
i
]);
if
(
COMPILEDP
(
obj
))
...
...
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