428_grpck_add_prune_option updated for upstream version 4.1.2.

This commit is contained in:
nekral-guest
2008-09-13 17:33:52 +00:00
parent 515dbe2f9a
commit 291b61a6c3
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -13,6 +13,7 @@ shadow (1:4.1.2-1) experimental; urgency=low
+ debian/patches/008_login_log_failure_in_FTMP
+ debian/patches/429_login_FAILLOG_ENAB
+ debian/patches/507_32char_grnames.dpatch
+ debian/patches/428_grpck_add_prune_option
* debian/patches/454_userdel_no_MAIL_FILE: Patch removed. If MAIL_FILE is
defined, the mailbox is not in MAIL_SPOOL_DIR.
* debian/patches/506_relaxed_usernames: Use an extra paragraph for the note
+5 -5
View File
@@ -11,9 +11,9 @@ Index: shadow-4.1.0/src/grpck.c
+++ shadow-4.1.0/src/grpck.c
@@ -139,6 +139,7 @@
/* Options */
static int read_only = 0;
static int sort_mode = 0;
+static int prune = 0;
static bool read_only = false;
static bool sort_mode = false;
+static bool prune = false;
/* local function prototypes */
static void usage (void);
@@ -28,10 +28,10 @@ Index: shadow-4.1.0/src/grpck.c
/* quiet - ignored for now */
@@ -174,6 +175,9 @@
case 's':
sort_mode = 1;
sort_mode = true;
break;
+ case 'p':
+ prune = 1;
+ prune = true;
+ break;
default:
usage ();