* background.c: Remove mymsg.

This commit is contained in:
Pavel Roskin 2003-10-25 21:15:54 +00:00
parent f75d4598eb
commit 67e8519191
2 changed files with 2 additions and 4 deletions

View File

@ -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().

View File

@ -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]);