Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
0cc3b98b
Commit
0cc3b98b
authored
Dec 31, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/archive: don't initialize input_stream.ready
The archive plugin should decide this.
parent
c157711e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
bz2_archive_plugin.c
src/archive/bz2_archive_plugin.c
+1
-0
iso9660_archive_plugin.c
src/archive/iso9660_archive_plugin.c
+1
-0
zzip_archive_plugin.c
src/archive/zzip_archive_plugin.c
+1
-0
archive_input_plugin.c
src/input/archive_input_plugin.c
+0
-2
No files found.
src/archive/bz2_archive_plugin.c
View file @
0cc3b98b
...
...
@@ -170,6 +170,7 @@ bz2_open_stream(struct archive_file *file, struct input_stream *is,
is
->
plugin
=
&
bz2_inputplugin
;
//insert back reference
is
->
data
=
bis
;
is
->
ready
=
true
;
is
->
seekable
=
false
;
if
(
!
bz2_alloc
(
bis
,
error_r
))
{
...
...
src/archive/iso9660_archive_plugin.c
View file @
0cc3b98b
...
...
@@ -185,6 +185,7 @@ iso9660_archive_open_stream(struct archive_file *file, struct input_stream *is,
is
->
plugin
=
&
iso9660_input_plugin
;
//insert back reference
is
->
data
=
iis
;
is
->
ready
=
true
;
//we are not seekable
is
->
seekable
=
false
;
...
...
src/archive/zzip_archive_plugin.c
View file @
0cc3b98b
...
...
@@ -145,6 +145,7 @@ zzip_archive_open_stream(struct archive_file *file, struct input_stream *is,
is
->
plugin
=
&
zzip_input_plugin
;
//insert back reference
is
->
data
=
zis
;
is
->
ready
=
true
;
//we are seekable (but its not recommendent to do so)
is
->
seekable
=
true
;
...
...
src/input/archive_input_plugin.c
View file @
0cc3b98b
...
...
@@ -71,8 +71,6 @@ input_archive_open(struct input_stream *is, const char *pathname,
if
(
!
opened
)
{
archive_file_close
(
file
);
}
else
{
is
->
ready
=
true
;
}
return
opened
;
...
...
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