Subject: bin/9574: control character (^L) in usr.bin/rup/rup.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 03/08/2000 03:03:36
>Number:         9574
>Category:       bin
>Synopsis:       control-character (^L) in usr.bin/rup/rup.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar  8 03:03:00 2000
>Last-Modified:
>Originator:     Thilo Manske
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Release:        NetBSD 1.4 (and older)
>Environment:
	
System: NetBSD WintelKiller 1.4U NetBSD 1.4U (WintelKiller) #202: Fri Mar 3 04:03:10 MET 2000 thilo@WintelKiller:/usr/src/sys/arch/i386/compile/WintelKiller i386


>Description:

looking at usr.bin/rup/rup.c with more I noticed this:
[...]
        hosts = hp;
}


^L
struct rup_data {
        char *host;
        struct statstime statstime;
};
[...]

i.e. around lines ~102 in the file there are two uneeded newlines and
the control character CTRL-L (new page) - looks like someone has
piped some parts of that file through a paginator :-)

>How-To-Repeat:
more <pathtosrc>/usr.bin/rup/rup.c
>Fix:
(The mail system may remove/convert the ^L)

--- rup.c.orig	Fri Jul 30 13:25:47 1999
+++ rup.c	Wed Mar  8 04:35:52 2000
@@ -99,8 +99,6 @@
 	hosts = hp;
 }
 
-
-
 struct rup_data {
 	char *host;
 	struct statstime statstime;
>Audit-Trail:
>Unformatted: