develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH] Embaressing typo in Syslog's Makefile.PL

From:
Nicholas Clark
Date:
August 30, 2001 15:21
Subject:
[PATCH] Embaressing typo in Syslog's Makefile.PL
Message ID:
20010830232150.D4950@plum.flirble.org
Oops.
I'm a bit surprised why no regression test spots this sort of thing.
I suspect it's because the name actually only shows up in error messages
about absent constants or names that never were constants.

Passes all tests. (as without patch)

Nicholas Clark

--- ext/Sys/Syslog/Makefile.PL.orig	Tue Jun 19 00:52:53 2001
+++ ext/Sys/Syslog/Makefile.PL	Thu Aug 30 22:51:12 2001
@@ -9,7 +9,7 @@
     realclean => {FILES=> 'constants.c constants.xs'},
 );
 WriteConstants(
-    NAME => 'GDBM_File',
+    NAME => 'Sys::Syslog',
     NAMES => [qw(LOG_ALERT LOG_AUTH LOG_AUTHPRIV LOG_CONS LOG_CRIT LOG_CRON
                  LOG_DAEMON LOG_DEBUG LOG_EMERG LOG_ERR LOG_FACMASK LOG_FTP
                  LOG_INFO LOG_KERN LOG_LFMT LOG_LOCAL0 LOG_LOCAL1 LOG_LOCAL2



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About