summaryrefslogtreecommitdiff
path: root/usage.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-21C99: remove hardcoded-out !HAVE_VARIADIC_MACROS codeLibravatar Ævar Arnfjörð Bjarmason1-14/+1
2021-12-07config API: use get_error_routine(), not vreportf()Libravatar Ævar Arnfjörð Bjarmason1-1/+1
2021-12-07usage.c + gc: add and use a die_message_errno()Libravatar Ævar Arnfjörð Bjarmason1-0/+12
2021-12-07usage.c: add a die_message() routineLibravatar Ævar Arnfjörð Bjarmason1-3/+25
2021-04-13usage.c: don't copy/paste the same comment three timesLibravatar Ævar Arnfjörð Bjarmason1-12/+5
2021-02-09usage: trace2 BUG() invocationsLibravatar Jonathan Tan1-0/+11
2020-12-08Merge branch 'jt/trace-error-on-warning'Libravatar Junio C Hamano1-0/+6
2020-11-24usage: add trace2 entry upon warning()Libravatar Jonathan Tan1-0/+6
2020-10-16usage: define a type for a reporting functionLibravatar Jeff King1-9/+9
2019-11-02vreportf(): avoid relying on stdio bufferingLibravatar Johannes Schindelin1-4/+16
2019-02-22trace2: create new combined trace facilityLibravatar Jeff Hostetler1-0/+31
2018-05-30Merge branch 'jk/snprintf-truncation'Libravatar Junio C Hamano1-0/+1
2018-05-21fmt_with_err: add a comment that truncation is OKLibravatar Jeff King1-0/+1
2018-05-06test-tool: help verifying BUG() code pathsLibravatar Johannes Schindelin1-0/+5
2017-09-08add UNLEAK annotation for reducing leak false positivesLibravatar Jeff King1-0/+15
2017-06-21die(): stop hiding errors due to overzealous recursion guardLibravatar Ævar Arnfjörð Bjarmason1-1/+17
2017-06-13Merge branch 'bw/forking-and-threading' into maintLibravatar Junio C Hamano1-9/+1
2017-05-22usage: add NORETURN to BUG() function definitionsLibravatar Ramsay Jones1-2/+2
2017-05-15usage.c: drop set_error_handle()Libravatar Jeff King1-9/+1
2017-05-15usage.c: add BUG() functionLibravatar Jeff King1-0/+32
2017-01-31Merge branch 'jk/vreport-sanitize'Libravatar Junio C Hamano1-10/+7
2017-01-11vreport: sanitize ASCII control charsLibravatar Jeff King1-0/+6
2017-01-11Revert "vreportf: avoid intermediate buffer"Libravatar Jeff King1-12/+3
2016-09-19Merge branch 'cc/apply-am'Libravatar Junio C Hamano1-0/+15
2016-09-07usage: add get_error_routine() and get_warn_routine()Libravatar Christian Couder1-0/+10
2016-09-07usage: add set_warn_routine()Libravatar Christian Couder1-0/+5
2016-08-31error_errno: use constant return similar to error()Libravatar Jeff King1-0/+1
2016-05-09usage.c: add warning_errno() and error_errno()Libravatar Nguyễn Thái Ngọc Duy1-0/+21
2016-05-09usage.c: move format processing out of die_errno()Libravatar Nguyễn Thái Ngọc Duy1-11/+16
2015-08-11vreportf: avoid intermediate bufferLibravatar Jeff King1-3/+12
2015-08-11vreportf: report to arbitrary filehandlesLibravatar Jeff King1-13/+9
2013-04-19Merge branch 'jk/a-thread-only-dies-once'Libravatar Junio C Hamano1-6/+14
2013-04-16usage: allow pluggable die-recursion checksLibravatar Jeff King1-6/+14
2012-12-15make error()'s constant return value more visibleLibravatar Jeff King1-0/+1
2012-11-15usage.c: detect recursion in die routines and bail out immediatelyLibravatar Brandon Casey1-0/+15
2011-07-31error_routine: use parent's stderr if exec failsLibravatar Clemens Buchacher1-0/+18
2011-03-22Fix sparse warningsLibravatar Stephen Boyd1-4/+4
2010-03-07Make report() from usage.c public as vreportf() and use it.Libravatar Johannes Sixt1-5/+5
2009-11-22Fix truncated usage messagesLibravatar Björn Gustavsson1-1/+1
2009-11-10Introduce usagef() that takes a printf-style formatLibravatar Jonathan Nieder1-4/+13
2009-10-01add NORETURN_PTR for function pointersLibravatar Erik Faye-Lund1-3/+3
2009-10-01increase portability of NORETURN declarationsLibravatar Erik Faye-Lund1-3/+3
2009-06-27die_errno(): double % in strerror() output just in caseLibravatar Junio C Hamano1-2/+18
2009-06-27Introduce die_errno() that appends strerror(errno) to die()Libravatar Thomas Rast1-0/+12
2009-03-24Increase the size of the die/warning buffer to avoid truncationLibravatar Shawn O. Pearce1-1/+1
2008-09-29usage.c: remove unused functionsLibravatar Nanako Shiraishi1-16/+0
2007-11-09print warning/error/fatal messages in one shotLibravatar Nicolas Pitre1-3/+3
2007-03-31Rename warn() to warning() to fix symbol conflicts on BSD and Mac OSLibravatar Theodore Ts'o1-1/+1
2006-12-21Introduce a global level warn() function.Libravatar Shawn O. Pearce1-0/+19
2006-06-24usage: minimum type fix.Libravatar Junio C Hamano1-3/+3