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
c9541079
Commit
c9541079
authored
Jan 14, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(egrep and sed loop): Don't print messages about files that need no change.
From-SVN: r3239
parent
a1747d2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/fixinc.sco
+2
-1
gcc/fixinc.svr4
+2
-1
No files found.
gcc/fixinc.sco
View file @
c9541079
...
...
@@ -145,7 +145,6 @@ while [ $# != 0 ]; do
echo
'Checking header files:'
for
file
in
$files
;
do
if
egrep
'!__STDC__'
$file
>
/dev/null
;
then
echo
Fixing
$file
if
[
-r
$file
]
;
then
cp
$file
$2
/
$file
>
/dev/null 2>&1
||
echo
"Can't copy
$file
"
chmod +w
$2
/
$file
...
...
@@ -163,6 +162,8 @@ while [ $# != 0 ]; do
mv
$2
/
$file
.sed
$2
/
$file
if
cmp
$file
$2
/
$file
>
/dev/null 2>&1
;
then
rm
$2
/
$file
else
echo
Fixed
$file
fi
fi
fi
...
...
gcc/fixinc.svr4
View file @
c9541079
...
...
@@ -148,7 +148,6 @@ while [ $# != 0 ]; do
files
=
`
find
.
-name
'*.h'
-type
f
-print
`
echo
'Checking header files:'
for
file
in
$files
;
do
echo
Fixing
$file
if
[
-r
$file
]
;
then
cp
$file
$2
/
$file
>
/dev/null 2>&1
||
echo
"Can't copy
$file
"
chmod +w
$2
/
$file
...
...
@@ -197,6 +196,8 @@ while [ $# != 0 ]; do
mv
$2
/
$file
.sed
$2
/
$file
if
cmp
$file
$2
/
$file
>
/dev/null 2>&1
;
then
rm
$2
/
$file
else
Fixed
$file
fi
fi
done
...
...
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