gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Namespace


From: Jan Hudec
Subject: Re: [Gnu-arch-users] Namespace
Date: Wed, 24 Mar 2004 10:15:14 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Tue, Mar 23, 2004 at 21:37:26 +0100, Jean Helou wrote:
> Here it is,
> this will handle the problem, though I seem to be the only one to find
> it is a problem. A number of email address do exist which have an
> underscore in the prefix (before the@) the implicit rule that archive
> names should begin with an email address may generate quite a number of
> complaints without this.
> 
> I know this might break compatibility with  older versions of tla in
> that it will prevent them from getting some archives created with an
> underscore. Nonetheless you can't both require an email address in the
> archive name and not support all valid email addresses.
> 
> cheers,
> Jean
> 
> --- orig/libarch/namespace.c
> +++ mod/libarch/namespace.c
> @@ -1074,7 +1074,7 @@
>        while (char_is_alnum_or_dash (*in))
>          ++in;
> 
> -      if (*in != '.')
> +      if (*in != '.' && *in != '_' )
>          break;
> 
>        if (!char_is_alnum_or_dash (in[1]))

You will probably have to fix one more place, that is if _ should be
accepted on the start of a line too. See bug 72
(http://bugs.gnuarch.org/cgi-bin/bugreport.cgi?bug=72).

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]