Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
089821fb
Commit
089821fb
authored
Jan 04, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zsh: fix infinite loop.
parent
bdaad357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+14
-12
No files found.
extras/analyser/zsh.cpp
View file @
089821fb
...
...
@@ -224,14 +224,15 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
{
std
::
pair
<
mumap
::
iterator
,
mumap
::
iterator
>
range
=
mods
.
equal_range
(
p_item
->
psz_type
);
std
::
string
list
=
(
*
range
.
first
).
second
;
++
range
.
first
;
while
(
range
.
first
!=
range
.
second
)
if
(
range
.
first
!=
range
.
second
)
{
list
=
list
.
append
(
" "
);
list
=
list
.
append
(
range
.
first
->
second
);
++
range
.
first
;
while
(
range
.
first
++
!=
range
.
second
)
{
list
=
list
.
append
(
" "
);
list
=
list
.
append
(
range
.
first
->
second
);
}
asprintf
(
&
psz_arguments
,
"(%s)"
,
list
.
c_str
()
);
}
asprintf
(
&
psz_arguments
,
"(%s)"
,
list
.
c_str
()
);
}
break
;
case
CONFIG_ITEM_MODULE_CAT
:
...
...
@@ -239,14 +240,15 @@ void ParseOption( module_config_t *p_item, mumap &mods, mcmap &mods2 )
std
::
pair
<
mcmap
::
iterator
,
mcmap
::
iterator
>
range
=
mods2
.
equal_range
(
p_item
->
min
.
i
);
std
::
string
list
=
(
*
range
.
first
).
second
;
++
range
.
first
;
while
(
range
.
first
!=
range
.
second
)
if
(
range
.
first
!=
range
.
second
)
{
list
=
list
.
append
(
" "
);
list
=
list
.
append
(
range
.
first
->
second
);
++
range
.
first
;
while
(
range
.
first
++
!=
range
.
second
)
{
list
=
list
.
append
(
" "
);
list
=
list
.
append
(
range
.
first
->
second
);
}
asprintf
(
&
psz_arguments
,
"(%s)"
,
list
.
c_str
()
);
}
asprintf
(
&
psz_arguments
,
"(%s)"
,
list
.
c_str
()
);
}
break
;
case
CONFIG_ITEM_MODULE_LIST_CAT
:
...
...
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