libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] [PATCH] Fix gcc warnings


From: Rocky Bernstein
Subject: Re: [Libcdio-devel] [PATCH] Fix gcc warnings
Date: Thu, 23 Mar 2023 16:10:45 -0400

And for clarity use git show to get the SHA1. I just pulled master and here
is what I currently see:

$ git show
commit 6f2426e8bf4dc5269ccbd9fbfa94340895f8be6e (HEAD -> master,
origin/master, origin/HEAD)
Author: Robert Kausch <robert.kausch@freac.org>
Date:   Wed Mar 15 00:02:10 2023 +0100

    Fix crash reading CD TOC on macOS Ventura

    Remove unnecessary additional byte added to the TOC buffer length and
length of the range requested from CFDataGetBytes. As of macOS Ventura,
CFDataGetBytes checks the requested length and asserts if more data than
available is requested.

diff --git a/lib/driver/osx.c b/lib/driver/osx.c
index d48b5a0e..af2fe402 100644
...

And clearly this does not seem current.

569c452f8d1650c0ec50ebeef7869b54ed9c8be6 (pete_batard_gcc_warnings)  and
fdd76a8ee4f4f00f1eabc6f632322db800ee9970 (Add processing of Rock Ridge CE
records)

are the two likely candidates as Thomas has said.

Pete, and Thomas - which of these goes to master?



On Thu, Mar 23, 2023 at 4:03 PM Rocky Bernstein <rocky@gnu.org> wrote:

> Ok. Just give me the SHA1 of the code that you'd like to see in master and
> I will test it as well. And assuming everything works and it looks like
> what has been mentioned here, I will merge it and let everyone know.
>
> On Thu, Mar 23, 2023 at 3:58 PM Pete Batard <pete@akeo.ie> wrote:
>
>> Actually I don't mind if you guys sort it out as last time I checked (a
>> couple years ago), I had lost my ssh access right (which means that
>> right now I'm just using https to clone the repo) and I'm a bit busy
>> with other stuff ATM.
>>
>> I'm actually quite happy to see that Thomas has take upon himself to
>> create branches and carry additional testing to prepare for merging, so
>> thanks for doing that.
>>
>> Regards,
>>
>> /Pete
>>
>> On 2023.03.23 19:54, Rocky Bernstein wrote:
>> >
>> >
>> > On Thu, Mar 23, 2023 at 3:12 PM Thomas Schmitt <scdbackup@gmx.net
>> > <mailto:scdbackup@gmx.net>> wrote:
>> >
>> >     Hi,
>> >
>> >     the patch applies and compiles without complaints.
>> >
>> >     I was riddling about the exact meaning of "{ 0 }" when the struct
>> >     has more
>> >     than one member. In Linux time.h struct tm is declared with 11
>> members.
>> >     Finally i found in C11 specs (ISO/IEC 9899:2011 6.7.9 21):
>> >        If there are fewer initializers in a brace-enclosed list than
>> there
>> >        are elements or members of an aggregate, [...] the remainder of
>> the
>> >        aggregate shall be initialized implicitly the same as objects
>> >     that have
>> >        static storage duration.
>> >     And as we know from Kermighan & Ritchie, static variables are
>> >     automatically initialized to zero.
>> >
>> >     I lack of any test ideas for a mere initialization.
>> >
>> >     So i pushed the branch "pete_batard_gcc_warnings".
>> >     It is based on "master", not on the pending "pete_batard_ce_v3".
>> >
>> >
>>  ----------------------------------------------------------------------
>> >
>> >     Rocky:
>> >     I never merged anything in git. If you expect me to merge on my own,
>> >     then
>> >     please tell me the exact command which you would use for merging in
>> >     "pete_batard_gcc_warnings" and "pete_batard_ce_v3".
>> >     Actually i would prefer to have you as final doorman at "master".
>> >
>> >
>> >     Have a nice day :)
>> >
>> >     Thomas
>> >
>> >
>> > I was thinking that Pete would do the merge since he also has commit
>> > rights after the two of you  decide that it is time to merge
>> >
>> > Pete knows which branch and so is the right one and so on. Of course,
>> I
>> > am happy to help in whatever way I can or that makes sense.
>> >
>> >
>>
>>


reply via email to

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