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 05:32:08 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62927

Arkadiusz Miskiewicz <arekm@maven.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Arkadiusz Miskiewicz <arekm@maven.pl> ---
I can also get

29086 openat(AT_FDCWD, "/sys/fs/cgroup/httpd/owner_4217/cgroup.procs",
O_WRONLY|O_CLOEXEC) = 3
29086 getpid()                          = 29086
29086 write(3, "29086", 5)              = -1 EACCES (Brak dostępu)
29086 close(3)                          = 0

but

23:49 < brane> arekm: second of all you should report APR bugs to the APR
project. but first of all ... what makes you assume that the error from writing
to a file in the /proc tree will be returned from apr_file_printf? because if
you got ESRCH then clearly the bytes _were_ written, right?
23:50 < brane> also it's likely that you don't want buffered I/O

-- 
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


Mime
View raw message