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
74156d5b
Commit
74156d5b
authored
Dec 16, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
archive_plugin: pass const string to method open()
parent
b04adde7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
bz2_archive_plugin.c
src/archive/bz2_archive_plugin.c
+1
-1
iso9660_archive_plugin.c
src/archive/iso9660_archive_plugin.c
+1
-1
zzip_archive_plugin.c
src/archive/zzip_archive_plugin.c
+1
-1
archive_plugin.h
src/archive_plugin.h
+1
-1
No files found.
src/archive/bz2_archive_plugin.c
View file @
74156d5b
...
...
@@ -96,7 +96,7 @@ bz2_destroy(struct bz2_archive_file *data)
/* archive open && listing routine */
static
struct
archive_file
*
bz2_open
(
char
*
pathname
)
bz2_open
(
c
onst
c
har
*
pathname
)
{
struct
bz2_archive_file
*
context
;
int
len
;
...
...
src/archive/iso9660_archive_plugin.c
View file @
74156d5b
...
...
@@ -88,7 +88,7 @@ listdir_recur(const char *psz_path, struct iso9660_archive_file *context)
}
static
struct
archive_file
*
iso9660_archive_open
(
c
har
*
pathname
)
iso9660_archive_open
(
c
onst
char
*
pathname
)
{
struct
iso9660_archive_file
*
context
=
g_new
(
struct
iso9660_archive_file
,
1
);
...
...
src/archive/zzip_archive_plugin.c
View file @
74156d5b
...
...
@@ -50,7 +50,7 @@ zzip_quark(void)
/* archive open && listing routine */
static
struct
archive_file
*
zzip_archive_open
(
char
*
pathname
)
zzip_archive_open
(
c
onst
c
har
*
pathname
)
{
struct
zzip_archive
*
context
=
g_malloc
(
sizeof
(
*
context
));
ZZIP_DIRENT
dirent
;
...
...
src/archive_plugin.h
View file @
74156d5b
...
...
@@ -48,7 +48,7 @@ struct archive_plugin {
* returns pointer to handle used is all operations with this archive
* or NULL when opening fails
*/
struct
archive_file
*
(
*
open
)(
c
har
*
pathname
);
struct
archive_file
*
(
*
open
)(
c
onst
char
*
path_fs
);
/**
* reset routine will move current read index in archive to default
...
...
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