Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
793cc9c0
...
793cc9c08087b69bdff8b8adc5c366fca4d61c4a
authored
2006-04-20 15:52:41 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_spawnvp): Change type of the 2nd argument.
1 parent
b1fb6b25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
include/mailutils/mutil.h
mailbox/mutil.c
include/mailutils/mutil.h
View file @
793cc9c
...
...
@@ -104,7 +104,7 @@ extern char *mu_tempname (const char *tmpdir);
extern
char
*
mu_get_full_path
(
const
char
*
file
);
extern
char
*
mu_getcwd
(
void
);
extern
int
mu_spawnvp
(
const
char
*
prog
,
c
onst
char
*
const
av
[],
int
*
stat
);
extern
int
mu_spawnvp
(
const
char
*
prog
,
c
har
*
const
av
[],
int
*
stat
);
typedef
void
*
(
*
mu_retrieve_fp
)
(
void
*
);
extern
void
mu_register_retriever
(
mu_list_t
*
pflist
,
mu_retrieve_fp
fun
);
...
...
mailbox/mutil.c
View file @
793cc9c
...
...
@@ -655,7 +655,7 @@ mu_tempname (const char *tmpdir)
* to find it.
*/
int
mu_spawnvp
(
const
char
*
prog
,
c
onst
char
*
const
av_
[],
int
*
stat
)
mu_spawnvp
(
const
char
*
prog
,
c
har
*
const
av
[],
int
*
stat
)
{
pid_t
pid
;
int
err
=
0
;
...
...
@@ -665,7 +665,6 @@ mu_spawnvp (const char *prog, const char *const av_[], int *stat)
struct
sigaction
savequit
;
sigset_t
chldmask
;
sigset_t
savemask
;
char
**
av
=
(
char
**
)
av_
;
if
(
!
prog
||
!
av
)
return
EINVAL
;
...
...
Please
register
or
sign in
to post a comment