Define stderr_fd
Этот коммит содержится в:
родитель
7ee95e588f
Коммит
b20b135eba
@ -315,7 +315,8 @@ int main (int argc, char **argv)
|
||||
{
|
||||
char *error;
|
||||
unsigned char action = 0;
|
||||
|
||||
int stderr_fd;
|
||||
|
||||
/*
|
||||
* Make sure Stderr points to a valid place
|
||||
*/
|
||||
@ -324,8 +325,8 @@ int main (int argc, char **argv)
|
||||
if (stderr_fd == -1)
|
||||
exit (1);
|
||||
|
||||
if (strderr_fd != 2)
|
||||
dup2 (strderr_fd, 2);
|
||||
if (stderr_fd != 2)
|
||||
dup2 (stderr_fd, 2);
|
||||
|
||||
if (argc != 2){
|
||||
/* Wrong number of arguments */
|
||||
|
@ -119,16 +119,16 @@ typedef struct {
|
||||
/* These are standard GtkWidgets */
|
||||
|
||||
void *xwindow; /* The toplevel window */
|
||||
|
||||
|
||||
void *table;
|
||||
void *view_table;
|
||||
void *pane;
|
||||
void *list;
|
||||
void *tree;
|
||||
void *icons;
|
||||
void *scrollbar;
|
||||
void *status;
|
||||
void *ministatus;
|
||||
void *tree;
|
||||
void *pane;
|
||||
void *view_table;
|
||||
|
||||
void *filter_w; /* A WInput* */
|
||||
void *current_dir; /* A WInput* */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user