bareos: bareos-15.2 b3bd1f52

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-15.2 2015-12-24 11:15 bareos-15.2 d64dbddd Pending
Affected Issues  0000575: charset problem in symlinks/junctions windows restore
Changeset win32: Fix symlink and junction support

Add support for CreateSymbolicLinkA and CreateSymbolicLinkW.
Seems there are again two types of calls one for wide strings and one
for ANSI ones. We also updated our CreateJunction function to be able
to handle wide strings instead of ANSI ones. We only implemented this
CreateJunction now for wide strings as junctions points are only
available for the public in Vista and later (and anything older is not
supported anyway anymore) why waste time on implementing an ANSI
version of it.

Fixes 0000575: charset problem in symlinks/junctions windows restore
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/winapi.c Diff File
mod - src/win32/include/winapi.h Diff File