mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* background.c: Remove mymsg.
This commit is contained in:
parent
f75d4598eb
commit
67e8519191
@ -1,5 +1,7 @@
|
|||||||
2003-10-25 Pavel Roskin <proski@gnu.org>
|
2003-10-25 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* background.c: Remove mymsg.
|
||||||
|
|
||||||
* util.c (msglen): Constify first argument.
|
* util.c (msglen): Constify first argument.
|
||||||
* wtools.c (query_dialog): Constify string argments.
|
* wtools.c (query_dialog): Constify string argments.
|
||||||
(create_message): New function, forked from message().
|
(create_message): New function, forked from message().
|
||||||
|
@ -64,7 +64,6 @@ int socketpair(int, int, int, int fd[2]);
|
|||||||
static int parent_fd;
|
static int parent_fd;
|
||||||
|
|
||||||
#define MAXCALLARGS 4 /* Number of arguments supported */
|
#define MAXCALLARGS 4 /* Number of arguments supported */
|
||||||
#define mymsg "Desde el hijo\n\r"
|
|
||||||
|
|
||||||
struct TaskList *task_list = NULL;
|
struct TaskList *task_list = NULL;
|
||||||
|
|
||||||
@ -145,9 +144,6 @@ do_background (struct FileOpContext *ctx, char *info)
|
|||||||
while (dup2 (nullfd, 2) == -1 && errno == EINTR);
|
while (dup2 (nullfd, 2) == -1 && errno == EINTR);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* To make it obvious if it fails, there is a bug report on this */
|
|
||||||
write (2, mymsg, sizeof (mymsg));
|
|
||||||
write (1, mymsg, sizeof (mymsg));
|
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
close (comm[1]);
|
close (comm[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user