Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8762bdeb
Commit
8762bdeb
authored
May 29, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix zsh completion
parent
749fa2f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
extras/analyser/zsh.cpp
extras/analyser/zsh.cpp
+4
-2
extras/analyser/zsh_completion.sh
extras/analyser/zsh_completion.sh
+1
-1
No files found.
extras/analyser/zsh.cpp
View file @
8762bdeb
...
...
@@ -123,7 +123,7 @@ void ParseModules( mumap &mods, mcmap &mods2 )
/* Exclude empty plugins (submodules don't have config options, they
* are stored in the parent module) */
if
(
p_module
->
b_submodule
)
if
(
p_module
->
parent
)
continue
;
// p_item = ((module_t *)p_module->p_parent)->p_config;
else
...
...
@@ -186,7 +186,7 @@ void PrintModuleList( mumap &mods, mcmap &mods2 )
p_module
->
psz_object_name
)
);
}
}
while
(
i_items
++
<
p_module
->
i_config_items
&&
p_config
++
);
if
(
p_module
->
b_submodule
)
if
(
p_module
->
parent
)
continue
;
printf
(
"%s "
,
p_module
->
psz_object_name
);
}
...
...
@@ -415,11 +415,13 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
{
while
(
(
foo
=
strchr
(
psz_text
,
':'
)))
*
foo
=
';'
;
while
(
(
foo
=
strchr
(
psz_text
,
'"'
)))
*
foo
=
'\''
;
while
(
(
foo
=
strchr
(
psz_text
,
'`'
)))
*
foo
=
'\''
;
}
if
(
psz_longtext
)
{
while
(
(
foo
=
strchr
(
psz_longtext
,
':'
)))
*
foo
=
';'
;
while
(
(
foo
=
strchr
(
psz_longtext
,
'"'
)))
*
foo
=
'\''
;
while
(
(
foo
=
strchr
(
psz_longtext
,
'`'
)))
*
foo
=
'\''
;
}
if
(
!
psz_longtext
||
strchr
(
psz_longtext
,
'\n'
)
||
...
...
extras/analyser/zsh_completion.sh
View file @
8762bdeb
...
...
@@ -61,7 +61,7 @@ fi
[
-z
"
$CXX
"
]
&&
CXX
=
g++
ZSH_BUILD
=
"
$CXX
$CXXFLAGS
-D
__LIBVLC__ -D
HAVE_CONFIG_H -I
$BUILDDIR
-I
$BUILDDIR
/include -I../../include zsh.cpp
$LIBVLC
$LIBVLCCORE
-o zsh_gen"
ZSH_BUILD
=
"
$CXX
$CXXFLAGS
-DHAVE_CONFIG_H -I
$BUILDDIR
-I
$BUILDDIR
/include -I../../include zsh.cpp
$LIBVLC
$LIBVLCCORE
-o zsh_gen"
echo
$ZSH_BUILD
echo
...
...
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