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
b50d9339
Commit
b50d9339
authored
Dec 17, 2003
by
Segher Boessenkool
Committed by
Hartmut Penner
Dec 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* opts.c (wrap_help): Fix overflow.
From-SVN: r74737
parent
a7833d6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/opts.c
+1
-1
No files found.
gcc/ChangeLog
View file @
b50d9339
2003-12-17 Segher Boessenkool <boessen@de.ibm.com>
* opts.c (wrap_help): Fix overflow.
2003-12-17 Fred Fish <fnf@redhat.com>
2003-12-17 Fred Fish <fnf@redhat.com>
* configure.in: Remove code to examine linker scripts and set
* configure.in: Remove code to examine linker scripts and set
...
...
gcc/opts.c
View file @
b50d9339
...
@@ -1829,7 +1829,7 @@ wrap_help (const char *help, const char *item, unsigned int item_width)
...
@@ -1829,7 +1829,7 @@ wrap_help (const char *help, const char *item, unsigned int item_width)
len
=
i
;
len
=
i
;
else
if
((
help
[
i
]
==
'-'
||
help
[
i
]
==
'/'
)
else
if
((
help
[
i
]
==
'-'
||
help
[
i
]
==
'/'
)
&&
help
[
i
+
1
]
!=
' '
&&
help
[
i
+
1
]
!=
' '
&&
ISALPHA
(
help
[
i
-
1
]))
&&
i
>
0
&&
ISALPHA
(
help
[
i
-
1
]))
len
=
i
+
1
;
len
=
i
+
1
;
}
}
}
}
...
...
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