Deleted Added
full compact
show.c (157750) show.c (200956)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 22 unchanged lines hidden (view full) ---

31 */
32
33#ifndef lint
34#if 0
35static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
36#endif
37#endif /* not lint */
38#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 22 unchanged lines hidden (view full) ---

31 */
32
33#ifndef lint
34#if 0
35static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
36#endif
37#endif /* not lint */
38#include <sys/cdefs.h>
39__FBSDID("$FreeBSD: head/bin/sh/show.c 157750 2006-04-14 13:59:03Z schweikh $");
39__FBSDID("$FreeBSD: head/bin/sh/show.c 200956 2009-12-24 18:41:14Z jilles $");
40
41#include <fcntl.h>
42#include <stdio.h>
43#include <stdlib.h>
44#include <stdarg.h>
45#include <errno.h>
46
47#include "shell.h"

--- 254 unchanged lines hidden (view full) ---

302 if (strchr(fmt, '\n'))
303 (void) fflush(tracefile);
304 }
305 va_end(va);
306}
307
308
309void
40
41#include <fcntl.h>
42#include <stdio.h>
43#include <stdlib.h>
44#include <stdarg.h>
45#include <errno.h>
46
47#include "shell.h"

--- 254 unchanged lines hidden (view full) ---

302 if (strchr(fmt, '\n'))
303 (void) fflush(tracefile);
304 }
305 va_end(va);
306}
307
308
309void
310trputs(char *s)
310trputs(const char *s)
311{
312 if (tracefile == NULL)
313 return;
314 fputs(s, tracefile);
315 if (strchr(s, '\n'))
316 fflush(tracefile);
317}
318

--- 90 unchanged lines hidden ---
311{
312 if (tracefile == NULL)
313 return;
314 fputs(s, tracefile);
315 if (strchr(s, '\n'))
316 fflush(tracefile);
317}
318

--- 90 unchanged lines hidden ---