Util-Linux package development
 help / color / mirror / Atom feed
* Re: [PATCH 1/2] tailf: deprecated
@ 2015-03-16 14:14 Ruediger Meier
  2015-03-16 14:15 ` [PATCH] tests: remove warning from test output Ruediger Meier
  0 siblings, 1 reply; 3+ messages in thread
From: Ruediger Meier @ 2015-03-16 14:14 UTC (permalink / raw)
  To: util-linux

On Monday 16 March 2015 at 14:32, you wrote:
> On Fri, Mar 13, 2015 at 04:09:36PM +0100, Ruediger Meier wrote:
> >  Documentation/deprecated.txt |  5 +++++
> >  tests/expected/tailf/simple  |  1 +
> >  text-utils/tailf.1           |  6 ++++++
> >  text-utils/tailf.c           | 16 ++++++++++++----
> >  4 files changed, 24 insertions(+), 4 deletions(-)
>
> Boys you're so bad.. I use tailf! Well, both patches applied :-)
>
> >  #include <stdio.h>
> >  #include <stdlib.h>
> >  #include <unistd.h>
> > @@ -246,6 +251,9 @@ int main(int argc, char **argv)
> >  	textdomain(PACKAGE);
> >  	atexit(close_stdout);
> >
> > +	warnx(_("warning: "
> > +		"use of 'tailf' is deprecated, use 'tail -f' instead"));
>
> moved to usage() to avoid regression in output.

Ok, then we can also remove it from test output again.

cu,
Rudi

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

* [PATCH] tests: remove warning from test output
  2015-03-16 14:14 [PATCH 1/2] tailf: deprecated Ruediger Meier
@ 2015-03-16 14:15 ` Ruediger Meier
  2015-03-17  8:59   ` Karel Zak
  0 siblings, 1 reply; 3+ messages in thread
From: Ruediger Meier @ 2015-03-16 14:15 UTC (permalink / raw)
  To: util-linux

From: Ruediger Meier <ruediger.meier@ga-group.nl>

This was added in 3f8478a7 but it's only printed in --help.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
---
 tests/expected/tailf/simple | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/expected/tailf/simple b/tests/expected/tailf/simple
index 5edc76b..ddf72de 100644
--- a/tests/expected/tailf/simple
+++ b/tests/expected/tailf/simple
@@ -1,3 +1,2 @@
-tailf: warning: use of 'tailf' is deprecated, use 'tail -f' instead
 a b c d e f g h i j k l m n o p q r s t u v w x y z
 0 1 2 3 4 5 6 7 8 9
-- 
1.8.4.5


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

* Re: [PATCH] tests: remove warning from test output
  2015-03-16 14:15 ` [PATCH] tests: remove warning from test output Ruediger Meier
@ 2015-03-17  8:59   ` Karel Zak
  0 siblings, 0 replies; 3+ messages in thread
From: Karel Zak @ 2015-03-17  8:59 UTC (permalink / raw)
  To: Ruediger Meier; +Cc: util-linux

On Mon, Mar 16, 2015 at 03:15:35PM +0100, Ruediger Meier wrote:
>  tests/expected/tailf/simple | 1 -
>  1 file changed, 1 deletion(-)

 Applied, thanks.

> 

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2015-03-17  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 14:14 [PATCH 1/2] tailf: deprecated Ruediger Meier
2015-03-16 14:15 ` [PATCH] tests: remove warning from test output Ruediger Meier
2015-03-17  8:59   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox