diff options
| author | fukachan <fukachan> | 2002-12-25 03:11:02 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-12-25 03:11:02 +0000 |
| commit | eb99ccaa4cd7eead8b5e438c844a14d9cc68da98 (patch) | |
| tree | d3ac9ff3e2cdbf7d17b9db455b0fb7853c5ca3c5 | |
| parent | 7092c5141b690357624ee92bfac9c949a983654b (diff) | |
| download | fml8-eb99ccaa4cd7eead8b5e438c844a14d9cc68da98.tar.gz fml8-eb99ccaa4cd7eead8b5e438c844a14d9cc68da98.tar.bz2 fml8-eb99ccaa4cd7eead8b5e438c844a14d9cc68da98.zip | |
fix comments
| -rw-r--r-- | fml/lib/FML/Command/DataCheck.pm | 3 | ||||
| -rw-r--r-- | fml/lib/FML/Process/Kernel.pm | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/DataCheck.pm b/fml/lib/FML/Command/DataCheck.pm index 5e0e4c5a..ab2a2780 100644 --- a/fml/lib/FML/Command/DataCheck.pm +++ b/fml/lib/FML/Command/DataCheck.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: DataCheck.pm,v 1.7 2002/12/18 04:46:22 fukachan Exp $ +# $FML: DataCheck.pm,v 1.8 2002/12/24 10:19:43 fukachan Exp $ # package FML::Command::DataCheck; @@ -104,6 +104,7 @@ sub find_special_keyword # XXX $ra_data is not whole body but already parsed and prepared buffer. # XXX See below and FML::Process::Command module, for example. + # XXX not use /^$regexp/ due to the case such as "> confirm ...". for my $buf (@$ra_data) { if ($buf =~ /$confirm_prefix\s+\w+\s+([\w\d]+)/) { $confirm_found = $1; diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm index b1c93f8d..59293219 100644 --- a/fml/lib/FML/Process/Kernel.pm +++ b/fml/lib/FML/Process/Kernel.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Kernel.pm,v 1.147 2002/12/24 10:06:24 fukachan Exp $ +# $FML: Kernel.pm,v 1.148 2002/12/24 10:19:46 fukachan Exp $ # package FML::Process::Kernel; @@ -958,6 +958,8 @@ sub _check_restrictions my $pcb = $curproc->{ pcb }; my $sender = $cred->sender(); + # XXX-TODO: method()-ify these functions for further enhancement. + # XXX-TODO: we should use $config->get_as_array_ref(). for my $rule (split(/\s+/, $config->{ "${type}_restrictions" })) { if ($rule eq 'reject_system_accounts') { |
