From: Kern Sibbald Date: Sat, 24 Sep 2005 13:11:31 +0000 (+0000) Subject: - Fix mode change open in btape.c X-Git-Tag: Release-1.38.0~104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bd0d80e52b6cd6c1a31ab914b6325d7875783df;p=bacula%2Frescue - Fix mode change open in btape.c - Use nonblocking opens on Linux only. - Move set_blocking code for tapes into method to simplify main line code. - Cleanup the code for ensuring we advance tape on fsf. This should fix IBM problems -- patch from Adam Thorton was very helpful. - Remove test for BMT_EOD in fixup_device... this eliminates need for status_dev() routine. - Before doing label ensure device is in read-write mode. ---