Subject: bin/6679: vgrind -f breaks \ns
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 12/29/1998 16:34:59
>Number: 6679
>Category: bin
>Synopsis: vgrind -f breaks \ns
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 29 09:20:00 1998
>Last-Modified:
>Originator: Hubert Feyrer
>Organization:
--
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
>Release: 1.3I
>Environment:
System: NetBSD miyu 1.3I NetBSD 1.3I (MIYU) #14: Mon Dec 28 21:47:02 MET 1998 feyrer@miyu:/data/cvs/src/sys/arch/i386/compile/MIYU i386
>Description:
vgrind -f breaks on input files including C-like \-sequences,
replacing the characters following the \ with something wrong.
>How-To-Repeat:
miyu% cat h.c
#include <stdio.h>
int main(void)
{
printf("hello world!\n");
return 0;
}
miyu% vgrind -f < h.c | nroff | head
#include <stdio.h>
int main(void)
{
printf("hello world!0); <--- note the broken strings here!!!
return 0;
}
>Fix:
The problem lies somewhere in /usr/libexec/vfontedpr, and shows
only if it's called with the -f flag (which is passed if -f is
given to vgrind). If vfontedpr is called directly without the -f
flag, this works ok. No other flags were tested, though, and the
only input language around here right now is C. YMMV.
Anyways, I leave this to someone with more clue on *roff.
>Audit-Trail:
>Unformatted: