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
f01c9bcd
Commit
f01c9bcd
authored
Jan 01, 2002
by
Douglas B Rupp
Committed by
Richard Kenner
Jan 01, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (delete_if_ordinary): Delete all versions.
From-SVN: r48450
parent
d022094f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/gcc.c
+4
-2
No files found.
gcc/ChangeLog
View file @
f01c9bcd
2002
-
01
-
01
Douglas
B
Rupp
<
rupp
@gnat
.
com
>
*
gcc
.
c
(
delete_if_ordinary
)
:
Delete
all
versions
.
2002
-
01
-
01
Hans
-
Peter
Nilsson
<
hp
@bitrange
.
com
>
2002
-
01
-
01
Hans
-
Peter
Nilsson
<
hp
@bitrange
.
com
>
*
config
/
mmix
/
mmix
.
md
:
Update
FIXME
to
not
mention
*
config
/
mmix
/
mmix
.
md
:
Update
FIXME
to
not
mention
...
...
gcc/gcc.c
View file @
f01c9bcd
/* Compiler driver program that can handle many languages.
/* Compiler driver program that can handle many languages.
Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001 Free Software Foundation, Inc.
1999, 2000, 2001
, 2002
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
...
@@ -2111,7 +2111,9 @@ delete_if_ordinary (name)
...
@@ -2111,7 +2111,9 @@ delete_if_ordinary (name)
if
(
i
==
'y'
||
i
==
'Y'
)
if
(
i
==
'y'
||
i
==
'Y'
)
#endif
/* DEBUG */
#endif
/* DEBUG */
if
(
stat
(
name
,
&
st
)
>=
0
&&
S_ISREG
(
st
.
st_mode
))
/* On VMS, more than one version of the temporary file may have been
created. This ensures we delete all of them. */
while
(
stat
(
name
,
&
st
)
>=
0
&&
S_ISREG
(
st
.
st_mode
))
if
(
unlink
(
name
)
<
0
)
if
(
unlink
(
name
)
<
0
)
if
(
verbose_flag
)
if
(
verbose_flag
)
perror_with_name
(
name
);
perror_with_name
(
name
);
...
...
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