public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] doc: Fix DEBUGINFOD_PROGRESS description to just mention output on stderr.
@ 2020-01-10 14:50 Mark Wielaard
  2020-01-13 11:59 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2020-01-10 14:50 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

An earlier variant of the default progress function could write to any
file. Which is still in the documentation. But the actual implementation
just uses stderr. Fix the documentation to match.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 doc/ChangeLog                   | 5 +++++
 doc/debuginfod_find_debuginfo.3 | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/ChangeLog b/doc/ChangeLog
index b40a141b..c7e451d7 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-10  Mark Wielaard  <mark@klomp.org>
+
+	* debuginfod_find_debuginfo.3 (DEBUGINFOD_PROGRESS): Mention progress
+	output goes to stderr.
+
 2020-01-02  Mark Wielaard  <mark@klomp.org>
 
 	* debuginfod.8 (DEBUGINFOD_TIMEOUT): Document as seconds to
diff --git a/doc/debuginfod_find_debuginfo.3 b/doc/debuginfod_find_debuginfo.3
index f6ea7a45..7e5060f2 100644
--- a/doc/debuginfod_find_debuginfo.3
+++ b/doc/debuginfod_find_debuginfo.3
@@ -173,8 +173,8 @@ or negative means "no timeout".)
 This environment variable governs the default progress function.  If
 set, and if a progressfn is not explicitly set, then the library will
 configure a default progressfn.  This function will append a simple
-progress message periodically to the given file.  Consider using
-"/dev/stderr" on platforms that support it.  The default is nothing.
+progress message periodically to stderr.  The default is no progress
+function output.
 
 .TP 21
 .B DEBUGINFOD_CACHE_PATH
-- 
2.18.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: Fix DEBUGINFOD_PROGRESS description to just mention output on stderr.
  2020-01-10 14:50 [PATCH] doc: Fix DEBUGINFOD_PROGRESS description to just mention output on stderr Mark Wielaard
@ 2020-01-13 11:59 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2020-01-13 11:59 UTC (permalink / raw)
  To: elfutils-devel

On Fri, Jan 10, 2020 at 03:50:49PM +0100, Mark Wielaard wrote:
> An earlier variant of the default progress function could write to any
> file. Which is still in the documentation. But the actual implementation
> just uses stderr. Fix the documentation to match.

I pushed this to master.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-13 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 14:50 [PATCH] doc: Fix DEBUGINFOD_PROGRESS description to just mention output on stderr Mark Wielaard
2020-01-13 11:59 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).