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
27f66c0b
Commit
27f66c0b
authored
Mar 28, 2001
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Mar 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* memchr.c (memchr): Adjust condition to avoid infinite loop.
From-SVN: r40899
parent
8e944909
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libiberty/ChangeLog
+4
-0
libiberty/memchr.c
+1
-1
No files found.
libiberty/ChangeLog
View file @
27f66c0b
2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* memchr.c (memchr): Adjust condition to avoid infinite loop.
2001-03-23 Jakub Jelinek <jakub@redhat.com>
2001-03-23 Jakub Jelinek <jakub@redhat.com>
* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
...
...
libiberty/memchr.c
View file @
27f66c0b
...
@@ -50,7 +50,7 @@ memchr (src_void, c, length)
...
@@ -50,7 +50,7 @@ memchr (src_void, c, length)
{
{
const
unsigned
char
*
src
=
(
const
unsigned
char
*
)
src_void
;
const
unsigned
char
*
src
=
(
const
unsigned
char
*
)
src_void
;
while
(
--
length
>=
0
)
while
(
length
--
>
0
)
{
{
if
(
*
src
==
c
)
if
(
*
src
==
c
)
return
(
PTR
)
src
;
return
(
PTR
)
src
;
...
...
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