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
8fc5db4e
Commit
8fc5db4e
authored
May 21, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(add_symbol, unexpand_if_needed, abspath):
Supply missing arg to savestring. From-SVN: r4528
parent
8dbda01e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/protoize.c
+4
-4
No files found.
gcc/protoize.c
View file @
8fc5db4e
...
...
@@ -1021,7 +1021,7 @@ add_symbol (p, s)
const
char
*
s
;
{
p
->
hash_next
=
NULL
;
p
->
symbol
=
savestring
(
s
);
p
->
symbol
=
savestring
(
s
,
strlen
(
s
)
);
p
->
ddip
=
NULL
;
p
->
fip
=
NULL
;
return
p
;
...
...
@@ -1160,9 +1160,9 @@ continue_outer: ;
copy_p
=
line_buf
+
offset
;
}
*
copy_p
++
=
'\n'
;
*
copy_p
++
=
'\0'
;
*
copy_p
=
'\0'
;
return
(
got_unexpanded
?
savestring
(
line_buf
)
:
0
);
return
(
got_unexpanded
?
savestring
(
line_buf
,
copy_p
-
line_buf
)
:
0
);
}
/* Return the absolutized filename for the given relative
...
...
@@ -1265,7 +1265,7 @@ abspath (cwd, rel_filename)
/* Make a copy (in the heap) of the stuff left in the absolutization
buffer and return a pointer to the copy. */
return
savestring
(
abs_buffer
);
return
savestring
(
abs_buffer
,
outp
-
abs_buffer
);
}
/* Given a filename (and possibly a directory name from which the filename
...
...
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