bareos: master c05f55d8

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2014-02-10 23:08 master 860aaeb1 Pending
Changeset Tweak layout and naming.

- Always use the virtual d_open method.
- Open system call is called with 2 or 3 arguments but they are named
  path, oflag and mode so don't use mode for what is normally is
  called oflag as that could be misinterpretted as being the mode
  argument.
- Tweak layout of comments and use spaces around or-ed values for
  readability.
- Abstract truncate function to device specific truncate function.
- Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY
  to work around namespace collision of ST_APPEND in statvfs.h
  on Linux.
- Move device abstraction into src/stored/backends
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File
add - src/stored/backends/unix_file_device.c Diff File
add - src/stored/backends/unix_file_device.h Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/reserve.c Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/backends/win32_file_device.c Diff File
rm - src/win32/stored/win32_file_device.c Diff File