rmail.c (71348) | rmail.c (73191) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. | 2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. |
3 * All rights reserved. 4 * Copyright (c) 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 */ 12 13#ifndef lint 14static char copyright[] = 15"@(#) Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.\n\ 16 All rights reserved.\n\ 17 Copyright (c) 1988, 1993\n\ 18 The Regents of the University of California. All rights reserved.\n"; 19#endif /* ! lint */ 20 21#ifndef lint | 3 * All rights reserved. 4 * Copyright (c) 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 */ 12 13#ifndef lint 14static char copyright[] = 15"@(#) Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.\n\ 16 All rights reserved.\n\ 17 Copyright (c) 1988, 1993\n\ 18 The Regents of the University of California. All rights reserved.\n"; 19#endif /* ! lint */ 20 21#ifndef lint |
22static char id[] = "@(#)$Id: rmail.c,v 8.39.4.9 2000/11/17 08:42:56 gshapiro Exp $"; | 22static char id[] = "@(#)$Id: rmail.c,v 8.39.4.11 2001/02/14 04:07:25 gshapiro Exp $"; |
23#endif /* ! lint */ 24 | 23#endif /* ! lint */ 24 |
25/* $FreeBSD: head/contrib/sendmail/rmail/rmail.c 71348 2001-01-21 22:21:43Z gshapiro $ */ | 25/* $FreeBSD: head/contrib/sendmail/rmail/rmail.c 73191 2001-02-28 00:22:47Z gshapiro $ */ |
26 27/* 28 * RMAIL -- UUCP mail server. 29 * 30 * This program reads the >From ... remote from ... lines that UUCP is so 31 * fond of and turns them into something reasonable. It then execs sendmail 32 * with various options built from these lines. 33 * --- 60 unchanged lines hidden (view full) --- 94#if defined(BSD4_4) || defined(linux) || SOLARIS >= 20600 || (SOLARIS < 10000 && SOLARIS >= 206) || _AIX4 >= 40300 || defined(HPUX11) 95# define HASSNPRINTF 1 96#endif /* defined(BSD4_4) || defined(linux) || SOLARIS >= 20600 || (SOLARIS < 10000 && SOLARIS >= 206) || _AIX4 >= 40300 || defined(HPUX11) */ 97 98#if defined(sun) && !defined(BSD) && !defined(SOLARIS) && !defined(__svr4__) && !defined(__SVR4) 99# define memmove(d, s, l) (bcopy((s), (d), (l))) 100#endif /* defined(sun) && !defined(BSD) && !defined(SOLARIS) && !defined(__svr4__) && !defined(__SVR4) */ 101 | 26 27/* 28 * RMAIL -- UUCP mail server. 29 * 30 * This program reads the >From ... remote from ... lines that UUCP is so 31 * fond of and turns them into something reasonable. It then execs sendmail 32 * with various options built from these lines. 33 * --- 60 unchanged lines hidden (view full) --- 94#if defined(BSD4_4) || defined(linux) || SOLARIS >= 20600 || (SOLARIS < 10000 && SOLARIS >= 206) || _AIX4 >= 40300 || defined(HPUX11) 95# define HASSNPRINTF 1 96#endif /* defined(BSD4_4) || defined(linux) || SOLARIS >= 20600 || (SOLARIS < 10000 && SOLARIS >= 206) || _AIX4 >= 40300 || defined(HPUX11) */ 97 98#if defined(sun) && !defined(BSD) && !defined(SOLARIS) && !defined(__svr4__) && !defined(__SVR4) 99# define memmove(d, s, l) (bcopy((s), (d), (l))) 100#endif /* defined(sun) && !defined(BSD) && !defined(SOLARIS) && !defined(__svr4__) && !defined(__SVR4) */ 101 |
102#if !HASSNPRINTF | 102#if !HASSNPRINTF && !SFIO |
103extern int snprintf __P((char *, size_t, const char *, ...)); | 103extern int snprintf __P((char *, size_t, const char *, ...)); |
104#endif /* !HASSNPRINTF */ | 104#endif /* !HASSNPRINTF && !SFIO */ |
105 106#if defined(BSD4_4) || defined(__osf__) || defined(__GNU_LIBRARY__) || defined(IRIX64) || defined(IRIX5) || defined(IRIX6) 107# ifndef HASSTRERROR 108# define HASSTRERROR 1 109# endif /* ! HASSTRERROR */ 110#endif /* defined(BSD4_4) || defined(__osf__) || defined(__GNU_LIBRARY__) || 111 defined(IRIX64) || defined(IRIX5) || defined(IRIX6) */ 112 --- 369 unchanged lines hidden --- | 105 106#if defined(BSD4_4) || defined(__osf__) || defined(__GNU_LIBRARY__) || defined(IRIX64) || defined(IRIX5) || defined(IRIX6) 107# ifndef HASSTRERROR 108# define HASSTRERROR 1 109# endif /* ! HASSTRERROR */ 110#endif /* defined(BSD4_4) || defined(__osf__) || defined(__GNU_LIBRARY__) || 111 defined(IRIX64) || defined(IRIX5) || defined(IRIX6) */ 112 --- 369 unchanged lines hidden --- |