lib/diff3.c


Log

Author Commit Date CI Message
Stefan Sperling 50351dee 2019-10-09T07:26:28 remove unused 'pr' argument from diff3.c's skip() function
Stefan Sperling 575e8218 2019-10-07T10:26:33 more mechanical conversions to struct got_error: buf_load() and buf_alloc()
Stefan Sperling e19660d5 2019-10-06T18:59:31 some whitespace fixes in diff3.c
Stefan Sperling 346b301a 2019-10-06T18:51:41 check for errors from buf_append() in diff3.c's diff_output()
Stefan Sperling 950435fd 2019-10-06T18:48:11 remove pointless debug code from diff3.c
Stefan Sperling 18b9ebab 2019-10-06T18:44:35 eflag in diff3.c is hard-coded to 3; remove code for other cases
Stefan Sperling e9dabdfb 2019-10-06T18:23:02 check for errors from fseek(3) in diff3.c's edscript()
Stefan Sperling ce09ab8d 2019-10-06T18:20:02 check for errors from diff_output() in diff3.c
Stefan Sperling 02b87977 2019-10-06T18:11:34 convert remaining functions in diff3.c to struct got_error
Stefan Sperling f571bb85 2019-10-06T17:36:20 convert error handling in diff3.c's repos() to struct got_error
Stefan Sperling 180dce26 2019-10-06T17:09:32 convert handling in diff3.c's merge() function to struct got_error
Hiltjo Posthuma 500467ff 2019-09-25T22:02:03 getline: fix the return type to ssize_t and small nits
Stefan Sperling b077bccd 2019-09-22T19:03:17 remove pointless oflag from struct diff3_state
Steven McDonald 6dea73df 2019-09-22T22:47:16 Replace fgetln() with getline() getline() is, per the latter's OpenBSD man page, safer and more portable than fgetln().
Stefan Sperling acb4e1d1 2019-08-10T18:43:09 sync merge(1) fix diff from OpenRCS/OpenCVS
Stefan Sperling d473b4e4 2019-08-10T00:49:10 fix merge bug inherited from OpenRCS, affecting lines with leading .
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 01a44956 2019-03-27T08:36:44 declare conflict marker strings in got_lib_diff.h
Stefan Sperling fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling cbe7f848 2019-02-11T11:35:55 check for fflush() errors
Stefan Sperling 57ee5d50 2019-02-08T15:10:49 allow callers of diff3 code to detect merge conflicts
Stefan Sperling a551f215 2019-02-08T14:58:30 diff3: make labels work and fix leaks
Stefan Sperling 5d731149 2019-02-08T13:22:01 initialize temp_files in got_merge_diff3()
Stefan Sperling abc6a33f 2019-02-08T13:20:08 make readin() actually write to its output argument
Stefan Sperling 25d0340b 2019-02-08T12:27:42 get rid of an unused global in diff3 code
Stefan Sperling 5176f942 2019-02-08T12:26:49 get rid of another global in diff3 code (diff output buffer)
Stefan Sperling 9f98de9c 2019-02-08T12:09:28 declare got_merge_diff3()
Stefan Sperling 5a3ad9e0 2019-02-08T12:06:59 wrap overlong long line and fix NULL-deref in merge_diff3()
Stefan Sperling 62f59172 2019-02-08T12:01:51 make diff3_merge() write result to an output file
Stefan Sperling 0ec6f014 2019-02-08T11:58:03 expand stupid argv-style parameters of merge_diff3()
Stefan Sperling b90524b1 2019-02-08T11:55:19 check for errors from increase() in diff3 code
Stefan Sperling dfc4f8fe 2019-02-08T11:51:52 move more globals into diff state struct
Stefan Sperling 0d26ce36 2019-02-08T11:48:50 fix known file descriptor leaks in diff3 code
Stefan Sperling 078e971d 2019-02-08T11:44:53 this is library code; store diff3 state in a struct, not globals
Stefan Sperling c03c6cb3 2019-02-08T11:13:38 make diff3 code compile
Stefan Sperling 74b37681 2019-02-07T11:30:27 add unmodified buf.c, buf.h, and diff3.c from OpenRCS