Package: patch
Version: 2.5.9-4
Severity: wishlist
File: /usr/bin/patch
$ … | patch -o- some/file
patch: can't output patches to standard output
(a) that warning should go to stderr
and
(b) there can't be a real reason for this. It should be trivial to
add.
-- System Information:
Debian Rel
Re: martin f krafft 2007-10-04 <[EMAIL PROTECTED]>
> $ … | patch -o- some/file
> patch: can't output patches to standard output
>
> (a) that warning should go to stderr
Only if -o is stdout.
> (b) there can't be a real reason for this. It should be trivial to
> add.
Just tried it here, s.o
also sprach Christoph Berg <[EMAIL PROTECTED]> [2007.10.04.2046 +0100]:
> > (a) that warning should go to stderr
>
> Only if -o is stdout.
uh, no. It's a warning.
> > (b) there can't be a real reason for this. It should be trivial to
> > add.
>
> Just tried it here, s.out is the -o file:
>
> 1
Re: martin f krafft 2007-10-04 <[EMAIL PROTECTED]>
> also sprach Christoph Berg <[EMAIL PROTECTED]> [2007.10.04.2046 +0100]:
> > > (a) that warning should go to stderr
> >
> > Only if -o is stdout.
>
> uh, no. It's a warning.
Point taken.
> I am not sure I understand. You tried it? So you have
also sprach Christoph Berg <[EMAIL PROTECTED]> [2007.10.04.2322 +0100]:
> I meant to say "patch uses lseek() on the output file,
Can you imagine why? It *does* open() the file just before, so it's
not reusing the filehandle, is it?
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud
5 matches
Mail list logo