pr.c (74575) | pr.c (90788) |
---|---|
1/*- 2 * Copyright (c) 1991 Keith Muller. 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 20 unchanged lines hidden (view full) --- 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * | 1/*- 2 * Copyright (c) 1991 Keith Muller. 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 20 unchanged lines hidden (view full) --- 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * |
37 * $FreeBSD: head/usr.bin/pr/pr.c 74575 2001-03-21 14:32:02Z ache $ | 37 * $FreeBSD: head/usr.bin/pr/pr.c 90788 2002-02-17 20:53:56Z jedgar $ |
38 */ 39 40#ifndef lint 41static char copyright[] = 42"@(#) Copyright (c) 1993\n\ 43 The Regents of the University of California. All rights reserved.\n"; 44#endif /* not lint */ 45 --- 1539 unchanged lines hidden (view full) --- 1585 int cflag = 0; 1586 char *Lflag = NULL; 1587 1588 if (isatty(fileno(stdout))) { 1589 /* 1590 * defer diagnostics until processing is done 1591 */ 1592 if ((err = tmpfile()) == NULL) { | 38 */ 39 40#ifndef lint 41static char copyright[] = 42"@(#) Copyright (c) 1993\n\ 43 The Regents of the University of California. All rights reserved.\n"; 44#endif /* not lint */ 45 --- 1539 unchanged lines hidden (view full) --- 1585 int cflag = 0; 1586 char *Lflag = NULL; 1587 1588 if (isatty(fileno(stdout))) { 1589 /* 1590 * defer diagnostics until processing is done 1591 */ 1592 if ((err = tmpfile()) == NULL) { |
1593 err = stderr; |
|
1593 (void)fputs("Cannot defer diagnostic messages\n",stderr); 1594 return(1); 1595 } 1596 } else 1597 err = stderr; 1598 while ((c = egetopt(argc, argv, "#adFmrte?h:i?L:l:n?o:s?w:")) != -1) { 1599 switch (c) { 1600 case '+': --- 229 unchanged lines hidden --- | 1594 (void)fputs("Cannot defer diagnostic messages\n",stderr); 1595 return(1); 1596 } 1597 } else 1598 err = stderr; 1599 while ((c = egetopt(argc, argv, "#adFmrte?h:i?L:l:n?o:s?w:")) != -1) { 1600 switch (c) { 1601 case '+': --- 229 unchanged lines hidden --- |