mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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>
|
||||
|
||||
* background.c: Remove mymsg.
|
||||
|
||||
* util.c (msglen): Constify first argument.
|
||||
* wtools.c (query_dialog): Constify string argments.
|
||||
(create_message): New function, forked from message().
|
||||
|
@ -64,7 +64,6 @@ int socketpair(int, int, int, int fd[2]);
|
||||
static int parent_fd;
|
||||
|
||||
#define MAXCALLARGS 4 /* Number of arguments supported */
|
||||
#define mymsg "Desde el hijo\n\r"
|
||||
|
||||
struct TaskList *task_list = NULL;
|
||||
|
||||
@ -145,9 +144,6 @@ do_background (struct FileOpContext *ctx, char *info)
|
||||
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;
|
||||
} else {
|
||||
close (comm[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user