2 This patch fixes bug #954.
3 WEOF on non-appendable error when trying to label a tape with ANSI labels turned on.
5 Apply it to version 2.2.4 (possibly earlier versions with):
8 patch -p0 <2.2.4-verify.patch
9 ./configure (your options)
14 Index: src/stored/label.c
15 ===================================================================
16 --- src/stored/label.c (revision 5602)
17 +++ src/stored/label.c (working copy)
22 + /* Temporarily mark in append state to enable writing */
25 /* Create PRE_LABEL or VOL_LABEL if DVD */
26 create_volume_label(dev, VolName, PoolName, dvdnow);
29 create_volume_label_record(dcr, dcr->rec);
32 - /* Temporarily mark in append state to enable writing */
34 if (!write_record_to_block(dcr->block, dcr->rec)) {
35 Dmsg2(130, "Bad Label write on %s: ERR=%s\n", dev->print_name(), dev->print_errmsg());