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
affbb54a
Commit
affbb54a
authored
Sep 27, 2005
by
Mark Mitchell
Committed by
Mark Mitchell
Sep 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* argv.c (expandargv): Do not use xmalloc_failed.
From-SVN: r104695
parent
f6602816
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
libiberty/ChangeLog
+4
-0
libiberty/argv.c
+4
-3
No files found.
libiberty/ChangeLog
View file @
affbb54a
2005-09-27 Mark Mitchell <mark@codesourcery.com>
* argv.c (expandargv): Do not use xmalloc_failed.
2005-09-26 Mark Mitchell <mark@codesourcery.com>
2005-09-26 Mark Mitchell <mark@codesourcery.com>
* argv.c (safe-ctype.h): Include it.
* argv.c (safe-ctype.h): Include it.
...
...
libiberty/argv.c
View file @
affbb54a
...
@@ -365,9 +365,10 @@ expandargv (argcp, argvp)
...
@@ -365,9 +365,10 @@ expandargv (argcp, argvp)
{
{
*
argvp
=
dupargv
(
*
argvp
);
*
argvp
=
dupargv
(
*
argvp
);
if
(
!*
argvp
)
if
(
!*
argvp
)
/* We do not know exactly many bytes dupargv tried to
{
allocate, so make a guess. */
fputs
(
"
\n
out of memory
\n
"
,
stderr
);
xmalloc_failed
(
*
argcp
*
32
);
xexit
(
1
);
}
}
}
/* Count the number of arguments. */
/* Count the number of arguments. */
file_argc
=
0
;
file_argc
=
0
;
...
...
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