#19 Incremental fifo reading from macros

closed-accepted
None
5
2001-07-20
2001-06-19
No

Makes sure the read_file() macro subroutine always reads all the way to eof, so that fifos and
other weird 'files' can be read correctly. The old quick'n'dirty approach is attempted first. Only if
that fails (there is still more data in the pipe afterwards) does it switch to incremental reading,
using a temporary buffer and XtRealloc until feof() is encountered.

Discussion

  • Joachim Lous

    Joachim Lous - 2001-06-19

    realloc.diff

     
  • Scott Tringali

    Scott Tringali - 2001-06-22
    • assigned_to: nobody --> tringali
    • status: open --> open-fixed
     
  • Scott Tringali

    Scott Tringali - 2001-06-22

    Logged In: YES
    user_id=11321

    Committed. Joachim, please verify, and I'll close it.

     
  • Scott Tringali

    Scott Tringali - 2001-07-19
    • assigned_to: tringali --> jlous
     
  • Joachim Lous

    Joachim Lous - 2001-07-20
    • status: open-fixed --> closed-accepted
     

Log in to post a comment.