Bug 98846 - typemaps produce odd read() behaviour
Summary: typemaps produce odd read() behaviour
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: httpd
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-09 15:10 UTC by Joe Orton
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-12 14:11:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2003-07-09 15:10:24 UTC
httpd-2.0.46-7.ent

strace of an httpd which reads a typemap produces this weird output:

open("/var/www/error/HTTP_BAD_REQUEST.html.var", O_RDONLY) = 14
read(14, "Content-language: cs\nContent-typ"..., 4096) = 3967
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0
read(14, "", 4096)                      = 0

Comment 1 Joe Orton 2005-09-12 14:11:31 UTC
This is probably caused by the apr_file_gets() implementation in APR 0.9.x; it
should be fixed in APR 1.2.x.


Note You need to log in before you can comment on or make changes to this bug.