bareos: bareos-17.2 f7f488a7

Author Committer Branch Timestamp Parent
mvwieringen pstorz bareos-17.2 2017-06-28 19:41 bareos-16.2 7cb6a6d2 Pending
Changeset debug: Print open flags as %08o and mode as %04o

In debug message printing open flags as octal and 4 bytes long delivers
much better readable stuff as you get things line 0640 which is sane as
that is also something you can give to lets say chmod. Open flags like
O_CREAT, O_READONLY etc are also defined as octal values of 8 bytes so
lets also print them so you can easily grep them from the proper include
files and they look somewhat familiar. Before those were sometimes printed
as decimal and sometimes as hexadecimal so that always leads to
converting.
mod - src/filed/accurate.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/stored/dev.c Diff File