Package: expect / 5.45-6
Metadata
Package | Version | Patches format |
---|---|---|
expect | 5.45-6 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
01 example shebang.patch | (download) |
example/beer.exp |
7 6 + 1 - 0 ! |
fixes shebangs in examples (closes: #152367). |
02 example cryptdir.patch | (download) |
example/cryptdir |
5 5 + 0 - 0 ! |
checks for /usr/bin/crypt in cryptdir example (closes: #67197). |
05 makefile soname.patch | (download) |
Makefile.in |
2 1 + 1 - 0 ! |
adds '-soname' to the makefile. |
06 pkgindex.patch | (download) |
Makefile.in |
2 1 + 1 - 0 ! |
Adjusted for new soname (Closes: #381052). Replaced [package require Expect] by direct loading libexpect library in all tests because package management can't load the library from its build location. Last-Modified: 2009-11-18 |
07 file handle.patch | (download) |
exp_clib.c |
1 1 + 0 - 0 ! |
Fixes file handle 3 to be left open when running programs (Closes: #166677). |
09 unsafe traps.patch | (download) |
exp_trap.c |
12 12 + 0 - 0 ! |
fixes some unsafe traps. |
10 manpage.patch | (download) |
expect.man |
101 51 + 50 - 0 ! |
fixes sample expect shebang and excapes dashes. |
11 ttyname.patch | (download) |
pty_termios.c |
15 13 + 2 - 0 ! |
Check before call ttyname, so don't coredump in chroots without /proc (Closes: #440804). |
12 fdout.patch | (download) |
exp_command.c |
10 9 + 1 - 0 ! |
expbusy forgets to open fdout (closes: #440818). |
13 implicit defs.patch | (download) |
exp_chan.c |
1 1 + 0 - 0 ! |
fix implicit definitions throughout (closes: #441115). |
16 logfile.patch | (download) |
exp_log.c |
2 1 + 1 - 0 ! |
corrects permissions when accessing logfiles. |
18 non linux.patch | (download) |
tclconfig/tcl.m4 |
2 1 + 1 - 0 ! |
fixes build for non-linux debian architectures. |
22 segfault with stubs.patch | (download) |
exp_clib.c |
10 7 + 3 - 0 ! |
this dirty hack fixes segfaults if tcl is built with stubs and Expect is used directly from C program. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588817 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; } |
23 memmove.patch | (download) |
expect.c |
2 1 + 1 - 0 ! |
fix for copying overlapping memory area. Last-Modified: Mon, 04 Nov 2013 08:23:51 +0400 Bug-Debian: http://bugs.debian.org/728663 Bug: https://sourceforge.net/p/expect/patches/16/ |
24 format.patch | (download) |
exp_clib.c |
4 2 + 2 - 0 ! |
--- |