Follow-up Comment #11, bug #33138 (project make):

By a strange coincidence I just found a bug today:

pump_from_tmp_fd() would only copy one buffer (8k) full of data, because the
check "nleft <= 0" was after the loop which decremented nleft to 0 while
writing. Moving it before the loop fixes the bug (patch attached).

(file #27808)
    _______________________________________________________

Additional Item Attachment:

File name: make-sync-recursive-4.patch    Size:19 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33138>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to