+ s1 = s - 1;
+ skip_non_whitespace(s, ch);
+ s[-1] = '\0';
+ skip_whitespace(s, ch);
+ }
+
+ if (strncmp_const(s - 1, "BARCODE:") == 0) {
+ s1 = s - 1 + 8;
+ skip_non_whitespace(s, ch);
+ s[-1] = '\0';
+ skip_whitespace(s, ch);
+ tp->barcode = stralloc(s1);
+ }
+
+ if (strncmp_const(s - 1, "META:") == 0) {
+ s1 = s - 1 + 5;
+ skip_non_whitespace(s, ch);
+ s[-1] = '\0';
+ skip_whitespace(s, ch);
+ tp->meta = stralloc(s1);
+ }
+
+ if (strncmp_const(s - 1, "BLOCKSIZE:") == 0) {
+ s1 = s - 1 + 10;
+ skip_non_whitespace(s, ch);
+ s[-1] = '\0';
+ skip_whitespace(s, ch);
+ tp->blocksize = atol(s1);
+ }
+ if (*(s - 1) == '#') {
+ tp->comment = stralloc(s); /* skip leading '#' */
+ } else if (*(s-1)) {
+ g_critical("Bogus line in the tapelist file: %s", cline);
+ }