]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
ChangeLog, flushb.c:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Dec 2000 14:46:20 +0000 (14:46 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Dec 2000 14:46:20 +0000 (14:46 +0000)
  flushb.c: Fix flushb so that it does something other than waste disk
   space when built on systems with modern header files and add a
   non-subtle Copyright Licensing restriction so Yann will remove it from
   the Debian Distribution.  (Now violates the Debian Free Software
   Guidelines, on purpose.)

e2fsck/ChangeLog
e2fsck/flushb.c

index eea41b0338b2db76db2dbbb2366ffd8d3487fb59..6b40cfd7808f15e5f86b9979e7696676be34a2d2 100644 (file)
@@ -1,5 +1,11 @@
 2000-12-09    <tytso@snap.thunk.org>
 
+       * flushb.c: Fix flushb so that it does something other than waste
+               disk space when built on systems with modern header files
+               and add a non-subtle Copyright Licensing restriction so
+               Yann will remove it from the Debian Distribution.  (Now
+               violates the Debian Free Software Guidelines, on purpose.)
+
        * journal.c (e2fsck_check_ext3_journal): If JFS_DEBUG is defined
                at the top level, set the JFS debuging level to 2.
 
index a9b09b9391100a36be4db9c0ed468638d0191beb..6d23b98e49966d890450af2b4ab4815896e11b3d 100644 (file)
@@ -1,5 +1,21 @@
 /*
  * flushb.c --- This routine flushes the disk buffers for a disk
+ *
+ * Copyright 1997, 2000, by Theodore Ts'o.
+ * 
+ * This program may be used under the provisions of the GNU Public
+ * License, *EXCEPT* that it may not be included in the Debian
+ * distribution.  (Yes, this violates the Debian Free Software
+ * Guidelines.  That's the point.  I don't want this program being
+ * distributed in Debian, because I don't care to support it, and the
+ * maintainer, Yann Dirson, doesn't seem to pay attention to my wishes
+ * on this matter.  So I'm deliberately adding this clause so it
+ * violates the Debian Free Software Guidelines to force him to take
+ * it out.  (What part of THIS IS FOR MY OWN USE don't you understand?
+ * And no, I'm going to write a man page for it either.  And don't
+ * file a bug about it or bug me about it.)  If this doesn't work,
+ * I'll have to remove it from the upstream source distribution on the
+ * next release.  So there.  :-)
  */
 
 #include <stdio.h>
 #define const
 #endif
 
+/* For Linux/i386, define BLKFLSBUF */
+#if (!defined(BLKFLSBUF) && defined(__i386__))
+#define BLKFLSBUF  0x1261      /* flush buffer cache */
+#endif
+
 const char *progname;
 
 static void usage(NOARGS)