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
d160dd0c
Commit
d160dd0c
authored
Sep 23, 2013
by
Paul Eggert
Browse files
* alloc.c (valgrind_p): Use bool for boolean.
parent
84998447
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
src/ChangeLog
src/ChangeLog
+4
-0
src/alloc.c
src/alloc.c
+5
-5
No files found.
src/ChangeLog
View file @
d160dd0c
2013-09-24 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c (valgrind_p): Use bool for boolean.
2013-09-23 Dmitry Antipov <dmantipov@yandex.ru>
* xdisp.c (noninteractive_need_newline, message_log_need_newline)
...
...
src/alloc.c
View file @
d160dd0c
...
...
@@ -45,16 +45,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <verify.h>
#if (defined ENABLE_CHECKING
&&
\
defined HAVE_VALGRIND_VALGRIND_H
&&
\
!defined USE_VALGRIND)
#if (defined ENABLE_CHECKING
\
&&
defined HAVE_VALGRIND_VALGRIND_H
\
&&
!defined USE_VALGRIND)
# define USE_VALGRIND 1
#endif
#if USE_VALGRIND
#include <valgrind/valgrind.h>
#include <valgrind/memcheck.h>
static
int
valgrind_p
;
static
bool
valgrind_p
;
#endif
/* GC_CHECK_MARKED_OBJECTS means do sanity checks on allocated objects.
...
...
@@ -6667,7 +6667,7 @@ init_alloc (void)
gcs_done
=
0
;
#if USE_VALGRIND
valgrind_p
=
RUNNING_ON_VALGRIND
;
valgrind_p
=
RUNNING_ON_VALGRIND
!=
0
;
#endif
}
...
...
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