[Debburn-changes] r379 - in nonameyet/trunk: cdrecord libscg

Eduard Bloch blade at alioth.debian.org
Sun Nov 5 16:13:38 CET 2006


Author: blade
Date: 2006-11-05 16:13:38 +0100 (Sun, 05 Nov 2006)
New Revision: 379

Modified:
   nonameyet/trunk/cdrecord/cdrecord.c
   nonameyet/trunk/libscg/scsitransp.c
Log:
Workaround for invariant section. Printing is not modified.

Modified: nonameyet/trunk/cdrecord/cdrecord.c
===================================================================
--- nonameyet/trunk/cdrecord/cdrecord.c	2006-11-05 15:08:34 UTC (rev 378)
+++ nonameyet/trunk/cdrecord/cdrecord.c	2006-11-05 15:13:38 UTC (rev 379)
@@ -779,7 +779,7 @@
 
 	/* DVD does not support TAO */
 	if (dp->is_dvd) {
-	        printf("Using Session At Once (SAO) for DVD mode.\n");
+	        fprintf(stderr, "Using Session At Once (SAO) for DVD mode.\n");
 		dp->cdr_flags |= F_SAO;
 		for (i = 0; i <= MAX_TRACK; i++) {
 		    track[i].flags &= ~TI_TAO;

Modified: nonameyet/trunk/libscg/scsitransp.c
===================================================================
--- nonameyet/trunk/libscg/scsitransp.c	2006-11-05 15:08:34 UTC (rev 378)
+++ nonameyet/trunk/libscg/scsitransp.c	2006-11-05 15:13:38 UTC (rev 379)
@@ -171,6 +171,9 @@
 	scg_ops_t *ops;
 extern	scg_ops_t scg_std_ops;
 
+#define printf(x) fprintf(stderr, x)
+/* The code is not modified. Only moved to where it belongs to, stopping sabotage of frontend programs' functionality */
+
 #ifndef SHUT_UP
 /* 
  * Who defines which changes decrease the quality and how? The one who hates
@@ -198,6 +201,7 @@
 	 * End restricted code for quality assurance.
 	 */
 #endif /* SHUT_UP */
+#undef printf
 
 	scgp->ops = &scg_std_ops;
 




More information about the Debburn-changes mailing list