subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: using -F fails using bash process substitution. bug?
Date Thu, 19 Jul 2018 18:36:57 GMT
Philip Martin wrote on Thu, 19 Jul 2018 16:16 +0100:
> It's possible it did work in the past and in other places that construct
> does work, e.g.
>    svnmucc -mm put <(echo foo) URL
> Subversion has multiple ways to read a file and when reading from a pipe
> (and that shell command constructs a pipe)

Some shells support a =(...) construct, which is like <(...) except it
expands not to a pipe but to an ordinary file, which can be seek()ed,
stat()ed, etc., so this problem wouldn't arise.

> the code that uses stat() to get the filesize doesn't work because the
> pipe filesize is zero.  There is other code that doesn't use stat() and
> reads in block until EOF, and that works for pipes.  We might be able
> to fix the code that uses stat() by having it check for EOF as well.



View raw message