bin/contrib/rc-httpd/rc-httpd: plan9port does not have read -c; replace with dd (thanks, khm)
This commit is contained in:
parent
b2de370f6c
commit
7adaa4b130
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ fn terminate{
|
||||||
exit terminate
|
exit terminate
|
||||||
}
|
}
|
||||||
|
|
||||||
fn trim_input{ read -c $CONTENT_LENGTH }
|
fn trim_input{ dd -bs 1 -count $CONTENT_LENGTH }
|
||||||
|
|
||||||
request=`{getline}
|
request=`{getline}
|
||||||
if(~ $#request 0)
|
if(~ $#request 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue