Re: Bacula Release 11.0.0 (beta)

Martin Simmons <[email protected]>
Newsgroups gmane.comp.sysutils.backup.bacula.devel
Message-ID <[email protected]>
>>>>> On Tue, 15 Dec 2020 10:00:03 +0100, Eric Bollengier via Bacula-devel said:
> DKIM-Filter: OpenDKIM Filter v2.10.3 mail.baculasystems.com 13470B20862
> 
> Hello,
> 
> We are pleased to announce the release of Bacula version 11.0.0 (beta).
> This is a major release.

There are two warnings from compiling the src/stored directory on FreeBSD 11.4
(with clang 10.0.0) that might be bugs:

LT Compiling cloud_dev.c
cloud_dev.c:1818:17: warning: address of array 'tpkt->m_hash64' will always evaluate to 'true'
      [-Wpointer-bool-conversion]
      if (tpkt->m_hash64) {
      ~~  ~~~~~~^~~~~~~~
1 warning generated.

Compiling dircmd.c
dircmd.c:841:20: warning: address of array 'p->hash64' will always evaluate to 'true' [-Wpointer-bool-conversion]
            if (p->hash64) {
            ~~  ~~~^~~~~~
1 warning generated.

Possibly they should be looking at the first element in the array?

In addition, I think the else clause on line 884 of dircmd.c is also broken
because the format includes hash=%s but the argument is missing.

__Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.