Package: tclcurl
Version: 7.19.6-1
Severity: normal

The -bodyvar option only works if the -file option is not used.  If
both options are specified, the -bodyvar variable is left empty even
when there is content.

Here is a small sample script to demonstrate the problem:

  #!/usr/bin/tclsh8.5

  package require TclCurl

  set curlHandle [::curl::init]

  $curlHandle configure -verbose     1\
                        -failonerror 1\
                        -url         http://bugs.debian.org\
                        -bodyvar     dbugsBody\
                        -file        /tmp/dbugs.html

  $curlHandle perform

  puts "dbugsBody: $dbugsBody"

  $curlHandle cleanup


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tclcurl depends on:
ii  libc6                2.11.3-3            Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls      7.21.0-2.1+squeeze2 Multi-protocol file transfer libra
ii  tcl                  8.4.16-2            The Tool Command Language (default
ii  tcl8.4 [tclsh]       8.4.19-4            Tcl (the Tool Command Language) v8
ii  tcl8.5 [tclsh]       8.5.8-2             Tcl (the Tool Command Language) v8

tclcurl recommends no packages.

Versions of packages tclcurl suggests:
pn  libcurl4-gnutls-dev           <none>     (no description available)

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to