Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/lib/libsa
Module Name: src
Committed By: chris
Date: Sun May 11 11:29:12 UTC 2008
Modified Files:
src/sys/lib/libsa: tftp.c
Log Message:
Extend tftp_stat to return the size of the file, rather than -1.
It's not very efficient, as it has to read the whole file, and count the
block sizes. However, this is the only way to work out the size using the
tftp protocol.
This is needed to support loading modules from a tftp server with pxeboot.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/lib/libsa/tftp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index