[Glibc-bsd-commits] r1413 - in trunk/freebsd-utils/debian: . patches

Robert Millan rmh at costa.debian.org
Thu Mar 30 14:26:22 UTC 2006


Author: rmh
Date: 2006-03-30 14:26:21 +0000 (Thu, 30 Mar 2006)
New Revision: 1413

Modified:
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/patches/006_debian_cli_compat_options.diff
Log:
In swapon, accept -e as well.

Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2006-03-30 14:12:58 UTC (rev 1412)
+++ trunk/freebsd-utils/debian/changelog	2006-03-30 14:26:21 UTC (rev 1413)
@@ -7,9 +7,10 @@
     declaration.
   * Increase swapctl blocksize to 1024 * 1024 (1 MiB).
   * For dmesg, swapon and swapoff, implement the dummy compat options in the
-    actual executable, and get rid of the wrapper scripts.
+    actual executable, and get rid of the wrapper scripts.  In swapon, accept -e
+    as well.
 
- -- Robert Millan <rmh at aybabtu.com>  Thu, 30 Mar 2006 16:12:15 +0200
+ -- Robert Millan <rmh at aybabtu.com>  Thu, 30 Mar 2006 16:25:48 +0200
 
 freebsd-utils (5.4+2-0.1) unreleased; urgency=low
 

Modified: trunk/freebsd-utils/debian/patches/006_debian_cli_compat_options.diff
===================================================================
--- trunk/freebsd-utils/debian/patches/006_debian_cli_compat_options.diff	2006-03-30 14:12:58 UTC (rev 1412)
+++ trunk/freebsd-utils/debian/patches/006_debian_cli_compat_options.diff	2006-03-30 14:26:21 UTC (rev 1413)
@@ -1,6 +1,7 @@
---- src/sbin/dmesg/dmesg.c~	2006-03-30 12:40:23.000000000 +0200
-+++ src/sbin/dmesg/dmesg.c	2006-03-30 12:41:26.000000000 +0200
-@@ -82,7 +82,7 @@
+diff -ur src.old/sbin/dmesg/dmesg.c src/sbin/dmesg/dmesg.c
+--- src.old/sbin/dmesg/dmesg.c	2006-03-30 16:21:03.000000000 +0200
++++ src/sbin/dmesg/dmesg.c	2006-03-30 16:21:15.000000000 +0200
+@@ -83,7 +83,7 @@
  	all = 0;
  	(void) setlocale(LC_CTYPE, "");
  	memf = nlistf = NULL;
@@ -9,7 +10,7 @@
  		switch(ch) {
  		case 'a':
  			all++;
-@@ -93,6 +93,9 @@
+@@ -94,6 +94,9 @@
  		case 'N':
  			nlistf = optarg;
  			break;
@@ -19,22 +20,24 @@
  		case '?':
  		default:
  			usage();
---- src/sbin/swapon/swapon.c~	2006-03-30 12:40:23.000000000 +0200
-+++ src/sbin/swapon/swapon.c	2006-03-30 12:43:08.000000000 +0200
-@@ -80,7 +80,7 @@
+diff -ur src.old/sbin/swapon/swapon.c src/sbin/swapon/swapon.c
+--- src.old/sbin/swapon/swapon.c	2006-03-30 16:21:03.000000000 +0200
++++ src/sbin/swapon/swapon.c	2006-03-30 16:21:34.000000000 +0200
+@@ -79,7 +79,7 @@
  	orig_prog = which_prog;
  	
  	doall = 0;
 -	while ((ch = getopt(argc, argv, "AadlhksU")) != -1) {
-+	while ((ch = getopt(argc, argv, "AadlhksUv")) != -1) {
++	while ((ch = getopt(argc, argv, "AadlhksUve")) != -1) {
  		switch(ch) {
  		case 'A':
  			if (which_prog == SWAPCTL) {
-@@ -122,6 +122,8 @@
+@@ -121,6 +121,9 @@
  				usage();
  			}
  			break;
 +		case 'v':
++		case 'e':
 +			break;
  		case '?':
  		default:




More information about the Glibc-bsd-commits mailing list