Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8da8d938
...
8da8d9385eeb5c90a00c2def8dc21356d0f2fc4d
authored
2001-07-27 09:32:43 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
call mu_error() instead of error().
1 parent
5b79d339
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/xmalloc.c
lib/xmalloc.c
View file @
8da8d93
...
...
@@ -70,11 +70,11 @@ xalloc_die (void)
{
if
(
xalloc_fail_func
)
(
*
xalloc_fail_func
)
();
error
(
xalloc_exit_failure
,
0
,
"%s"
,
_
(
xalloc_msg_memory_exhausted
));
mu_error
(
"%s"
,
_
(
xalloc_msg_memory_exhausted
));
/* The `noreturn' cannot be given to error, since it may return if
its first argument is 0. To help compilers understand the
xalloc_die does terminate, call exit. */
exit
(
EXIT_FAILURE
);
exit
(
xalloc_exit_failure
);
}
/* Allocate N bytes of memory dynamically, with error checking. */
...
...
Please
register
or
sign in
to post a comment