This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
fixinc broken
- To: gcc at gcc dot gnu dot org
- Subject: fixinc broken
- From: Andreas Schwab <schwab at suse dot de>
- Date: 30 Nov 1999 12:16:47 +0100
Wenn building the latest CVS version the fixinc script makes the following
changes to <linux/fd.h>:
--- /usr/src/linux/include/linux/fd.h Thu Aug 26 02:29:52 1999
+++ /usr/local/i686-linux/lib/gcc-lib/i686-linux/2.96/include/root/usr/src/linux/include/linux/fd.h Tue Nov 30 11:57:23 1999
@@ -37,22 +37,22 @@
/* commands needing write access have 0x40 set */
/* commands needing super user access have 0x80 set */
-#define FDCLRPRM _IO(2, 0x41)
+#define FDCLRPRM _IO('2', 0x41)
/* clear user-defined parameters */
-#define FDSETPRM _IOW(2, 0x42, struct floppy_struct)
+#define FDSETPRM _IOW('2', 0x42, struct floppy_struct)
#define FDSETMEDIAPRM FDSETPRM
/* set user-defined parameters for current media */
-#define FDDEFPRM _IOW(2, 0x43, struct floppy_struct)
-#define FDGETPRM _IOR(2, 0x04, struct floppy_struct)
+#define FDDEFPRM _IOW('2', 0x43, struct floppy_struct)
+#define FDGETPRM _IOR('2', 0x04, struct floppy_struct)
#define FDDEFMEDIAPRM FDDEFPRM
#define FDGETMEDIAPRM FDGETPRM
/* set/get disk parameters */
-#define FDMSGON _IO(2,0x45)
-#define FDMSGOFF _IO(2,0x46)
+#define FDMSGON _IO('2',0x45)
+#define FDMSGOFF _IO('2',0x46)
/* issue/don't issue kernel messages on media type change */
[ other hunks deleted ]
This is just plain wrong. The "fixed" header now contains constants that
will not work.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg