This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cinstall ChangeLog Makefile.in cate ...
- From: rbcollins at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 20 Jan 2002 13:31:05 -0000
- Subject: src/winsup/cinstall ChangeLog Makefile.in cate ...
CVSROOT: /cvs/src
Module name: src
Changes by: rbcollins@sources.redhat.com 2002-01-20 05:31:05
Modified files:
winsup/cinstall: ChangeLog Makefile.in category.cc choose.cc
concat.cc cygpackage.cc desktop.cc dialog.cc
hash.cc ini.cc inilex.l iniparse.y install.cc
io_stream_cygfile.cc io_stream_file.cc
io_stream_memory.cc io_stream_memory.h
localdir.cc main.cc mount.cc netio.cc
nio-ftp.cc nio-http.cc package_meta.cc
package_source.h port.h rfc1738.cc script.cc
simpsock.cc site.cc site.h win32.h
winsup/cinstall/zlib: ChangeLog zutil.c zutil.h
Added files:
winsup/cinstall: dlmalloc.c
Log message:
2002-01-21 Robert Collins <rbtcollins@hotmail.com>
* Makefile.in (CFLAGS): Allow customisable malloc debug flags.
(OBJS): Link in malloc objects.
* category.cc (category): Use new char, not strdup.
* choose.cc (pick_pkg_line::paint): Allow for the regionsize to shrink.
(do_choose): Use new char, not malloc.
* concat.cc (vconcat): Ditto.
* cygpackage.cc (cygpackage): Use new char, not strdup.
(set_canonical_version): Ditto.
(cygpackage::destroy): Use delete[], not free.
* desktop.cc (uexists): Ditto.
* dialog.cc (egest): Use new char, not strdup.
* dlmalloc.c: New file - Doug Lea's malloc 2.7.0
* hash.cc (hash::hash): Use delete instead of free.
(hash::add): Use new char, not strdup.
* ini.cc (do_remote_ini): Use delete[] not free.
* inilex.l: Use new char, not strdup.
(ini_init): Ditto.
* iniparse.y: Ditto.
Use a local package_db rather than a static one.
* install.cc (struct mallinfo): Workaround an apparent dlmalloc bug.
(do_install_thread): Call mallinfo to force a consistency check. Appears
to fix a 'inuse' error in -DDEBUG builds.
Use delete[] for strings.
* io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Use new char,
not strdup.
(io_stream_cygfile::~io_stream_cygfile): Use delete[], not free.
(io_stream_cygfile::remove): Use new char, not strdup.
* io_stream_file.cc (io_stream_file::io_stream_file): Use new char, not strdup.
(io_stream_file::io_stream_file): Use delete[], not free.
(io_stream_file::remove): Use new char, not strdup.
* io_stream_memory.cc (memblock::~memblock): Use delete[], not free.
* io_stream_memory.h (memblock): Use new char, not malloc.
* localdir.cc (LocalDirPage::OnInit): Use new char, not strdup.
* main.cc (WinMain): Use new char, not strdup.
* mount.cc (find2): Use new char, not malloc.
(read_mounts): Ditto.
(cygpath): Use new char, not strdup.
* netio.cc (NetIO::~NetIO): Use delete[], not free.
(NetIO::set_url): Use new char, not strdup.
(NetIO::get_ftp_auth): Use delete[], not free.
* nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto.
Use new char instead of strdup.
* nio-http.cc (base64_encode): Use new char, not malloc.
* package_meta.cc (hash::add_subdirs): Use new char instead of strdup.
* package_source.h (~ packagesource): Use delete[] instead of delete.
* port.h (strdup): Deprecate the use of strdup.
* rfc1738.cc (rfc1738_do_escape): Use new char, not calloc.
* script.cc (init_run_script): Us delete[], not free.
(run_script): Ditto.
* simpsock.cc (SimpleSocket::fill): Use new char, not malloc.
(SimpleSocket::invalidate): Use delete[], not free.
* site.cc (site_list_type::init): Use new char instead of strdup.
* site.h (~site_list_type): Use delete[], not free.
and in zlib/
2002-01-21 Robert Collins <rbtcollins@hotmail.com>
* zutil.c (z_error): Const correctness change.
* zutil.h (z_error): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/dlmalloc.c.diff?cvsroot=src&r1=NONE&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ChangeLog.diff?cvsroot=src&r1=2.175&r2=2.176
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/Makefile.in.diff?cvsroot=src&r1=2.43&r2=2.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/category.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.cc.diff?cvsroot=src&r1=2.85&r2=2.86
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/concat.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/cygpackage.cc.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/desktop.cc.diff?cvsroot=src&r1=2.21&r2=2.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/dialog.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/hash.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.cc.diff?cvsroot=src&r1=2.17&r2=2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/inilex.l.diff?cvsroot=src&r1=2.10&r2=2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/iniparse.y.diff?cvsroot=src&r1=2.23&r2=2.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/install.cc.diff?cvsroot=src&r1=2.35&r2=2.36
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_cygfile.cc.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_file.cc.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_memory.cc.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_memory.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/localdir.cc.diff?cvsroot=src&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/main.cc.diff?cvsroot=src&r1=2.10&r2=2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/mount.cc.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/netio.cc.diff?cvsroot=src&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-ftp.cc.diff?cvsroot=src&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-http.cc.diff?cvsroot=src&r1=2.10&r2=2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.cc.diff?cvsroot=src&r1=2.12&r2=2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_source.h.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/port.h.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/rfc1738.cc.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/script.cc.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/simpsock.cc.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/site.cc.diff?cvsroot=src&r1=2.12&r2=2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/site.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/win32.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/zlib/ChangeLog.diff?cvsroot=src&r1=2.0&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/zlib/zutil.c.diff?cvsroot=src&r1=2.0&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/zlib/zutil.h.diff?cvsroot=src&r1=2.0&r2=2.1