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
40f3f04b
Commit
40f3f04b
authored
Apr 07, 1996
by
Richard M. Stallman
Browse files
(r_alloc_check): Don't check alignment of h->start.
parent
748dc60a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ralloc.c
src/ralloc.c
+4
-0
No files found.
src/ralloc.c
View file @
40f3f04b
...
...
@@ -1164,7 +1164,11 @@ r_alloc_check ()
{
assert
(
h
->
prev
==
ph
);
assert
((
POINTER
)
ROUNDUP
(
h
->
end
)
==
h
->
end
);
#if 0 /* ??? The code in ralloc.c does not really try to ensure
the heap start has any sort of alignment.
Perhaps it should. */
assert ((POINTER) MEM_ROUNDUP (h->start) == h->start);
#endif
assert
((
POINTER
)
MEM_ROUNDUP
(
h
->
bloc_start
)
==
h
->
bloc_start
);
assert
(
h
->
start
<=
h
->
bloc_start
&&
h
->
bloc_start
<=
h
->
end
);
...
...
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