[Debburn-changes] r425 - cdrkit/trunk/cdda2wav
Eduard Bloch
blade at alioth.debian.org
Thu Nov 23 12:04:25 CET 2006
Author: blade
Date: 2006-11-23 12:04:25 +0100 (Thu, 23 Nov 2006)
New Revision: 425
Modified:
cdrkit/trunk/cdda2wav/interface.c
Log:
More funny double checks removed
Modified: cdrkit/trunk/cdda2wav/interface.c
===================================================================
--- cdrkit/trunk/cdda2wav/interface.c 2006-11-23 10:51:40 UTC (rev 424)
+++ cdrkit/trunk/cdda2wav/interface.c 2006-11-23 11:04:25 UTC (rev 425)
@@ -478,14 +478,14 @@
}
#else
-#if defined (HAVE_ST_RDEV) && (HAVE_ST_RDEV == 1)
+#if defined (HAVE_ST_RDEV)
switch (major(statstruct->st_rdev)) {
#if defined (__linux__)
case SCSI_GENERIC_MAJOR: /* generic */
#else
default: /* ??? what is the proper value here */
#endif
-#if !defined (STAT_MACROS_BROKEN) || (STAT_MACROS_BROKEN != 1)
+#ifndef STAT_MACROS_BROKEN
#if defined (__linux__)
if (!S_ISCHR(statstruct->st_mode)) {
fprintf(stderr, "%s is not a char device\n",pdev_name);
More information about the Debburn-changes
mailing list