-$Id: CHANGES,v 1.239 2004/01/27 10:37:25 stelian Exp $
+$Id: CHANGES,v 1.240 2004/01/28 10:02:31 stelian Exp $
Changes between versions 0.4b35 and 0.4b36 (released ?????????????????)
=======================================================================
sizes in a single run (make -B accept a list of values).
Patch contributed by Florian Zumbiehl <florz@gmx.de>.
+5. Use the glibc provided minor() and major() macros instead
+ of our own bitmask implementation. This should be safe for
+ when the major/minor namespace will migrate to 32 bits.
+ Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
+ the bug.
+
Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
=======================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.77 2004/01/27 10:18:17 stelian Exp $";
+ "$Id: tape.c,v 1.78 2004/01/28 10:02:35 stelian Exp $";
#endif /* not lint */
#include <config.h>
fprintf(stderr,
"%s: device changed from %d,%d to %d,%d.\n",
name,
- ((int)curfile.dip->di_rdev >> 8) & 0xff,
- (int)curfile.dip->di_rdev & 0xff,
- ((int)sb.st_rdev >> 8) & 0xff,
- (int)sb.st_rdev & 0xff);
+ major(curfile.dip->di_rdev),
+ minor(curfile.dip->di_rdev),
+ major(sb.st_rdev),
+ minor(sb.st_rdev));
do_compare_error;
}
skipfile();