User Details
- User Since
- May 17 2014, 3:06 AM (546 w, 6 d)
Thu, Nov 7
Wed, Nov 6
Fri, Nov 1
Thu, Oct 31
Tue, Oct 29
lgtm but I would suggest waiting for @markj to approve as well
operator precedence
Mon, Oct 28
trim stray newlines
Fri, Oct 25
Thu, Oct 24
revert everything except the three places I commented
Tue, Oct 15
Oct 9 2024
It's not trying to detect varargs support, it's trying to detect support for __attribute__((__format__)).
more thorough testing
also tidy some tests
DIFF_EXIT is non-zero but not an error. Unless -s was specified, it is preceded by a message to stdout, and POSIX requires us to not only exit non-zero but also print an error message to stderr if writing to stdout fails. I suppose this would be clearer if I rewrote cmp to return non-error results back to main so there was only a single non-error exit point, and then try to fflush(stdout) iff !sflag, rather than use atexit().
Oct 8 2024
man page tweaks
Update the manual page + error if -C or -P but no utility
Doh! The manual page had completely slipped my mind...
incorporate review feedback
Oct 7 2024
lgtm with only cosmetic issues.
Oct 6 2024
Sorry, I misread HAVE_STDARG_H as STDARG_H_INCLUDED which would indicate that <stdarg.h> has been included. This is even worse: it requires the caller to use something like autoconf and to explicitly check for the existence of <stdarg.h> which, again, is not needed to simply use libreadline.
Only if the translation unit that includes <readline/readline.h> also includes <stdarg.h>, which is required to define rl_message() since it uses va_start() etc but should not be required to merely call it.
Oct 5 2024
Just noticed the second half of the patch...
Oct 3 2024
Stefan, I highly recommend that you install freebsd-git-devtools and use git arc to prepare and stage reviews:
Oct 2 2024
NOINET is also broken
Ah yes, you need to also not have ALTQ enabled, and in fact this patch is too simple because the module also fails to build with NOINET.
You also need to remove tools/build/options/WITH_GH_BC, move the relevant section of tools/build/mk/OptionalObsoleteFiles.inc to ObsoleteFiles.inc, and regenerate share/man/man5/src.conf.5.
@bapt thank you for the test cases, this gives me something to work towards.