diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2007-10-28 10:18:37 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2007-10-28 10:18:37 +0000 |
commit | 49327439297ae6239f30dc77abf90e86352b7b7e (patch) | |
tree | 452edcbca9940afcd7a74867e175a00021dc9dad /xdelta3/xdelta3.c | |
parent | 7c16f576f4c8e292a93b5855e05eda5fedfba31a (diff) |
80col changes.
Diffstat (limited to 'xdelta3/xdelta3.c')
-rw-r--r-- | xdelta3/xdelta3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xdelta3/xdelta3.c b/xdelta3/xdelta3.c index 5a79bf4..0381206 100644 --- a/xdelta3/xdelta3.c +++ b/xdelta3/xdelta3.c | |||
@@ -4778,6 +4778,7 @@ static const xd3_smatcher XD3_TEMPLATE(__smatcher_) = | |||
4778 | * | 4778 | * |
4779 | * TODO: really would like a good test for this logic. how? | 4779 | * TODO: really would like a good test for this logic. how? |
4780 | * TODO: optimize the inner loop | 4780 | * TODO: optimize the inner loop |
4781 | * TODO: do-templatize this | ||
4781 | */ | 4782 | */ |
4782 | static int | 4783 | static int |
4783 | XD3_TEMPLATE(xd3_srcwin_move_point_) (xd3_stream *stream, usize_t *next_move_point) | 4784 | XD3_TEMPLATE(xd3_srcwin_move_point_) (xd3_stream *stream, usize_t *next_move_point) |
@@ -4911,8 +4912,8 @@ XD3_TEMPLATE(xd3_srcwin_move_point_) (xd3_stream *stream, usize_t *next_move_poi | |||
4911 | static int | 4912 | static int |
4912 | XD3_TEMPLATE(xd3_string_match_) (xd3_stream *stream) | 4913 | XD3_TEMPLATE(xd3_string_match_) (xd3_stream *stream) |
4913 | { | 4914 | { |
4914 | /* TODO config: These next three variables should be statically compliled in various | 4915 | /* TODO config: These next three variables should be statically |
4915 | * scan_cfg configurations? */ | 4916 | * compliled in various scan_cfg configurations? */ |
4916 | const int DO_SMALL = ! (stream->flags & XD3_NOCOMPRESS); | 4917 | const int DO_SMALL = ! (stream->flags & XD3_NOCOMPRESS); |
4917 | const int DO_LARGE = (stream->src != NULL); | 4918 | const int DO_LARGE = (stream->src != NULL); |
4918 | const int DO_RUN = (1); | 4919 | const int DO_RUN = (1); |