projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up error.h
[paraslash.git]
/
gui_common.c
diff --git
a/gui_common.c
b/gui_common.c
index 87676986719c326340d1612ec85763349d2225be..26c3d61b73feacd5b77d45e86767944ef5680564 100644
(file)
--- a/
gui_common.c
+++ b/
gui_common.c
@@
-3,7
+3,6
@@
extern const char *status_item_list[NUM_STAT_ITEMS];
extern const char *status_item_list[NUM_STAT_ITEMS];
-
int para_open_audiod_pipe(char *cmd)
{
int fds[3] = {0, 1, 0};
int para_open_audiod_pipe(char *cmd)
{
int fds[3] = {0, 1, 0};
@@
-20,7
+19,7
@@
int para_open_audiod_pipe(char *cmd)
int read_audiod_pipe(int fd, void (*line_handler)(char *) )
{
int read_audiod_pipe(int fd, void (*line_handler)(char *) )
{
- static char buf[
STRINGSIZE
];
+ static char buf[
4096
];
const ssize_t bufsize = sizeof(buf) - 1;
static ssize_t loaded;
ssize_t ret;
const ssize_t bufsize = sizeof(buf) - 1;
static ssize_t loaded;
ssize_t ret;