public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Cleanup some calls to write with unused result
@ 2016-11-01  0:44 Gabriel F. T. Gomes
  2016-11-01  0:44 ` [PATCH 2/2] Add write_message_to_stderr and use it instead of write Gabriel F. T. Gomes
  2016-11-01  0:44 ` [PATCH 1/2] Use write_message " Gabriel F. T. Gomes
  0 siblings, 2 replies; 7+ messages in thread
From: Gabriel F. T. Gomes @ 2016-11-01  0:44 UTC (permalink / raw)
  To: libc-alpha; +Cc: fweimer

While working on https://sourceware.org/ml/libc-alpha/2016-10/msg00535.html, I
became aware of write_message.  This patch is a similar cleanup for other parts
of the code.

The first patch only replaces calls to write on stdout,  whereas the second
also adds a new function which writes to stderr, instead of stdout.

Is this a good cleanup?

Tested for powerpc64le.

Gabriel F. T. Gomes (2):
  Use write_message instead of write
  Add write_message_to_stderr and use it instead of write

 nptl/tst-basic1.c   | 15 ++++++++-------
 nptl/tst-cleanup1.c | 11 ++++++-----
 nptl/tst-cleanup3.c | 11 ++++++-----
 nptl/tst-key1.c     | 11 ++++++-----
 nptl/tst-key2.c     | 23 ++++++++++++-----------
 nptl/tst-key3.c     | 31 ++++++++++++++++---------------
 nptl/tst-kill3.c    | 13 +++++++------
 nptl/tst-kill6.c    | 15 ++++++++-------
 nptl/tst-stdio1.c   |  2 +-
 nptl/tst-stdio2.c   | 11 ++++++-----
 nptl/tst-tls2.c     | 15 ++++++++-------
 nptl/tst-tls3.c     | 13 +++++++------
 test-skeleton.c     |  9 +++++++++
 13 files changed, 100 insertions(+), 80 deletions(-)

-- 
2.4.11

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

end of thread, other threads:[~2016-11-08  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-01  0:44 [PATCH 0/2] Cleanup some calls to write with unused result Gabriel F. T. Gomes
2016-11-01  0:44 ` [PATCH 2/2] Add write_message_to_stderr and use it instead of write Gabriel F. T. Gomes
2016-11-07 17:32   ` Florian Weimer
2016-11-08  0:41     ` Gabriel F. T. Gomes
2016-11-01  0:44 ` [PATCH 1/2] Use write_message " Gabriel F. T. Gomes
2016-11-07 17:33   ` Florian Weimer
2016-11-08  0:40     ` Gabriel F. T. Gomes

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