Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/usr.bin/tnftp/src



Module Name:    othersrc
Committed By:   lukem
Date:           Tue May 10 23:36:55 UTC 2005

Update of /cvsroot/othersrc/usr.bin/tnftp/src
In directory ivanova.netbsd.org:/tmp/cvs-serv17101

Log Message:
Sync to 20050511:
* Prevent an overly-long input line causing a core dump when editing is enabled.
  Issue noted by Ryoji Kanai in FreeBSD Problem Report # 77158.
* Implement a timeout on the accept(2) in dataconn() and the connect(2) in
  xconnect() by temporarily setting O_NONBLOCK on the socket and using
  xpoll() to wait for the operation to succeed.
  The timeout used is the '-q quittime' argument (defaults to 60s for
  accept(2), and the system default for connect(2)).
  Idea inspired by discussion with Chuck Cranor.
  This may (indirectly) fix various problems with timeouts in active mode
  through broken firewalls.
* Implement xpoll() as a wrapper around poll(2), to make it easier to replace
  on systems without a functional poll(2).  Unconditionally use xpoll()
  instead of conditionally using select(2) or poll(2).
* In fetch_url(), don't call freeaddrinfo(res0) too early, as we use
  pointers to its contents later in the function.
  Problem found by Onno van der Linden.
* Fix ftp url reget when globs are being used.
  Provided by Mathieu Arnold <mat%FreeBSD.org@localhost>.
* Factor out common string processing code eliminating static buffers,
  making functions that should be static be static, and cleaning up
  const usage. Added a guard against buffer overflow, but the domap function
  is a bit too complicated to tackle right now.
* Clean up whitespace.
* Expand description of http_proxy by suggesting the use of RFC 1738 '%xx'
  encoding for "unsafe URL" characters in usernames and passwords.

Status:

Vendor Tag:     NetBSD
Release Tags:   tnftp-20050510
                
C othersrc/usr.bin/tnftp/src/Makefile
C othersrc/usr.bin/tnftp/src/cmds.c
C othersrc/usr.bin/tnftp/src/cmdtab.c
U othersrc/usr.bin/tnftp/src/complete.c
U othersrc/usr.bin/tnftp/src/domacro.c
C othersrc/usr.bin/tnftp/src/extern.h
C othersrc/usr.bin/tnftp/src/fetch.c
C othersrc/usr.bin/tnftp/src/ftp.1
C othersrc/usr.bin/tnftp/src/ftp.c
C othersrc/usr.bin/tnftp/src/ftp_var.h
C othersrc/usr.bin/tnftp/src/main.c
C othersrc/usr.bin/tnftp/src/progressbar.c
C othersrc/usr.bin/tnftp/src/progressbar.h
U othersrc/usr.bin/tnftp/src/ruserpass.c
C othersrc/usr.bin/tnftp/src/util.c
U othersrc/usr.bin/tnftp/src/version.h

12 conflicts created by this import.
Use the following command to help the merge:

        cvs checkout -jNetBSD:yesterday -jNetBSD othersrc/usr.bin/tnftp/src




Home | Main Index | Thread Index | Old Index