unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31402] [PATCH] http-client: Send redirection messages to stderr.
@ 2018-05-10 14:17 Marius Bakke
  2018-05-11 15:37 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2018-05-10 14:17 UTC (permalink / raw)
  To: 31402

* guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
output.
---
 guix/http-client.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/http-client.scm b/guix/http-client.scm
index e8a2a23fc..3b34d4ffb 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -114,7 +114,7 @@ Raise an '&http-get-error' condition if downloading fails."
             308)                                  ; permanent redirection
            (let ((uri (resolve-uri-reference (response-location resp) uri)))
              (close-port port)
-             (format #t (G_ "following redirection to `~a'...~%")
+             (format (current-error-port) (G_ "following redirection to `~a'...~%")
                      (uri->string uri))
              (loop uri)))
           (else
-- 
2.17.0

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

* [bug#31402] [PATCH] http-client: Send redirection messages to stderr.
  2018-05-10 14:17 [bug#31402] [PATCH] http-client: Send redirection messages to stderr Marius Bakke
@ 2018-05-11 15:37 ` Ludovic Courtès
  2018-05-26 15:07   ` bug#31402: " Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-05-11 15:37 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 31402

Marius Bakke <mbakke@fastmail.com> skribis:

> * guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
> output.

LGTM, thanks!

Ludo'.

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

* bug#31402: [PATCH] http-client: Send redirection messages to stderr.
  2018-05-11 15:37 ` Ludovic Courtès
@ 2018-05-26 15:07   ` Marius Bakke
  0 siblings, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2018-05-26 15:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31402-done

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> * guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
>> output.
>
> LGTM, thanks!

Pushed as 9572d2b4820c7d916613f2e0031c892a71f5a966.  Thanks for checking!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-05-26 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-10 14:17 [bug#31402] [PATCH] http-client: Send redirection messages to stderr Marius Bakke
2018-05-11 15:37 ` Ludovic Courtès
2018-05-26 15:07   ` bug#31402: " Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).