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
4c64aaf6
Commit
4c64aaf6
authored
May 24, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1072
parent
ab1fd483
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
gcc/cccp.c
+2
-7
gcc/gcc.c
+1
-0
No files found.
gcc/cccp.c
View file @
4c64aaf6
...
...
@@ -1477,7 +1477,7 @@ main (argc, argv)
char
*
startp
,
*
endp
;
for
(
num_dirs
=
1
,
startp
=
epath
;
*
startp
;
startp
++
)
if
(
*
startp
==
':'
)
if
(
*
startp
==
PATH_SEPARATOR
)
num_dirs
++
;
include_defaults
=
(
struct
default_include
*
)
xmalloc
((
num_dirs
...
...
@@ -1861,12 +1861,7 @@ path_include (path)
struct
file_name_list
*
dirtmp
;
/* Find the end of this name. */
#ifdef __MSDOS__
/* Handle cases like c:/usr/lib:d:/gcc/lib */
while
(
*
q
!=
0
&&
(
*
q
!=
':'
||
(
q
-
p
==
1
&&
isalpha
(
*
p
))))
q
++
;
#else
while
(
*
q
!=
0
&&
*
q
!=
':'
)
q
++
;
#endif
while
(
*
q
!=
0
&&
*
q
!=
PATH_SEPARATOR
)
q
++
;
if
(
p
==
q
)
{
/* An empty name in the path stands for the current directory. */
name
=
(
char
*
)
xmalloc
(
2
);
...
...
gcc/gcc.c
View file @
4c64aaf6
...
...
@@ -35,6 +35,7 @@ compilation is specified by a string called a "spec". */
#include <ctype.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/file.h>
/* May get R_OK, etc. on some systems. */
#include "config.h"
#include "obstack.h"
...
...
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