Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
75743b00
Commit
75743b00
authored
14 years ago
by
Kamil Dudka
Browse files
Options
Downloads
Patches
Plain Diff
lib577: avoid redefinition of ERROR
parent
01459828
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/libtest/lib577.c
+4
-4
4 additions, 4 deletions
tests/libtest/lib577.c
with
4 additions
and
4 deletions
tests/libtest/lib577.c
+
4
−
4
View file @
75743b00
...
...
@@ -34,7 +34,7 @@
#define MATCH CURL_FNMATCH_MATCH
#define NOMATCH CURL_FNMATCH_NOMATCH
#define ERR
OR
CURL_FNMATCH_FAIL
#define
RE_
ERR CURL_FNMATCH_FAIL
#define MAX_PATTERN_L 100
#define MAX_STRING_L 100
...
...
@@ -48,8 +48,8 @@ struct testcase {
static
const
struct
testcase
tests
[]
=
{
/* brackets syntax */
{
"
\\
["
,
"["
,
MATCH
},
{
"["
,
"["
,
ER
RO
R
},
{
"[]"
,
"[]"
,
ER
RO
R
},
{
"["
,
"["
,
RE_
ERR
},
{
"[]"
,
"[]"
,
RE_
ERR
},
{
"[][]"
,
"["
,
MATCH
},
{
"[][]"
,
"]"
,
MATCH
},
{
"[[]"
,
"["
,
MATCH
},
...
...
@@ -177,7 +177,7 @@ static const struct testcase tests[] = {
{
"x"
,
""
,
NOMATCH
},
/* backslash */
{
"
\\
"
,
"
\\
"
,
ER
RO
R
},
{
"
\\
"
,
"
\\
"
,
RE_
ERR
},
{
"
\\\\
"
,
"
\\
"
,
MATCH
},
{
"
\\\\
"
,
"
\\\\
"
,
NOMATCH
},
{
"
\\
?"
,
"?"
,
MATCH
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment