This is the mail archive of the
cygwin-apps-cvs@sources.redhat.com
mailing list for the cygwin-apps project.
setup ChangeLog download.cc filemanip.cc filem ...
- From: rbcollins at sources dot redhat dot com
- To: cygwin-apps-cvs at sources dot redhat dot com
- Date: 3 May 2002 08:28:14 -0000
- Subject: setup ChangeLog download.cc filemanip.cc filem ...
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: rbcollins@sources.redhat.com 2002-05-03 01:28:14
Modified files:
. : ChangeLog download.cc filemanip.cc filemanip.h
io_stream_cygfile.cc io_stream_file.cc
nio-file.cc
Log message:
2002-05-03 Robert Collins <rbtcollins@hotmail.com>
* nio-files.cc (NetIO): Use io_stream syntax for get_file_size.
* io_stream_file.cc: Don't include filemanip.h.
(io_stream_file::get_size): Implement here to remove filemanip
dependency.
* io_stream_cygfile.cc: Don't include filemanip.h.
(io_stream_cygfile::get_size): Implement here to remove filemanip
dependency.
Implement a stat based version for when win32 is not available.
* filemanip.h (get_file_size): Return size_t - it's more appropriate.
* filemanip.cc: Don't include win32.h - be platform independent.
Include strings.h and io_stream.h as part of that.
(get_file_size): Leverage io_streams and remove win32 implementation.
* download.cc (check_for_cached): Use io_stream syntax for
get_file_size.
(download_one): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.221&r2=2.222
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/download.cc.diff?cvsroot=cygwin-apps&r1=2.24&r2=2.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.cc.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.h.diff?cvsroot=cygwin-apps&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/io_stream_cygfile.cc.diff?cvsroot=cygwin-apps&r1=2.11&r2=2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/io_stream_file.cc.diff?cvsroot=cygwin-apps&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/nio-file.cc.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6