Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 21:07:21 -0800 (PST)
From:      jason_smethers@bigfoot.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/5713: /bin/echo code cleanup
Message-ID:  <199802110507.VAA20049@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5713
>Category:       bin
>Synopsis:       /bin/echo code cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 21:10:17 PST 1998
>Last-Modified:
>Originator:     Jason Smethers
>Organization:
>Release:        3.0-Current
>Environment:
FreeBSD p90unix.vipersystems.com 3.0-CURRENT FreeBSD 3.0-CURRENT #1: Sun Feb  8 17:26:35 CST 1998     root@p90unix.vipersystems.com:/usr/src/sys/compile/P90UNIX  i386
>Description:
Gerneral code cleanup.
>How-To-Repeat:

>Fix:
diff -c -r /usr/src/bin/echo/echo.c /usr/local/src/bin/echo/echo.c
*** /usr/src/bin/echo/echo.c	Sat Feb 22 08:03:05 1997
--- /usr/local/src/bin/echo/echo.c	Mon Feb  9 20:20:11 1998
***************
*** 47,52 ****
--- 47,54 ----
  #include <stdlib.h>
  #include <string.h>
  
+ int main __P((int, char *[]));
+ 
  int
  main(argc, argv)
  	int argc;
***************
*** 71,79 ****
  		}
  		(void)printf("%s", argv[0]);
  		if (*++argv)
! 			putchar(' ');
  	}
  	if (!nflag)
! 		putchar('\n');
  	exit(0);
  }
--- 73,81 ----
  		}
  		(void)printf("%s", argv[0]);
  		if (*++argv)
! 			(void)putchar(' ');
  	}
  	if (!nflag)
! 		(void)putchar('\n');
  	exit(0);
  }

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802110507.VAA20049>