emacs-devel
[Top][All Lists]
Advanced

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

Re: Add support for base64url variant


From: Pierre Téchoueyres
Subject: Re: Add support for base64url variant
Date: Thu, 23 May 2019 21:37:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Pierre Téchoueyres <address@hidden>
>> Date: Wed, 22 May 2019 00:32:19 +0200
>> 
>> +                                NILP(no_pad), !NILP(url_variant),
>
> Please leave one blank between the name of a macro or function and the
> following opening parenthesis.

Fixed.

>
>> +      if (pad) {
>> +        *e++ = '=';
>> +        *e++ = '=';
>> +      }
>
> This is not our style of writing blocks in braces.  We use this style:
>
>    if (pad)
>      {
>        *e++ = '=';
>        ...
>
>> +      *e++ = b64_value_to_char[value];
>> +      if (pad) {
>> +        *e++ = '=';
>> +      }
>
> Likewise.
>

Fixed.

> I'd suggest to call the new argument base64url or somesuch, since
> this is trhe official name.
>
You mean in replacement of url_variant or b64_value_to_char ?

How should I send new versions of the patch ? As a full patch in
attachment like previously ?



reply via email to

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