From e9d5c3b760c9a5343fc22af9f41047f9fea7b0ed 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 --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/sbc.c | 6 ++++-- libburn/trunk/libburn/spc.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 4f9fe33c..d149e144 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.09.18.200454" +#define Cdrskin_timestamP "2007.09.18.201556" diff --git a/libburn/trunk/libburn/sbc.c b/libburn/trunk/libburn/sbc.c index 1e9d2292..3d59ec98 100644 --- a/libburn/trunk/libburn/sbc.c +++ b/libburn/trunk/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/trunk/libburn/spc.c b/libburn/trunk/libburn/spc.c index 024653d6..9cd5be96 100644 --- a/libburn/trunk/libburn/spc.c +++ b/libburn/trunk/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))