Debian Patches
Status for expect/5.45.4-7
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 01-example-shebang.patch | Fixes shebangs in examples (Closes: #152367). | Sergei Golovan <sgolovan@debian.org> | no | |||
| 02-example-cryptdir.patch | Checks for /usr/bin/crypt in cryptdir example (Closes: #67197). | Mike Markley <mike@markley.org> | no | |||
| 05-makefile-soname.patch | Adds '-soname' to the Makefile. | Sergei Golovan <sgolovan@debian.org> | no | |||
| 07-file-handle.patch | Description: Fixes file handle 3 to be left open when running programs (Closes: #166677). |
Russell Coker <russell@coker.com.au> | no | |||
| 09-unsafe-traps.patch | Fixes some unsafe traps. | n/a | no | |||
| 10-manpage.patch | Fixes sample expect shebang and excapes dashes. | n/a | no | |||
| 11-ttyname.patch | Description: Check before call ttyname, so don't coredump in chroots without /proc (Closes: #440804). |
Ian Jackson <iwj@ubuntu.com> | no | |||
| 12-fdout.patch | expBusy forgets to open fdout (Closes: #440818). | Ian Jackson <iwj@ubuntu.com> | no | |||
| 13-implicit-defs.patch | Fix implicit definitions throughout (Closes: #441115). Also, closes #1066257. | LaMont Jones <lamont@debian.org> | no | |||
| 16-logfile.patch | Corrects permissions when accessing logfiles. | n/a | no | |||
| 18-non-linux.patch | Fixes build for non-linux Debian architectures. | Sergei Golovan <sgolovan@debian.org> | no | |||
| 22-segfault-with-stubs.patch | This dirty hack fixes segfaults if Tcl is built with stubs and Expect is used directly from C program. Example: #include <stdio.h> #include <tcl8.5/expect.h> int main() { FILE *pipe; char *some_command = "uname"; char datum; pipe = exp_popen(some_command); if (pipe == NULL) return 1; while ((datum = getc (pipe)) != EOF) printf("%c",datum); } Example: #include <stdio.h> #include "expect.h" main() { int fd = 0; fd = exp_spawnl("echo", "echo", "Hello User: Whats up?", (char*) 0); switch (exp_expectl(fd, exp_regexp, "ser:", 1, exp_end)) { case 1: { printf("GOT ser:\n"); break; } default: { printf("DEFAULT\n"); return 1; } } printf("Normal Exit\n"); return 0; } |
Sergei Golovan <sgolovan@debian.org> | no | debian | ||
| 24-format.patch | Patch fixes calls to fprintf() and sprintf(). | Sergei Golovan | no | |||
| 28-cross.patch | make cross compilation work This patch essentially replaces most AC_TRY_RUN with something "better". Dependening on the use case that may be AC_TRY_COMPILE, AC_COMPUTE_INT or even AC_CHECK_TYPE. Uses beyond cross compilation: * Significant simplification of the code. * Some checks become cacheable. =================================================================== |
Helmut Grohne <helmut@subdivi.de> | no | |||
| 29-suggest-tk.patch | Patch shows to the user a message about missing Tk with suggestion to istall for scripts that require Tk to run. | Sergei Golovan | no | |||
| 30-editorial-changes-to-manpages.patch | Patch with editorial changes to the expect manpages | Bjarni Ingi Gislason <bjarniig@simnet.is> | no | |||
| 35-expect-empty-match.patch | Patch fixes matching empty substring at start of buffer | Andrew Burgess | yes | upstream | ||
| 40-tcl9.patch | Patch ports Expect to Tcl 9 1. define TCL_VARARGS*, _ANSI_ARGS_, VOID, CONST, CONST84 for Tcl 9 to minimize size of the patch 2. define the Tcl_Size type for Tcl 8 and use it for functions which prototypes has been changed in Tcl 9 3. fix prototypes for a few functions 4. do not define USE_NON_CONST, add/remove const modifiers from several variables 5. modify the code to replace Tcl_EvalTokens() by Tcl_EvalTokensStandard() (borrow the code wrapper from Tcl 8.6) 6. replace a call to Tcl_UniCharNcmp() with a call to memcmp() because the former is deleted from Tcl 9 7. initialize stubs with appropriate Tcl version ("8" or "9") 8. convert the exp channel type to version 5 by implementing its close2Proc as a simple wrapper around closeProc. 9. fix several warnings about const types by casting them to non-const variants Limitations: Patch is incomplete, it doesn't touch pty_sgttyb.c, pty_unicos.c, exp_poll.c, exp_simple.c, exp_noevent.c as they do not compile for Debian |
Sergei Golovan | no | |||
| 41-uninitialized.patch | Patch fixes a few uses of uninitialized variables. | Sergei Golovan | no |
