📄 changelog
字号:
2005-02-26 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c: Return EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 respectively. Also, fix bugs in the processing of bad command-line options, where it was returing success instead of failure. * src/init.c: Return EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 respectively. * NEWS: Describe. * src/main.c (do_downloads): Fix a bug where prozilla would segfault, if it die()'d after all threads finished. * NEWS: Describe. * src/main.c (main): Initialise ``hs'' and ``fs'', to avoid accesses to uninitialised data (thanks, valgrind). * src/connection.c (join_downloads): Likewise for ``fs_info''. * src/connect.c (connect_to_server): Simplify clean up of ``tmphstbuf'', to avoid bugs in the future. * src/main.c (query_overwrite_target): Build backup filename using snprintf() rather than str*(). Release 1.3.7.4. 2005-02-20 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/netrc.c: Include errno.h rather than declaring errno. * CREDITS: Add credits for Karl Steddom and Tavis Ormandy. Update the large file support to use autoconf's macros, to improve portability: * configure.in: Use AC_SYS_LARGEFILE - this requires autoconf 2.50 or later, so bump version requirement. Find out how big off_t is. * configure: Regenerate. * config.h.in: Likewise. * src/Makefile.am: Remove large file-related compiler options, since config.h will include them automatically now. * src/Makefile.in: Regenerate. * src/ftp.c: Use #ifdef/#elif/#endif on SIZEOF_OFF_T rather than using run-time size checks. 2005-02-20 Hans Steegers <hsx@dds.nl> Support for large files (> 2GB) from hsx. Very minor modifications from Richard Dawe. * src/Makefile.am (AM_CFLAGS): Build with LFS enabled. * src/Makefile.in: Regenerate. * src/connection.h: Use off_t instead of long for file lengths. * src/connection.c (join_downloads): Likewise. * src/curses.c (curses_draw_display, curses_display_est_time, curses_query_user_input): Likewise. * src/ftp-retr.c (ftp_retr_fsize_known, ftp_retr_fsize_notknown): Likewise. * src/ftp.h: Likewise. * src/ftp.c (ftp_get_file_info, ftp_rest): Likewise. * src/ftpparse.h: Likewise. * src/ftpparse.c (getlonglong, ftpparse): Likewise. * src/ftpsearch.c (prepare_lycos_url): Likewise. * src/http-retr.c (fetch_http_portions, http_get_file_chunk, http_retr_fsize_known, http_retr_fsize_notknown): Likewise. * src/http.h: Likewise. * src/http.c (hgetlen, hgetrange, http_fetch_headers): Likewise. * src/interface.h: Likewise. * src/main.c (ftp_allocate_connections, http_allocate_connections): Likewise. * src/mainconf.h: Likewise. * src/resume.c (resume_modify_ftp_single_connection): Likewise. * src/url.h: Likewise. * NEWS: Describe. * CREDITS: New credit.2005-02-16 Richard Dawe <rich@phekda.gotadsl.co.uk> * configure.in: Bump version to 1.3.7.4. * README: Likewise. * NEWS: Likewise. * prozilla.spec: Likewise. * configure: Regenerate. * configure.in: Correct bug report address. * FAQ: Likewise. * configure: Regenerate. Apply security patch from Tavis Ormandy <taviso@gentoo.org> for the bug described at <http://www.securiteam.com/exploits/5WP082KEUW.html>: * src/curses.c (curses_message): No printf-style expansion of the message is needed, since ``message'' already does this. This is a format string bug that can be exploited remotely. Make ``curses_message'' take just a string instead of varargs. * src/interface.h (curses_message): Adjust. * NEWS: Describe the bugfix.2005-02-01 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c (main): Fix typo in message on joining sessions. Reported by Karl Steddom.2005-01-23 Richard Dawe <rich@phekda.gotadsl.co.uk> * NEWS: Finish for release 1.3.7.3. Release 1.3.7.3.2005-01-23 Guilherme de S. Pastore <gpastore@colband.com.br> Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c (handle_threads,query_overwrite_target, query_resume_old_download): Fix some punctuation. * src/main.c (main): Fix some punctuation and grammar.2005-01-23 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c (query_overwrite_target, main): Fix some typos.2005-01-23 Guilherme de S. Pastore <gpastore@colband.com.br> Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c: Fix some grammar errors.2005-01-23 Guilherme de S. Pastore <gpastore@colband.com.br> * src/main.c (main): For clarity, call kfree on ``home'' only when we know ``home'' is non-NULL.2005-01-18 Guilherme de S. Pastore <gpastore@colband.com.br> * src/url.c: Fix warning for ``urlchr_table'' - static goes first. Remove unused url_cpy function. 2005-01-17 Guilherme de S. Pastore <gpastore@colband.com.br> * src/ftp.h: Fix typos. * src/http-retr.c (http_get_file_chunk): Don't show password; just say whether we're using one. * src/http.c (get_http_info): Likewise. * src/main.c: More punctuation in fatal error messages. * src/main.c: Fix excess punctuation in some messages. 2005-01-16 Richard Dawe <rich@phekda.gotadsl.co.uk> * ANNOUNCE: Update Kalum's e-mail address. * AUTHORS: Likewise. * CREDITS: Update Kalum's and Ralph's e-mail addresses. * prozilla.spec: Likewise. * man/prozilla.1: Update Ralph's e-mail address. * configure.in: Bump version to 1.3.7.3. * README: Likewise. * NEWS: Likewise. * prozilla.spec: Likewise. * configure: Regenerate.2005-01-08 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/main.c (main): Don't call set_preferences() with a NULL filename (conf_file may be NULL). * src/ftp.c (ftp_cwd): Fix typo. * configure.in: Bump version to 1.3.7.2. * README: Likewise. * NEWS: Likewise. * prozilla.spec: Likewise. Release 1.3.7.2. 2005-01-03 Richard Dawe <rich@phekda.gotadsl.co.uk> * src/url.c (str_url): Revert previous bugfix ("Fix buffer overflow on URL quoting of '/'."), because it was unnecessary. * src/http.c: Some minor whitespace adjustments. * src/ftpsearch.c: Likewise. * src/http-retr.c (http_get_file_chunk, http_get_complete_file): Dynamically allocate buffer for HTTP request, to ensure it's big enough. * src/http.c (fetch_next_header): Use krealloc instead of realloc. Release 1.3.7. * configure.in: Bump version to 1.3.7.1. * README: Likewise. * NEWS: Likewise. * prozilla.spec: Likewise. Use %%{_*} prefixes and a DESTDIR install. * src/Makefile.am: Remove pointless whitespace. * Makefile.am: Support a DESTDIR install correctly. * man/Makefile.am: Likewise. * man/prozilla.1: Refer to genesys.ro instead of delrom.ro. Release 1.3.7.1. 2004-12-31 Richard Dawe <rich@phekda.gotadsl.co.uk> * configure.in (AC_INIT, AM_INIT_AUTOMAKE): Bump version to 1.3.7. Update to use autoconf 2.59 and automake 1.9.2. * mkinstalldirs: Update to automake 1.9.2 version. * install-sh: Likewise. * INSTALL: Likewise. * missing: Likewise. * depcomp: New from automake 1.9.2. * Makefile.am: Remove pointless whitespace. * src/Makefile.am: Set AM_CFLAGS, not CFLAGS. * prozilla.spec: Bump version to 1.3.7. Update URL to genesys.ro. Don't specify packager. Don't remove RPM_BUILD_DIR/*. * config.h.in: Don't define VERSION anymore. Use PACKAGE_VERSION. * src/main.h: Rename PACKAGE_NAME to USER_AGENT and include PACKAGE_VERSION. This removes duplication and fixes a bug in the User-Agent header where there was no whitespace after the name. * src/ftpsearch.c: Use USER_AGENT instead of PACKAGE_*. * src/http.c: Likewise. * src/http-retr.c: Likewise. * src/main.c: Likewise. * src/http.c (get_http_info): Dynamically allocate buffer for HTTP request, to ensure it's big enough. * src/url.c (str_url): Fix buffer overflow on URL quoting of '/'. * src/logfile.c: Use snprintf() to generate filenames; die() if the buffer is too small. * src/main.c: Likewise. * src/init.c: Use string constants for filenames. * src/main.c: Likewise. * configure.in (AC_INIT): Define bug report address at genesys.ro. * src/main.c (help): Use bug report address from config.h. * CREDITS: Refer to genesys.ro instead of delrom.ro. * FAQ: Likewise. * README: Likewise. * prozrc.sample: Likewise. * AUTHORS: My new e-mail address. * CREDITS: Likewise. * NEWS: Likewise. * man/prozilla.1: Likewise. * src/*.c: Don't needlessly char * typecast memory allocations. * src/Makefile.am: Enable more compilation warnings using -W. * src/connect.c (k_gethostname): Use krealloc instead of realloc. * src/curses.c (curses_message, curses_query_user_input): Use vsnprintf instead of vsprintf, to avoid buffer overflows. * src/debug.c (debug_prz): Likewise. * src/main.c (die, message, quit): Likewise. * src/ftpsearch.c (prepare_lycos_url): Define the URL once. Allocate the URL buffer dynamically using snprintf(). * src/http.c (get_http_info): Bugfix dynamic allocation: snprintf() returns an int, so expect one. * src/ftp.c: Use snprintf() instead of sprintf(). If the input is user-supplied, fail if the buffer is too small. * src/ftp-retr.c: Likewise. * NEWS: Describe fixes in 1.3.7. * src/http.c (get_http_info): Refer to HTTP HEAD command in error. * src/ftpsearch.c (get_mirror_info): Dynamically allocate buffer for HTTP request, to ensure it's big enough. * src/ftpsearch.c (parse_html_mirror_list): Pull more constant text into a format; buffer allocated was 1 byte too big, so save some memory. * src/ftpsearch.c (get_mirror_info): Use sizeof() on buffer instead of hardcoding parameter on krecv(). * src/http-retr.c (http_retr_fsize_known, http_retr_fsize_notknown): Likewise.Wed Aug 22 05:35:07 *Added openbsd support.2001-06-23 <kalum@genesys.ro> * Improved url handling, url.c and url.h bought upto latest version. * Improved redirection support.2001-06-23 <kalum@spartacus.grendel.net> * src/connection.c: Fixed the free space required bug (hopefully)2001-06-20 <kalum@spartacus.grendel.net> * src/debug.c: The debug.log file is deleted on each new run.2001-03-25 <kalum@spartacus.grendel.net> * src/resume.c: Removed resume_get_stats(struct stat *buf, char *fname) from the curses.c file as it was superflous. * src/curses.c (curses_exit_resume): Applied Michales patch which displays the burst time per one second of download.2001-03-18 <kalum@spartacus.grendel.net> * src/connect.c (k_gethostname): Added this function to help with autoconf * src/main.c (main): Fixed a bug when the user slected a server if two servers had the same path names the wrong one would be selected.2001-03-16 <kalum@spartacus.grendel.net> * src/main.c (help): Applied Michaels patch which cleaned up some typos in the help display2001-02-09 <kalum@spartacus.grendel.net> * src/http-retr.c (http_loop): get the pthread_push functions workingin http_loop
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -