i had similiar where i used exec socat for file transfer daemon and client,
and sometimes codes of the code or cmds appeared in output, till i removed
the exec

On Fri, Jan 22, 2021, 15:15 Chet Ramey <chet.ra...@case.edu> wrote:

> On 1/22/21 2:53 AM, Eduardo A. Bustamante López wrote:
>
> > - Notice that the value returned by `fstat(0, ...)' indicates that
> /dev/null in your system is a *regular* file (it should be
> `st_mode=S_IFCHR|0666', but instead it is `st_mode=S_IFCHR|0666'). It also
> indicates that its size is 73 bytes (`st_size=73').
> > - Notice that `cat' reads from file descriptor 0 (i.e. /dev/null), and
> the return value is a string of 73 bytes in length.
> > - `cat' then writes that string out to `./config.status'
> >
> > 73 happens to be the length of the string that has been causing issues
> for you:
> >
> >    $ echo "extern void free (void *__ptr) __attribute__ ((__nothrow__ ,
> __leaf__));" | wc -c
> >    73
>
> This is a first-class observation.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
>
>
      • ... Greg Wooledge
      • ... Chet Ramey
        • ... Mathias Steiger
          • ... Eduardo Bustamante
            • ... mathias . steiger--- via Bug reports for the GNU Bourne Again SHell
              • ... Eduardo A . Bustamante López
              • ... Tadeus Prastowo
              • ... Oğuz
              • ... Elias Haisch
              • ... Chet Ramey
              • ... Alex fxmbsw7 Ratchev
              • ... Mathias Steiger
            • ... mathias . steiger--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
            • ... Mathias Steiger
      • ... Mathias Steiger
  • Re: ob... Dale R. Worley

Reply via email to