[edk2-devel] [PATCH 1/3] MdePkg/BaseLib: re-specify Base64Decode(), and add temporary stub impl

Laszlo Ersek lersek at redhat.com
Tue Jul 16 18:53:05 UTC 2019


On 07/16/19 16:59, Philippe Mathieu-Daudé wrote:
> On 7/16/19 4:14 PM, Laszlo Ersek wrote:
>> On 07/16/19 11:41, Philippe Mathieu-Daudé wrote:
>>> Hi Laszlo,
>>>
>>> On 7/16/19 10:38 AM, Philippe Mathieu-Daudé wrote:
>>>> On 7/2/19 12:28 PM, Laszlo Ersek wrote:
>>>>> Rewrite Base64Decode() from scratch, due to reasons listed in the second
>>>>> reference below.
>>>>>
>>>>> As first step, redo the interface contract, and replace the current
>>>>> implementation with a stub that asserts FALSE, then fails.
>>>>>
>>>>> Cc: Liming Gao <liming.gao at intel.com>
>>>>> Cc: Marvin Häuser <mhaeuser at outlook.de>
>>>>> Cc: Michael D Kinney <michael.d.kinney at intel.com>
>>>>> Cc: Philippe Mathieu-Daudé <philmd at redhat.com>
>>>>> Cc: Zhichao Gao <zhichao.gao at intel.com>
>>>>> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1891
>>>>> Ref: http://mid.mail-archive.com/c495bd0b-ea4d-7206-8a4f-a7149760d19a@redhat.com
>>>>> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
>>>>> ---
>>>>>  MdePkg/Include/Library/BaseLib.h |  99 +++++--
>>>>>  MdePkg/Library/BaseLib/String.c  | 285 ++++++--------------
>>>>>  2 files changed, 168 insertions(+), 216 deletions(-)
>>>
>>> You forgot to update the copyright in both files.
>>
>> I didn't: I never intended to.
>>
>> Updating or extending *existing* copyright notices is not a general edk2
>> requirement. Some companies insist that their associates do that, when
>> they contribute patches. Red Hat doesn't (we don't extend copyright
>> notices like that in QEMU either).
> 
> Oh OK, I did not know :S

In retrospect, I may have mislead you, unwittingly -- perhaps you recall
me pointing out the same issue to other contributors.

But, in those cases, I must have raised the topic only for one of two
reasons:

- I had known from experience that the contributor's employer would
expect an update to the (C) notice

- there was an update already in the patch, but it looked incorrect
(extending a (C) notice to a year different from the current year,
inadvertently deleting a different (C) notice, and so on).

Thanks!
Laszlo

> Thanks for telling me,
> 
> Phil.
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43815): https://edk2.groups.io/g/devel/message/43815
Mute This Topic: https://groups.io/mt/32284615/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list