lib/diffreg.c


Log

Author Commit Date CI Message
Stefan Sperling c48ceb4c 2018-04-02T20:58:50 remove support for the ifdef diff format from diffreg
Stefan Sperling 1afa8e43 2018-04-02T20:54:51 remove REVERSE and NREVERSE diff output options from diffreg
Stefan Sperling 0165cdf0 2018-04-02T20:51:27 remove support for 'edit' diff output from diffreg
Stefan Sperling 119f8600 2018-04-02T20:49:11 remove support for "normal" diff output from diffreg
Stefan Sperling 84e11851 2018-04-02T20:47:21 remove support for context diffs from diffreg.c
Stefan Sperling a2a848a2 2018-04-02T20:43:42 remove ignore-lines pattern support from diffreg code
Stefan Sperling f5d549b5 2018-04-02T20:42:06 adjust preadline() and ignoreline() to match diff(1) again
Stefan Sperling 755142ea 2018-04-02T19:31:10 in diffreg.c, return value from preadline() must be freed
Stefan Sperling 5a7ffad5 2018-04-02T19:26:55 always free ds->ixold and ds->ixmew in got_diffreg()
Stefan Sperling 6b59e13c 2018-04-02T19:25:28 always free ds->clist and ds->klist in got_diffreg()
Stefan Sperling 7b366981 2018-04-02T19:24:14 always free ds->J in got_diffreg()
Stefan Sperling 9b98f34b 2018-04-02T19:22:15 always free ds->member and ds->class in got_diffreg()
Stefan Sperling df51fc4e 2018-04-02T19:14:02 fix reallocarray error handling in diffreg.c
Stefan Sperling 76735683 2018-04-02T16:37:53 move diffreg's max_context into struct got_diff_state
Theo Buehler d3f36e7e 2018-04-02T16:29:49 make max_connect static as in the original diffreg.c This way we grow the array instead of doing 64 <<= 1.
Stefan Sperling bb5dcc10 2018-04-01T17:28:38 fix open file leaks in previous
Stefan Sperling ecf6e46e 2018-04-01T17:21:25 check for fopen() failures in got_diffreg()
Stefan Sperling 0a585a0d 2018-03-17T18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling 32cb896c 2018-03-11T14:10:56 rename library-private headers from *_priv.h to *_lib.h
Stefan Sperling 1411938b 2018-02-12T23:25:38 rename private header filenames so they are in got_ namespace
Martin Pieuchot 322260e1 2018-01-26T13:58:40 Get rid of xmalloc.{c,h}. malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM. This does not improve the numbers of leaks in diffreg.c
Stefan Sperling a3e2cbea 2017-12-01T22:09:59 make tree diffing work
Stefan Sperling cb74ff21 2017-11-30T15:12:45 pass output file to diffreg
Stefan Sperling f9d67749 2017-11-30T02:38:38 move tempfile creation out of got_diffreg()
Stefan Sperling 697f4470 2017-11-30T00:54:40 add todo comment about diffreg() arguments
Stefan Sperling 9aa1fd75 2017-11-29T23:51:39 add a comment about xmalloc; it needs to go away
Stefan Sperling 8ba9a219 2017-11-29T23:30:52 remove diff_args from global state as well
Stefan Sperling 1c7f0520 2017-11-29T22:52:00 store stat buffers in diff_state rather than diff_args
Stefan Sperling ed9e98a8 2017-11-29T22:47:05 store global diff state in memory provided by caller
Stefan Sperling dae2fc59 2017-11-29T22:20:17 move more globals into struct diff_state
Stefan Sperling 8020fd50 2017-11-29T22:18:14 move 'file' array into diff state
Stefan Sperling e04c4b2b 2017-11-29T22:15:12 wrap global diff state in a struct
Stefan Sperling cb056f1e 2017-11-29T22:06:07 wrap global diff arguments in a struct
Stefan Sperling 7d283eee 2017-11-29T17:11:11 add and test basic blob diffing functionality
Stefan Sperling 574ed2c3 2017-11-29T17:09:52 add some unmodified files from /usr/src/usr.bin/diff/