bin/contrib/rc-httpd/rc-httpd: plan9port does not have read -c; replace with dd (thanks, khm)

This commit is contained in:
stanleylieber 2020-06-14 22:30:20 -04:00
parent 2d05e8ffc6
commit 3cd0ca0e92

View File

@ -24,7 +24,7 @@ fn terminate{
exit terminate
}
fn trim_input{ read -c $CONTENT_LENGTH }
fn trim_input{ dd -bs 1 -count $CONTENT_LENGTH }
request=`{getline}
if(~ $#request 0)