From: Daniel Ottavio Date: Fri, 17 Feb 2006 03:44:01 +0000 (+0000) Subject: * amd/sum_map_tok.l: Fixed a bug in a regular expression that X-Git-Tag: am-utils-6_2a2~22 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=93fdeb20c44960507001c76553acd318e390dd51;p=am-utils-6.1.git * amd/sum_map_tok.l: Fixed a bug in a regular expression that prevented dashes in hostnames. This was posted in BZ by Thomas A. Fine. * README.sun2amd: Fixed a typo. Sentence mentions use of autofs type when it should be host type. --- diff --git a/ChangeLog b/ChangeLog index 7487244..b6d01eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-02-16 Daniel P. Ottavio + + * amd/sum_map_tok.l: Fixed a bug in a regular expression that + prevented dashes in hostnames. This was posted in BZ by Thomas + A. Fine. + + * README.sun2amd: Fixed a typo. Sentence mentions use of autofs + type when it should be host type. + 2006-01-04 Erez Zadok * doc/am-utils.texi (auto_attrcache Parameter): revise discussion diff --git a/README.sun2amd b/README.sun2amd index 762e53d..6c397bd 100644 --- a/README.sun2amd +++ b/README.sun2amd @@ -123,7 +123,7 @@ stdout (i.e., traditional Unix filter). Q1: I know "/net" is not supported, but how can I achieve the same functionality with Amd? -A1: In short, you must create the '/net' entry as a Amd entry of type autofs +A1: In short, you must create the '/net' entry as a Amd entry of type host by hand. Below is an example of how to do this. See the Amd documentation on type autofs for more information. diff --git a/amd/sun_map_tok.l b/amd/sun_map_tok.l index 868bbc3..55aadeb 100644 --- a/amd/sun_map_tok.l +++ b/amd/sun_map_tok.l @@ -144,7 +144,7 @@ int sun_map_tokpos = 1; /* allocate more output slots so lex scanners don't run out of mem */ %o 1024 -WORD_REX [A-Za-z0-9_/&\.$=]+ +WORD_REX [A-Za-z0-9_/&\.$=]+[A-Za-z0-9_/&\.$=-]* COMMENT_REX ^#.*\n WSPACE_REX [ \t]* NEWLINE_REX [ \t]*\n