From 310333b6412a13ddc76020fd23ac7b69be78886d Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 20 Apr 2014 08:43:08 +0200 Subject: [PATCH] Drop obsolete patch --- debian/patches/exit_with_argument | 44 ------------------------------- debian/patches/series | 1 - 2 files changed, 45 deletions(-) delete mode 100644 debian/patches/exit_with_argument diff --git a/debian/patches/exit_with_argument b/debian/patches/exit_with_argument deleted file mode 100644 index 86e520e..0000000 --- a/debian/patches/exit_with_argument +++ /dev/null @@ -1,44 +0,0 @@ -Subject: Let exit have an optional argument -From: Tollef Fog Heen -Last-updated: 2010-04-04 -Index: sash-3.7/cmds.c -=================================================================== ---- sash-3.7.orig/cmds.c 2002-07-22 00:28:19.000000000 +0200 -+++ sash-3.7/cmds.c 2010-04-04 10:58:51.604971262 +0200 -@@ -993,14 +993,18 @@ - void - do_exit(int argc, const char ** argv) - { -+ int r = 0; - if (getpid() == 1) - { - fprintf(stderr, "You are the INIT process!\n"); - - return; - } -- -- exit(0); -+ if (argc == 2) -+ { -+ r = atoi(argv[1]); -+ } -+ exit(r); - } - - -Index: sash-3.7/sash.c -=================================================================== ---- sash-3.7.orig/sash.c 2004-01-14 06:08:03.000000000 +0100 -+++ sash-3.7/sash.c 2010-04-04 10:58:51.604971262 +0200 -@@ -132,9 +132,9 @@ - }, - - { -- "exit", do_exit, 1, 1, -+ "exit", do_exit, 1, 2, - "Exit from sash", -- "" -+ "[exit value]" - }, - - { diff --git a/debian/patches/series b/debian/patches/series index f2c7490..d4fc99d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ -exit_with_argument e2fslibs_chattr_include touch_error_handling interactive_flag -- 2.39.5