Plan 9 from Bell Labs’s /n/sources/patch/applied/hget-setoffset-postbody/readme

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


Change usage string so that it matches the hget(1) manual page.

Move the printing of u->postbody after the printing of cookies, since
cookies must appear in the header.

Add indentation to hhcrange().

Change setoffset() so that it sets out->written, and seeks to the
appropriate file offset if the -o option is used.  Without this, the
assert(d >= 0) in output() fails and the output becomes garbage if the
file was already partially downloaded.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.