Commit 832376e2 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.286
parent c710c6b8
2001-01-09 Niels Mller <nisse@cuckoo.localdomain>
* src/rsync/send.c (rsync_send_init): Rewrote. Allocates a
slightly larger buffer.
(rsync_send_eof): New function.
(rsync_send_copy_in): Deleted th dst argument. Update sum_md5 and
size.
(rsync_send_read): New function.
(rsync_send_search): New function.
(rsync_send_flush): New function.
(rsync_send_write): New function.
(rsync_send): Rewrote and simplified. Now uses fewer states,
simpler eof handling, and calls several smaller functions.
* src/rsync/rsync.h (RSYNC_SUM_SIZE): Rename RSYNC_SUM_LENGTH.
(rsync_result_t): New enum for return types.
(struct rsync_receive_state): Renamed attribute full_sum to
sum_md5.
(struct rsync_receive_state): Made the state attribute an enum.
Moved the constants from receive.c, and renamed them to use a
RSYNC_RECIEVE_-prefix.
(struct rsync_send_state): Changed state and buffering.
* src/rsync/generate.c, src/rsync/receive.c, src/rsync/send.c,
src/rsync/rsync.h: Changed return types from int to enum
rsync_result_t.
* src/rsync/checksum.c (rsync_search): Renamed argument FOUND to
DONE, and set it properly for both successful and unsuccessful
searches.
* src/rsync/receive.c (rsync_receive_mode): Use an enum instead of
defines.
(rsync_update): Hash data on output.
(rsync_receive) STATE_LITERAL: Update avail_in and next_in after calling rsync_update.
2001-01-07 Niels Mller <nisse@cuckoo.localdomain>
* src/argp/argp.h: Added _argp_short_program_name and
__argp_short_program_name.
* src/argp/argp-parse.c (parser_init): Use
argp_short_program_name.
(parser_parse_next): Removed old permutation handling code.
2001-01-06 Niels Mller <nisse@cuckoo.localdomain>
* src/argp/argp-namefrob.h: Added _argp_short_program_name.
2001-01-02 Niels Mller <nisse@cuckoo.localdomain>
* src/argp/argp-help.c (hol_entry_help): Avoid using a
non-constant struct initializer.
(UNUSED): Define as a macro expanding to __attribute__ ..., if
compiling with gcc.
* src/argp/argp-fmtstream.h (PRINTF_STYLE): Define this macro,
to expand to __attribute__ ... if compiling with gcc.
* src/argp/argp-fmtstream.c (__argp_fmtstream_write,
__argp_fmtstream_puts, __argp_fmtstream_putc): Duplicate the
inline definitions in argp-fmtstream.h, for compilers that don't
do inlining.
* src/unix_random.c (random_sources): Fixed bug in initialization
of the HAS_ALTERNATIVE fields. Noted by jps.
2000-12-28 Niels Mller <nisse@cuckoo.localdomain>
* src/lsh.c: Don't include unistd.h.
(main_argp_parser): Fixed bogus references to optarg (reported by
jps).
* src/argp/argp-help.c (fill_in_uparams): Use unsigned char * for
VAR and ARG. Fixed calls of isalnum, isspace and friends, reported
by Kalle Olavi Niemitalo.
(canon_doc_option): Fixed calls of isalnum, isspace and friends,
reported by Kalle Olavi Niemitalo.
(hol_entry_cmp): Fixed calls of tolower, reported by Kalle Olavi
Niemitalo.
2000-12-23 Niels Mller <nisse@cuckoo.localdomain>
* Released lsh-1.1.4.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment