Fixed compilation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8927 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -77,7 +77,7 @@ find_file_in_path(const char *file_name, char *found_name, unsigned int max_size
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
exec_file(int argc, char *argv[], int *retcode)
|
exec_file(int argc, char *argv[], status_t *retcode)
|
||||||
{
|
{
|
||||||
char filename[255];
|
char filename[255];
|
||||||
int pid;
|
int pid;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
bool combine_path(const char *path1,const char *path2,char *out,unsigned int max_len);
|
bool combine_path(const char *path1,const char *path2,char *out,unsigned int max_len);
|
||||||
bool exists_file(const char *file_name);
|
bool exists_file(const char *file_name);
|
||||||
bool find_file_in_path(const char *file_name,char *found_name,unsigned int max_size);
|
bool find_file_in_path(const char *file_name,char *found_name,unsigned int max_size);
|
||||||
int exec_file(int argc,char *argv[],int *retcode);
|
int exec_file(int argc,char *argv[], status_t *retcode);
|
||||||
int read_file_in_buffer(const char *filename,char **buffer);
|
int read_file_in_buffer(const char *filename,char **buffer);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -359,7 +359,7 @@ handle_exec(scan_info *info,shell_value **out)
|
|||||||
char redirect_in[SCAN_SIZE+1];
|
char redirect_in[SCAN_SIZE+1];
|
||||||
char redirect_out[SCAN_SIZE+1];
|
char redirect_out[SCAN_SIZE+1];
|
||||||
int err = SHE_NO_ERROR;
|
int err = SHE_NO_ERROR;
|
||||||
int retcode;
|
status_t retcode;
|
||||||
char *statement;
|
char *statement;
|
||||||
|
|
||||||
*out = NULL;
|
*out = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user