Changesets: bareos

master c8fd4f44

2014-08-01 00:50

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.
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-08-01 00:48

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.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

master 4e9a649e

2014-07-31 23:38

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.
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 23:38

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.
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 23:01

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.
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 5a071741

2014-07-31 23:01

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.
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

master 94d4e0ef

2014-07-31 22:50

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.
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 22:50

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.
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 22:48

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.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

bareos-14.2 3bee8cb0

2014-07-31 22:48

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.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

master 1390c559

2014-07-30 19:22

Marco van Wieringen

Ported: N/A

Details Diff
Tweak layout.
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 17:22

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
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 17:22

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
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 15:04

Marco van Wieringen

Ported: N/A

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

master 41af4be8

2014-07-29 14:47

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.
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 13:04

mvwieringen

Ported: N/A

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

master 00edd10e

2014-07-29 13:04

mvwieringen

Ported: N/A

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

bareos-14.2 53fa7025

2014-07-29 13:04

mvwieringen

Ported: N/A

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

playground 246a2003

2014-07-29 12:47

mvwieringen

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.
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

master 4f9735b4

2014-07-29 12:47

mvwieringen

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.
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

bareos-14.2 f0ea5031

2014-07-29 12:47

mvwieringen

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.
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

bareos-14.2 4173da1f

2014-07-28 18:59

Marco van Wieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master 3cdcb513

2014-07-28 18:59

Marco van Wieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master edcfbfc2

2014-07-28 16:59

mvwieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

bareos-14.2 ca4fc1ba

2014-07-28 16:59

mvwieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 536 537 538 539 540 541 542 ... 600 ... 607 608 609  Next  Last