bin/contrib/rc-httpd/rc-httpd: plan9port does not have read -c; replace with dd (thanks, khm)
This commit is contained in:
parent
2d05e8ffc6
commit
3cd0ca0e92
@ -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…
Reference in New Issue
Block a user