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
8cfb7ab7
Commit
8cfb7ab7
authored
Jul 22, 2005
by
Ben Elliston
Committed by
Ben Elliston
Jul 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* regex.c (regcomp): Change type of `i' from unsigned to int.
From-SVN: r102270
parent
b49ceb45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libiberty/ChangeLog
+4
-0
libiberty/regex.c
+2
-2
No files found.
libiberty/ChangeLog
View file @
8cfb7ab7
2005-07-22 Ben Elliston <bje@gnu.org>
2005-07-22 Ben Elliston <bje@gnu.org>
* regex.c (regcomp): Change type of `i' from unsigned to int.
2005-07-22 Ben Elliston <bje@gnu.org>
Recover patch lost in the sourceware repository:
Recover patch lost in the sourceware repository:
2005-07-09 Ben Elliston <bje@au.ibm.com>
2005-07-09 Ben Elliston <bje@au.ibm.com>
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
...
...
libiberty/regex.c
View file @
8cfb7ab7
...
@@ -7923,7 +7923,7 @@ regcomp (regex_t *preg, const char *pattern, int cflags)
...
@@ -7923,7 +7923,7 @@ regcomp (regex_t *preg, const char *pattern, int cflags)
if
(
cflags
&
REG_ICASE
)
if
(
cflags
&
REG_ICASE
)
{
{
unsigned
i
;
int
i
;
preg
->
translate
preg
->
translate
=
(
RE_TRANSLATE_TYPE
)
malloc
(
CHAR_SET_SIZE
=
(
RE_TRANSLATE_TYPE
)
malloc
(
CHAR_SET_SIZE
...
@@ -7933,7 +7933,7 @@ regcomp (regex_t *preg, const char *pattern, int cflags)
...
@@ -7933,7 +7933,7 @@ regcomp (regex_t *preg, const char *pattern, int cflags)
/* Map uppercase characters to corresponding lowercase ones. */
/* Map uppercase characters to corresponding lowercase ones. */
for
(
i
=
0
;
i
<
CHAR_SET_SIZE
;
i
++
)
for
(
i
=
0
;
i
<
CHAR_SET_SIZE
;
i
++
)
preg
->
translate
[
i
]
=
ISUPPER
(
i
)
?
TOLOWER
(
i
)
:
(
int
)
i
;
preg
->
translate
[
i
]
=
ISUPPER
(
i
)
?
TOLOWER
(
i
)
:
i
;
}
}
else
else
preg
->
translate
=
NULL
;
preg
->
translate
=
NULL
;
...
...
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