This is the mail archive of the
cygwin-cvs@sourceware.cygnus.com
mailing list for the Cygwin project.
src/winsup/cinstall error.c path.c setup.c set ...
- To: cygwin-cvs at sourceware dot cygnus dot com
- Subject: src/winsup/cinstall error.c path.c setup.c set ...
- From: cgf at sourceware dot cygnus dot com
- Date: 30 Apr 2000 03:40:05 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: cgf@sourceware.cygnus.com 00/04/29 20:40:05
Modified files:
winsup/cinstall: error.c path.c setup.c setup.h xsystem.c
Added files:
winsup/cinstall: pkg.c
Log message:
* pkg.c: New file.
* error.c (winerror): Respond to gcc warning.
* path.c (cygpath_pipe): Ditto.
* setup.c (filedel): Call sa_cleanup on deleteme.
(create_shortcut): Coerce argument to eliminate compiler warning.
(tarx): Use installed version of cygwin1.dll, overriding tar file name.
(refmatches): New function. Tests if ref is contained in a list of packages to
install.
(filematches): New function. Tests if filename matches one of a list of
packages to install.
(recurse_dirs): Accept list of packages to install. Generalize tar.gz test to
accomodate _tar.gz.
(prompt): Ensure that stdout is flushed prior to asking for input.
(findhref): Initialize variables to quiet a compiler warning.
(processdirlisting): Accept list of packages to install. Special case cygwin
tar file version number.
(downloaddir): Accept list of packages to install.
(downloadfrom): Ditto.
(create_uninstall): Eliminate unneeded variables. Quote arguments to regtool.
(do_start_menu): Don't create uninstall bat file if updating or user specified
a list of packages.
(mkmount): Eliminate unneeded variables.
(get_pkg_stuff): New function. Checks for previous unversioned installation.
(main): Accept -u and -f options and package names on the command line. Use
get_pkg_stuff to initialize package information. Umount /etc. Call
recurse_dirs and downloadfrom with list of package to install. Ensure that all
/usr/local directories are created. Output installation time to setup.log.
* setup.h: Add some prototypes.
* xsystem.c (xcreate_process): Eliminate unneeded variable.
Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/pkg.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/error.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/path.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/setup.c.diff?cvsroot=src&r1=1.36&r2=1.37
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/setup.h.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/xsystem.c.diff?cvsroot=src&r1=1.5&r2=1.6