Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d8d7c3c3
Commit
d8d7c3c3
authored
Mar 03, 2002
by
Neil Booth
Committed by
Neil Booth
Mar 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xmalloc.c (xmalloc_fail): Clarify error message.
From-SVN: r50265
parent
8ce0a8a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libiberty/ChangeLog
+4
-0
libiberty/xmalloc.c
+2
-2
No files found.
libiberty/ChangeLog
View file @
d8d7c3c3
2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
* xmalloc.c (xmalloc_fail): Clarify error message.
2002-02-22 Jim Blandy <jimb@redhat.com>
* splay-tree.c (splay_tree_xmalloc_allocate,
...
...
libiberty/xmalloc.c
View file @
d8d7c3c3
...
...
@@ -120,12 +120,12 @@ xmalloc_failed (size)
else
allocated
=
(
char
*
)
sbrk
(
0
)
-
(
char
*
)
&
environ
;
fprintf
(
stderr
,
"
\n
%s%s
Cannot allocate
%lu bytes after allocating %lu bytes
\n
"
,
"
\n
%s%s
out of memory allocating
%lu bytes after allocating %lu bytes
\n
"
,
name
,
*
name
?
": "
:
""
,
(
unsigned
long
)
size
,
(
unsigned
long
)
allocated
);
#else
/* HAVE_SBRK */
fprintf
(
stderr
,
"
\n
%s%s
Cannot allocate
%lu bytes
\n
"
,
"
\n
%s%s
out of memory allocating
%lu bytes
\n
"
,
name
,
*
name
?
": "
:
""
,
(
unsigned
long
)
size
);
#endif
/* HAVE_SBRK */
...
...
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