You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2018/11/20 05:32:08 UTC

[Bug 62927] apr_file_print says success on failure

https://bz.apache.org/bugzilla/show_bug.cgi?id=62927

Arkadiusz Miskiewicz <ar...@maven.pl> changed:

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

--- Comment #1 from Arkadiusz Miskiewicz <ar...@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