[tz] [PATCH] zic: don't warn about link creation failure if not supported
abbotti at mev.co.uk
Thu Feb 25 17:06:50 UTC 2016
The attached patch suppresses some warnings output by zic when compiled
without support for hard links and/or symbolic links.
When linking zone files in dolink(from, to), zic first tries to create
hard links, falling back to creating symbolic links, falling back to
If HAVE_LINK is 0, link(from, to) is defined as a macro that always
fails, so in that case, don't issue the warning "hard link failed,
symbolic link used" when symbolic links are successfully created in
place of hard links.
If HAVE_SYMLINK is 0, symlink(from, to) is defined as a macro that
always fails, so in that case, don't issue the warning "link failed,
copy used" when copies are successfully created in place of symbolic
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1624 bytes
Desc: not available
More information about the tz