bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: Jason Keltz
Subject: (no subject)
Date: Wed, 18 Apr 2001 16:08:15 -0400 (EDT)

GROFF VERSION: 1.17

MACHINE:
Sun Enterprise 4500

OS:
Solaris 7

COMPILER:
gcc version egcs-2.91.66

INPUT FILES:
foo.ms contains:
.LP
Hello world.

COMMAND LINE:
groff -Thtml -ms foo.ms

DESCRIPTION OF INCORRECT BEHAVIOUR:

The groff command calls pre-grohtml with gtroff as an argument, and
pre-grohtml tries to open "gtroff" (in the working directory) producing an
error that gtroff cannot be opened instead of calling gtroff.

SUGGESTED FIX(ES):

In src/preproc/html, replace this line:
    } else if (strcmp(argv[i], "troff") == 0) {
with:
     } else if ((strcmp(argv[i], "troff") == 0) || (strcmp(argv[i], "gtroff") 
== 0)) {

Jason Keltz (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]