apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62927] apr_file_print says success on failure
Date Tue, 20 Nov 2018 07:36:03 GMT

Arkadiusz Miskiewicz <arekm@maven.pl> changed:

           What    |Removed                     |Added
         Resolution|INVALID                     |---
     Ever confirmed|1                           |0
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from Arkadiusz Miskiewicz <arekm@maven.pl> ---
On the other hand regular write(2) is:

     Upon successful completion the number of bytes which were written is
returned.  Otherwise, a -1 is returned and the global variable errno is set to
indicate the error."

so it doesn't matter if bytes are written. If there is an error then there is a

Is apr trying to mimic such behaviour?

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message