> I've uploaded qmail-lint-0.51 to www.qmail.org.  It now has a -v flag
> which prints a more verbose explanation of why something might be a
> problem.

Shame on you for not using strict!

Without this patch, if a user's home directory produces more than one warning,
the second and subsequent warnings show the previous error code instead of the
username.

*** qmail-lint-0.51     Wed Jan 27 12:25:41 1999
--- qmail-lint  Wed Jan 27 12:27:05 1999
***************
*** 36,40 ****
  sub verbose {
    return unless $opt_v;
!   $name = shift;
    return if $verbose_printed{$name}++;
    seek(DATA,0,0);
--- 36,40 ----
  sub verbose {
    return unless $opt_v;
!   my $name = shift;
    return if $verbose_printed{$name}++;
    seek(DATA,0,0);



-- 
        Peter Haworth   [EMAIL PROTECTED]
"Windows NT addresses 2 Gigabytes of RAM which is more than any
   application will ever need."
        --Microsoft, 1992, on the development of Windows NT

Reply via email to