- Copyright (C) 1985, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1994, 1999 Free Software Foundation, Inc.
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
/* This program isnot used in BSD, so just avoid loader complaints. */
#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
/* This program isnot used in BSD, so just avoid loader complaints. */
p = buffer + (p - linebuffer->buffer);
end = buffer + linebuffer->size;
linebuffer->buffer = buffer;
p = buffer + (p - linebuffer->buffer);
end = buffer + linebuffer->size;
linebuffer->buffer = buffer;
/* Read lines from the input until we get a blank line.
Create a list of `header' objects, one for each header field,
each of which points to a list of `line_list' objects,
one for each line in that field.
Continuation lines are grouped in the headers they continue. */
/* Read lines from the input until we get a blank line.
Create a list of `header' objects, one for each header field,
each of which points to a list of `line_list' objects,
one for each line in that field.
Continuation lines are grouped in the headers they continue. */
command_line = alloc_string (name_length + args_size (the_header));
strcpy (command_line, mail_program_name);
parse_header (the_header, &command_line[name_length]);
command_line = alloc_string (name_length + args_size (the_header));
strcpy (command_line, mail_program_name);
parse_header (the_header, &command_line[name_length]);
the_pipe = popen (command_line, "w");
if (the_pipe == ((FILE *) NULL))
fatal ("cannot open pipe to real mailer");
the_pipe = popen (command_line, "w");
if (the_pipe == ((FILE *) NULL))
fatal ("cannot open pipe to real mailer");