diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-22 21:06:59 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-22 21:06:59 +0200 |
commit | 239db1a8ceccdcdf062ed7aff6fdf6775ca066c5 (patch) | |
tree | 5563fbe849889ba2f1486fbf5a792a0ebea9cf0e /base/mc/mc-4.7.0.2_hotlist_syntax.patch | |
parent | c11c2322183a5eb7913246cf83a7034955ae0e52 (diff) | |
download | nutyx-pakxe-239db1a8ceccdcdf062ed7aff6fdf6775ca066c5.tar.gz nutyx-pakxe-239db1a8ceccdcdf062ed7aff6fdf6775ca066c5.tar.bz2 nutyx-pakxe-239db1a8ceccdcdf062ed7aff6fdf6775ca066c5.tar.xz nutyx-pakxe-239db1a8ceccdcdf062ed7aff6fdf6775ca066c5.zip |
mc, port nettoye
Diffstat (limited to 'base/mc/mc-4.7.0.2_hotlist_syntax.patch')
-rw-r--r-- | base/mc/mc-4.7.0.2_hotlist_syntax.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/base/mc/mc-4.7.0.2_hotlist_syntax.patch b/base/mc/mc-4.7.0.2_hotlist_syntax.patch deleted file mode 100644 index 2dc115ec2..000000000 --- a/base/mc/mc-4.7.0.2_hotlist_syntax.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- /lib/tty/tty-internal.h -+++ /lib/tty/tty-internal.h -@@ -8,4 +8,15 @@ - - #include "lib/global.h" /* include <glib.h> */ -+ -+/* Taken from S-Lang's slutty.c */ -+#ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */ -+# define NULL_VALUE -1 -+#else -+# ifdef _POSIX_VDISABLE -+# define NULL_VALUE _POSIX_VDISABLE -+# else -+# define NULL_VALUE 255 -+# endif -+#endif - - /* If true lines are shown by spaces */ ---- /lib/tty/tty-ncurses.c -+++ /lib/tty/tty-ncurses.c -@@ -63,4 +63,5 @@ - - /*** file scope macro definitions **************************************/ -+ - #if defined(_AIX) && !defined(CTRL) - # define CTRL(x) ((x) & 0x1f) -@@ -159,4 +160,6 @@ - /* use Ctrl-g to generate SIGINT */ - cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */ -+ /* disable SIGQUIT to allow use Ctrl-\ key */ -+ cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE; - tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb); - ---- /misc/syntax/Syntax -+++ /misc/syntax/Syntax -@@ -140,5 +140,5 @@ - include spec.syntax - --file ..\*\\.repo$ YUM\sRepo File -+file ..\*\\.repo$ YUM\sRepo\sFile - include yum-repo.syntax - |