diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-05-21 15:25:56 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-05-21 15:25:56 +0000 |
commit | 5a59d4dda28473c716ddf139a4e1d81753e31443 (patch) | |
tree | cd7bc63fe442a0faca40667a4033a84b4f492a69 /ftp/ftp-tls/files/patch-util.c | |
parent | Fix potential root exploit. (diff) |
Update to 20030520.
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=81619
Diffstat (limited to '')
-rw-r--r-- | ftp/ftp-tls/files/patch-util.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ftp/ftp-tls/files/patch-util.c b/ftp/ftp-tls/files/patch-util.c deleted file mode 100644 index 007bc5ab50a4..000000000000 --- a/ftp/ftp-tls/files/patch-util.c +++ /dev/null @@ -1,22 +0,0 @@ ---- util.c.orig Fri Oct 25 14:17:24 2002 -+++ util.c Fri Oct 25 15:07:39 2002 -@@ -1013,9 +1013,19 @@ - controlediting() - { - if (editing && el == NULL && hist == NULL) { -+#ifdef ENHANCED_LIBEDIT -+ HistEvent ev; -+ -+ el = el_init(progname, stdin, ttyout, stderr); /* init editline */ -+#else - el = el_init(progname, stdin, ttyout); /* init editline */ -+#endif - hist = history_init(); /* init the builtin history */ -+#ifndef ENHANCED_LIBEDIT - history(hist, H_EVENT, 100); /* remember 100 events */ -+#else -+ history(hist, &ev, H_SETSIZE, 100); /* remember 100 events */ -+#endif - el_set(el, EL_HIST, history, hist); /* use history */ - - el_set(el, EL_EDITOR, "emacs"); /* default editor is emacs */ |