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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
06ca62eb
Commit
06ca62eb
authored
Dec 11, 2004
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT.
parent
2f25767f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/emacs.c
src/emacs.c
+3
-1
No files found.
src/emacs.c
View file @
06ca62eb
...
@@ -1023,8 +1023,10 @@ main (argc, argv
...
@@ -1023,8 +1023,10 @@ main (argc, argv
Also call realloc and free for consistency. */
Also call realloc and free for consistency. */
free
(
realloc
(
malloc
(
4
),
4
));
free
(
realloc
(
malloc
(
4
),
4
));
# ifndef SYNC_INPUT
/* Arrange to disable interrupt input inside malloc etc. */
/* Arrange to disable interrupt input inside malloc etc. */
uninterrupt_malloc
();
uninterrupt_malloc
();
# endif
/* not SYNC_INPUT */
#endif
/* not SYSTEM_MALLOC */
#endif
/* not SYSTEM_MALLOC */
#if defined (MSDOS) || defined (WINDOWSNT)
#if defined (MSDOS) || defined (WINDOWSNT)
...
@@ -2238,7 +2240,7 @@ You must run Emacs in batch mode in order to dump it. */)
...
@@ -2238,7 +2240,7 @@ You must run Emacs in batch mode in order to dump it. */)
memory_warnings
(
my_edata
,
malloc_warning
);
memory_warnings
(
my_edata
,
malloc_warning
);
#endif
/* not WINDOWSNT */
#endif
/* not WINDOWSNT */
#endif
#endif
#if !
defined (SYSTEM_MALLOC) && defined (HAVE_GTK_AND_PTHREAD)
#if !
defined (SYSTEM_MALLOC) && defined (HAVE_GTK_AND_PTHREAD) && !defined SYNC_INPUT
/* Pthread may call malloc before main, and then we will get an endless
/* Pthread may call malloc before main, and then we will get an endless
loop, because pthread_self (see alloc.c) calls malloc the first time
loop, because pthread_self (see alloc.c) calls malloc the first time
it is called on some systems. */
it is called on some systems. */
...
...
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