W3C home > Mailing lists > Public > www-validator@w3.org > May 1999

Re: improvements / win9x

From: Bjoern Hoehrmann <hoermi@arcormail.de>
Date: Thu, 13 May 1999 17:37:33 +0200
Message-ID: <000201be9d5a$f639e780$c7e0a8c0@de>
To: <www-validator@w3.org>
Hi,
| No disagreement. Perhaps I was not clear. I'm suggesting something to the
| tune of...
| 
| Unless ( $ENV{'OS') eq 'Windows_9x' ) {
| ... existing code ...
| }
| else {
| ... code which works on Windows 9x ...
| }

Why blow up the code? The change:

  482: $command  = "$codeconv $sp -f$temp -E0 $xmlflags $catalog $decl";
  486: open( CHECKER, "| $command - >$temp.esis" )

  500:     s/\+$//; # seems, that this was a bug (s/+$//;)

works fine on both, Posix (e.g Unix/Linux/NT) and Win9x (and other perl
platforms without posix support). So it's not necessary to include any
type of OS check.

regards,
 Bjoern
-- 
# Mein Platz im Netz : http://home.pages.de/~bjoernsworld/
# HTML Writers Guild : http://www.hwg.org
# Elektronische Post : mailto:hoermi@arcormail.de
Received on Thursday, 13 May 1999 12:09:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:52 GMT