From c8e9249e9da8d0da48b2fb9d71a0d56e7e7f59ff Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 18 Sep 2007 20:15:25 +0000 Subject: [PATCH] Changed some comments, reacted on harmless compiler warning --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sbc.c | 6 ++++-- libburn/spc.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 4f9fe33..d149e14 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.09.18.200454" +#define Cdrskin_timestamP "2007.09.18.201556" diff --git a/libburn/sbc.c b/libburn/sbc.c index 1e9d229..3d59ec9 100644 --- a/libburn/sbc.c +++ b/libburn/sbc.c @@ -43,7 +43,8 @@ void sbc_load(struct burn_drive *d) d->issue_command(d, &c); if (c.error) return; - /* 5 minutes for loading. If this does not suffice then other commands + /* ts A70918 : + 5 minutes for loading. If this does not suffice then other commands shall fail righteously. */ spc_wait_unit_attention(d, 300, "START UNIT (+ LOAD)", 0); } @@ -69,7 +70,7 @@ void sbc_eject(struct burn_drive *d) d->issue_command(d, &c); if (c.error) return; - /* Wait long. A late eject could surprise or hurt user. */ + /* ts A70918 : Wait long. A late eject could surprise or hurt user. */ spc_wait_unit_attention(d, 1800, "STOP UNIT (+ EJECT)", 0); } @@ -95,6 +96,7 @@ int sbc_start_unit(struct burn_drive *d) d->issue_command(d, &c); if (c.error) return 0; + /* ts A70918 : now asynchronous */ return spc_wait_unit_attention(d, 1800, "START UNIT", 0); } diff --git a/libburn/spc.c b/libburn/spc.c index 024653d..9cd5be9 100644 --- a/libburn/spc.c +++ b/libburn/spc.c @@ -103,7 +103,7 @@ int spc_test_unit_ready(struct burn_drive *d) int spc_wait_unit_attention(struct burn_drive *d, int max_sec, char *cmd_text, int flag) { - int i, ret, key, asc, ascq; + int i, ret = 1, key, asc, ascq; char msg[160]; if (!(flag & 1))