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
19d63af9
Commit
19d63af9
authored
Jul 22, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When fixing ftw.h, preserve remainder of
ftw and nftw declaration; don't just rewrite it. From-SVN: r4965
parent
092dded9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/fixinc.svr4
+6
-6
No files found.
gcc/fixinc.svr4
View file @
19d63af9
...
...
@@ -432,20 +432,20 @@ else
echo
Checking
$file_to_fix
cp
$file_to_fix
/tmp/
$base
chmod +w /tmp/
$base
sed
-e
'/^extern int ftw(const/
c
\
sed
-e
'/^extern int ftw(const/
i
\
#if !defined(_STYPES)\
static\
#else\
extern\
#endif\
int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
'
\
-e
'/^extern int nftw/
c
\
#endif
'
\
-e
's/extern \(int ftw(const.*\)$/\1/
'
\
-e
'/^extern int nftw/
i
\
#if defined(_STYPES)\
static\
#else\
extern\
#endif\
int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *),int, int);
'
\
#endif
'
\
-e
's/extern \(int nftw.*\)$/\1/
'
\
-e
'/^extern int ftw(),/c\
#if !defined(_STYPES)\
static\
...
...
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