- From: Clamen, Stewart <s.clamen@clairvoyancecorp.com>
- Date: Tue, 1 Aug 2000 17:35:46 -0400 (EDT)
- To: "'html-tidy@w3.org'" <html-tidy@w3.org>
On Tue, 11 Jul 2000 23:58:50 -0700 Terry Teague wrote:
At 11:00 AM -0400 7/9/2000, Mike Bunyan wrote:
>Using the facility to parse report to an error file (-f),
the report
>is not filled with any message.
>This applies for a single file or a batch of files using
wild cards
>(*)
>eg command line
>
tidy -config localtest.txt -f f:\chap1\errschap1.txt
f:\chap1\*.htm
>
>Tidy 8th July 2000 version
>win2000 o/s NTFS5
>
>Any thoughts please?
I also ran into similar behaviour. I have only briefly
played with the Windows version of Tidy08Jul00 (under W95), but it seems to
ignore the -f option, unlike previous versions.
To me this smells like a bug.
I haven't looked at the source code yet.
Regards, Terry
Yes, it seems like a bug. Apply the following patch:
*** tidy.c Tue Aug 01 17:30:17 2000
--- tidy.c.old Tue Aug 01 17:34:53 2000
***************
*** 895,901 ****
/* and try to open the new error file */
fp = fopen(errfile, "w");
! if (fp != null)
{
errout = fp;
current_errorfile = errfile;
--- 895,901 ----
/* and try to open the new error file */
fp = fopen(errfile, "w");
! if (input != null)
{
errout = fp;
current_errorfile = errfile;
Received on Tuesday, 1 August 2000 23:22:44 UTC