Changesets: bareos

bareos-14.2 56560ce5

2014-08-02 20:07:45

mvwieringen

Ported: N/A

Details Diff
Backport some obvious fixes for the core from Bacula 7.
Attach Issues:
mod - src/console/console.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/heartbeat.c Diff File
mod - src/lib/address_conf.c Diff File
mod - src/lib/berrno.c Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lex.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/stored.c Diff File

master ba22d9ee

2014-08-02 00:15:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix same problem also for other bsock classes.

If we ever implement them and start using them we will run into the same
problems as we have seen for the used BSOCK_TCP class.
Attach Issues:
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

master 4218e886

2014-08-01 23:16:55

Marco van Wieringen

Ported: N/A

Details Diff
Tweak BSOCK classes one more time.

Got bitten by the famous undefined reference to `vtable for ...`
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.h Diff File

master 32b828b3

2014-08-01 22:15:51

mvwieringen

Ported: N/A

Details Diff
Fix same problem also for other bsock classes.

If we ever implement them and start using them we will run into the same
problems as we have seen for the used BSOCK_TCP class.
Attach Issues:
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 de095c98

2014-08-01 22:15:51

mvwieringen

Ported: N/A

Details Diff
Fix same problem also for other bsock classes.

If we ever implement them and start using them we will run into the same
problems as we have seen for the used BSOCK_TCP class.
Attach Issues:
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

master b186d91e

2014-08-01 21:16:55

mvwieringen

Ported: N/A

Details Diff
Tweak BSOCK classes one more time.

Got bitten by the famous undefined reference to `vtable for ...`
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 d02e1a75

2014-08-01 21:16:55

mvwieringen

Ported: N/A

Details Diff
Tweak BSOCK classes one more time.

Got bitten by the famous undefined reference to `vtable for ...`
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.h Diff File

master a23182b0

2014-07-31 23:38:43

Marco van Wieringen

Ported: N/A

Details Diff
Initialize m_fd in the base DEVICE class.

As all device classes are derived classes of DEVICE we can initialize
the members of the base class in the constructor of the base class as
that is called anyway as part of the instantiation of the derived class.
Attach Issues:
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/unix_fifo_device.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

master 30a39041

2014-07-31 23:01:55

Marco van Wieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
Attach Issues:
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

master c8fd4f44

2014-07-31 22:50:15

Marco van Wieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

master 37218b8d

2014-07-31 22:48:34

Marco van Wieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
Attach Issues:
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

master 4e9a649e

2014-07-31 21:38:43

mvwieringen

Ported: N/A

Details Diff
Initialize m_fd in the base DEVICE class.

As all device classes are derived classes of DEVICE we can initialize
the members of the base class in the constructor of the base class as
that is called anyway as part of the instantiation of the derived class.
Attach Issues:
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/unix_fifo_device.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

bareos-14.2 86c38401

2014-07-31 21:38:43

mvwieringen

Ported: N/A

Details Diff
Initialize m_fd in the base DEVICE class.

As all device classes are derived classes of DEVICE we can initialize
the members of the base class in the constructor of the base class as
that is called anyway as part of the instantiation of the derived class.
Attach Issues:
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/unix_fifo_device.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

master f9074fff

2014-07-31 21:01:55

mvwieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
Attach Issues:
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 5a071741

2014-07-31 21:01:55

mvwieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
Attach Issues:
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

master 94d4e0ef

2014-07-31 20:50:15

mvwieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 cb9b1e3e

2014-07-31 20:50:15

mvwieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
Attach Issues:
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

master b42206ed

2014-07-31 20:48:34

mvwieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
Attach Issues:
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

bareos-14.2 3bee8cb0

2014-07-31 20:48:34

mvwieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
Attach Issues:
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

master 1390c559

2014-07-30 17:22:10

Marco van Wieringen

Ported: N/A

Details Diff
Tweak layout.
Attach Issues:
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/protos.h Diff File

playground 4520bea5

2014-07-30 15:22:10

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
Attach Issues:
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/protos.h Diff File

bareos-14.2 1cce4344

2014-07-30 15:22:10

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
Attach Issues:
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/protos.h Diff File

master 4382f52d

2014-07-29 13:04:58

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
Attach Issues:
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master 41af4be8

2014-07-29 12:47:01

Marco van Wieringen

Ported: N/A

Details Diff
Add support for newer APIs

The API world hasn't been frozen over the years and POSIX
nowadays defines some new APIs which we might want to start exploring.

This patch adds support for the following new APIs:

fchown()/lchown() replacing the chown call.
fchmod()/lchmod() replacing the chmod call.
utimes()/futimes()/futimens()/lutimes() replacing the utime call.

If those APIs are available they are prefered rather then using the
standard chown(), chmod() and utime() APIs.

We move away from using utime when possible because POSIX.1-2008
marks utime() as obsolete.
Attach Issues:
mod - autoconf/configure.in Diff File
mod - src/findlib/attribs.c Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/findlib/protos.h Diff File

playground 2b90a153

2014-07-29 11:04:58

mvwieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
Attach Issues:
mod - autoconf/config.h.in Diff File
mod - configure Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 267 268 269 270 271 272 273 ... 300 ... 330 ... 339 340 341  Next  Last