This list is closed, nobody may subscribe to it.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(13) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(38) |
Jul
(10) |
Aug
(70) |
Sep
(63) |
Oct
(61) |
Nov
(41) |
Dec
(28) |
| 2002 |
Jan
(43) |
Feb
(11) |
Mar
(9) |
Apr
(2) |
May
(97) |
Jun
(94) |
Jul
(13) |
Aug
(49) |
Sep
(41) |
Oct
(24) |
Nov
(55) |
Dec
(126) |
| 2003 |
Jan
(90) |
Feb
(75) |
Mar
(32) |
Apr
(24) |
May
(54) |
Jun
(54) |
Jul
(22) |
Aug
(4) |
Sep
(16) |
Oct
(8) |
Nov
(6) |
Dec
(13) |
| 2004 |
Jan
|
Feb
(17) |
Mar
(60) |
Apr
(21) |
May
(12) |
Jun
|
Jul
(13) |
Aug
|
Sep
(29) |
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
(22) |
Feb
(3) |
Mar
(2) |
Apr
(13) |
May
(82) |
Jun
(18) |
Jul
(30) |
Aug
(17) |
Sep
(3) |
Oct
(19) |
Nov
(4) |
Dec
(8) |
| 2006 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(40) |
May
|
Jun
(21) |
Jul
(1) |
Aug
(410) |
Sep
(3) |
Oct
|
Nov
(56) |
Dec
(7) |
| 2007 |
Jan
(19) |
Feb
|
Mar
(4) |
Apr
(8) |
May
(19) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(2) |
| 2008 |
Jan
(13) |
Feb
(18) |
Mar
(12) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(13) |
Nov
(17) |
Dec
(6) |
| 2010 |
Jan
(24) |
Feb
(10) |
Mar
(27) |
Apr
(20) |
May
(108) |
Jun
(8) |
Jul
(23) |
Aug
(38) |
Sep
(49) |
Oct
(17) |
Nov
(12) |
Dec
(14) |
| 2011 |
Jan
(17) |
Feb
(7) |
Mar
(28) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(12) |
Sep
(4) |
Oct
(20) |
Nov
(19) |
Dec
(2) |
| 2012 |
Jan
(2) |
Feb
(6) |
Mar
(5) |
Apr
(24) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(18) |
Sep
(38) |
Oct
(26) |
Nov
(12) |
Dec
(6) |
| 2013 |
Jan
(19) |
Feb
(18) |
Mar
(44) |
Apr
(35) |
May
(18) |
Jun
(21) |
Jul
(10) |
Aug
(19) |
Sep
(44) |
Oct
(25) |
Nov
(1) |
Dec
(2) |
| 2014 |
Jan
(8) |
Feb
|
Mar
|
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(7) |
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(6) |
Aug
(2) |
Sep
(8) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
(7) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(9) |
Jun
(4) |
Jul
(20) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
(9) |
Dec
(2) |
| 2017 |
Jan
(7) |
Feb
(7) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(4) |
Jul
(12) |
Aug
(4) |
Sep
(1) |
Oct
(4) |
Nov
(11) |
Dec
(14) |
| 2018 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(4) |
2
(6) |
3
|
4
|
5
|
6
|
|
7
|
8
|
9
|
10
(2) |
11
|
12
|
13
|
|
14
|
15
|
16
|
17
|
18
(2) |
19
|
20
|
|
21
(2) |
22
(2) |
23
(1) |
24
(2) |
25
|
26
|
27
|
|
28
|
29
|
30
(2) |
31
(4) |
|
|
|
|
From: Charles W. <cwi...@us...> - 2010-03-31 02:17:25
|
Update of /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17603/libc/include/sys Modified Files: unistd.h Log Message: * libc/include/sys/unistd.h: Declare fchdir and getdomainname. Index: unistd.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/libc/include/sys/unistd.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** unistd.h 15 Oct 2001 22:22:32 -0000 1.3 --- unistd.h 31 Mar 2010 02:17:16 -0000 1.4 *************** *** 37,40 **** --- 37,43 ---- int _EXFUN(execvp, (const char *__file, char * const __argv[] )); int _EXFUN(fchmod, (int __fildes, mode_t __mode )); + #if defined(__CYGWIN__) || defined(__MSYS__) || defined(__rtems__) || defined(__SPU__) + int _EXFUN(fchdir, (int __fildes)); + #endif int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group )); pid_t _EXFUN(fork, (void )); *************** *** 42,45 **** --- 45,51 ---- int _EXFUN(fsync, (int __fd)); char _EXFUN(*getcwd, (char *__buf, size_t __size )); + #if defined(__CYGWIN__) || defined(__MSYS__) + int _EXFUN(getdomainname ,(char *__name, size_t __len)); + #endif gid_t _EXFUN(getegid, (void )); uid_t _EXFUN(geteuid, (void )); |
|
From: Charles W. <cwi...@us...> - 2010-03-31 02:17:24
|
Update of /cvsroot/mingw/msys/rt/src/newlib In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17603 Modified Files: ChangeLog.MSYS Log Message: * libc/include/sys/unistd.h: Declare fchdir and getdomainname. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/newlib/ChangeLog.MSYS,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ChangeLog.MSYS 29 Jul 2003 11:44:09 -0000 1.9 --- ChangeLog.MSYS 31 Mar 2010 02:17:16 -0000 1.10 *************** *** 1,2 **** --- 1,6 ---- + 2010.03.29 Charles Wilson <mi...@cw...> + + * libc/include/sys/unistd.h: Declare fchdir and getdomainname. + 2003.07.29 Earnie Boyd <ea...@us...> |
|
From: Charles W. <cwi...@us...> - 2010-03-31 02:16:21
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17485/cygwin/include Modified Files: netdb.h Log Message: * include/netdb.h: Declare rcmd, rexec, and rresvport. Index: netdb.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/netdb.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** netdb.h 7 Aug 2001 17:51:15 -0000 1.1.1.1 --- netdb.h 31 Mar 2010 02:16:13 -0000 1.2 *************** *** 159,162 **** --- 159,166 ---- void setservent (int); void setrpcent (int); + int rcmd (char **, unsigned short, const char *, const char *, + const char *, int *); + int rexec (char **, unsigned short, char *, char *, char *, int *); + int rresvport (int *); #endif |
|
From: Charles W. <cwi...@us...> - 2010-03-31 02:16:21
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17485/cygwin Modified Files: ChangeLog.MSYS Log Message: * include/netdb.h: Declare rcmd, rexec, and rresvport. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** ChangeLog.MSYS 15 Jan 2010 21:24:29 -0000 1.107 --- ChangeLog.MSYS 31 Mar 2010 02:16:11 -0000 1.108 *************** *** 1,2 **** --- 1,6 ---- + 2010.03.29 Charles Wilson <mi...@cw...> + + * include/netdb.h: Declare rcmd, rexec, and rresvport. + 2010.01.15 Cesar Strauss <ces...@gm...> |
|
From: Keith M. <kei...@us...> - 2010-03-30 20:29:37
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5505 Modified Files: ChangeLog Log Message: Avoid running InternetAttemptConnect in pkgInternetAgent constructor. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** ChangeLog 23 Mar 2010 19:04:51 -0000 1.33 --- ChangeLog 30 Mar 2010 20:29:26 -0000 1.34 *************** *** 1,2 **** --- 1,11 ---- + 2010-03-28 Cesar Strauss <ces...@gm...> + + Avoid running InternetAttemptConnect in pkgInternetAgent + constructor, since it is called during DLL initialisation. + + * src/pkginet.cpp (pkgInternetAgent::pkgInternetAgent): Move the + InternetAttemptConnect call from constructor... + (pkgInternetAgent::OpenURL): ...to here. + 2010-03-23 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-30 20:29:34
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5505/src Modified Files: pkginet.cpp Log Message: Avoid running InternetAttemptConnect in pkgInternetAgent constructor. Index: pkginet.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkginet.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pkginet.cpp 2 Mar 2010 22:33:24 -0000 1.7 --- pkginet.cpp 30 Mar 2010 20:29:26 -0000 1.8 *************** *** 53,62 **** { /* Constructor... */ - if( InternetAttemptConnect( 0 ) == ERROR_SUCCESS ) - SessionHandle = InternetOpen - ( "MinGW Installer", INTERNET_OPEN_TYPE_PRECONFIG, - NULL, NULL, 0 - ); } inline ~pkgInternetAgent() --- 53,63 ---- { /* Constructor... + * + * This is called during DLL initialisation; thus it seems to be + * the ideal place to perform one time internet connection setup. + * However, Microsoft caution against doing much here, (especially + * creation of threads, either directly or indirectly); thus we + * defer the connection setup until we ultimately need it. */ } inline ~pkgInternetAgent() *************** *** 73,76 **** --- 74,90 ---- inline HINTERNET OpenURL( const char *URL ) { + /* Open an internet data stream. This requires an internet + * connection to have been established... + */ + if( (SessionHandle == NULL) + && (InternetAttemptConnect( 0 ) == ERROR_SUCCESS) ) + /* + * ...so, on first call, we perform the connection setup + * which we deferred from the class constructor. + */ + SessionHandle = InternetOpen + ( "MinGW Installer", INTERNET_OPEN_TYPE_PRECONFIG, + NULL, NULL, 0 + ); return InternetOpenUrl( SessionHandle, URL, NULL, 0, 0, 0 ); } |
|
From: Keith M. <kei...@us...> - 2010-03-24 21:29:05
|
Update of /cvsroot/mingw/msys/dvlpr In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10314 Modified Files: ChangeLog Log Message: Add --replace option to mount command script Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/ChangeLog,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** ChangeLog 21 Mar 2010 21:24:40 -0000 1.74 --- ChangeLog 24 Mar 2010 21:28:04 -0000 1.75 *************** *** 1,2 **** --- 1,12 ---- + 2010.03.24 Keith Marshall <kei...@us...> + + * bin/mount: Add MSYS publication history; update copyright notice. + [--replace]: New command option; when inserted as the first argument, + preceding mount-point or windows-path and mount-point, it first forces + or simulates an invocation of `umount', as necessary, to release the + specified mount-point. + + * bin/umount: Add MSYS publication history; update copyright notice. + 2010.03.21 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-24 21:28:47
|
Update of /cvsroot/mingw/msys/dvlpr/bin In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10314/bin Modified Files: mount umount Log Message: Add --replace option to mount command script Index: mount =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/bin/mount,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mount 21 Mar 2010 21:25:17 -0000 1.1 --- mount 24 Mar 2010 21:28:27 -0000 1.2 *************** *** 6,10 **** # ===================================================================== # ! # Copyright (C) 2006, 2007 by Keith Marshall # mailto:kei...@us... # --- 6,10 ---- # ===================================================================== # ! # Copyright (C) 2006, 2007, 2009, 2010 by Keith Marshall # mailto:kei...@us... # *************** *** 12,15 **** --- 12,18 ---- # http://www.mingw.org/msys.shtml # + # 2009-04-06: First published implementation for MSYS-1.0.11 + # 2010-03-24: Updated for MSYS-1.0.14: --replace option added + # # MSYS is free software. It is provided "as is", in the hope that it # may be useful; there is NO WARRANTY OF ANY KIND, not even an implied *************** *** 40,43 **** --- 43,54 ---- >> ${MNTTAB="/etc/fstab"} # + # Check for '--replace' option, so we can honour requests to reassign + # an existing mount table entry. + # + case $1 in + --replace | --replac | --repla | --repl) shift ; replace=yes ;; + *) replace=no ;; + esac + # # Select the operation to be performed, based on number of argumemnts. # *************** *** 132,138 **** fi # else # ! # Found a conflicting active mount... # Display an appropriate diagnostic message, depending on # whether the argument represented a directory path name, --- 143,161 ---- fi # + elif test x"$replace" = xyes + then + # + # Found a conflicting active mount, + # but the 'replace' option WAS specified... + # Tear it down, and remount. + # + umount $MNTPATH + mount $MNTPATH + exit $? + # else # ! # Found a conflicting active mount, ! # and the 'replace' option was NOT specified... # Display an appropriate diagnostic message, depending on # whether the argument represented a directory path name, *************** *** 172,178 **** echo -e "$WINPATH\t$MNTPATH" >> "$MNTTAB" # else # ! # Specified mount point is already in use... # Diagnose, and bail out. # --- 195,212 ---- echo -e "$WINPATH\t$MNTPATH" >> "$MNTTAB" # + elif test x"$replace" = xyes + then + # + # The mount point is already in use, + # but the 'replace' option WAS specified... + # Tear it down, and remount. + # + umount $MNTPATH + echo -e "$WINPATH\t$MNTPATH" >> "$MNTTAB" + # else # ! # Mount point is already in use, ! # and the 'replace' option was NOT specified... # Diagnose, and bail out. # *************** *** 187,191 **** # echo >&2 "$0: incorrect number of arguments" ! echo >&2 "usage: mount [<win32path> <msyspath>]" exit 2 ;; esac --- 221,225 ---- # echo >&2 "$0: incorrect number of arguments" ! echo >&2 "usage: mount [--replace] [<win32path> <msyspath>]" exit 2 ;; esac Index: umount =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/bin/umount,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** umount 21 Mar 2010 21:25:17 -0000 1.1 --- umount 24 Mar 2010 21:28:30 -0000 1.2 *************** *** 6,10 **** # ===================================================================== # ! # Copyright (C) 2006, 2007 by Keith Marshall # mailto:kei...@us... # --- 6,10 ---- # ===================================================================== # ! # Copyright (C) 2006, 2007, 2009 by Keith Marshall # mailto:kei...@us... # *************** *** 12,15 **** --- 12,17 ---- # http://www.mingw.org/msys.shtml # + # 2009-04-06: First published implementation for MSYS-1.0.11 + # # MSYS is free software. It is provided "as is", in the hope that it # may be useful; there is NO WARRANTY OF ANY KIND, not even an implied |
|
From: Keith M. <kei...@us...> - 2010-03-23 19:05:24
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14097 Modified Files: ChangeLog Makefile.in .cvsignore Log Message: Automate object code dependency tracking. Index: .cvsignore =================================================================== RCS file: /cvsroot/mingw/mingw-get/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 31 Oct 2009 21:08:41 -0000 1.2 --- .cvsignore 23 Mar 2010 19:05:06 -0000 1.3 *************** *** 1,2 **** configure autom4te.cache ! bin obj mingw-get.layout mingw-get.depend --- 1,2 ---- configure autom4te.cache ! bin obj mingw-get.layout mingw-get.depend *.d Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/mingw-get/Makefile.in,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile.in 16 Feb 2010 20:51:05 -0000 1.11 --- Makefile.in 23 Mar 2010 19:04:55 -0000 1.12 *************** *** 62,71 **** vercmp.$(OBJEXT) dmh.$(OBJEXT) - %.$(OBJEXT): %.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< - - %.$(OBJEXT): %.cpp - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $< - all: pkginfo$(EXEEXT) mingw-get$(EXEEXT) mingw-get-0.dll --- 62,65 ---- *************** *** 79,109 **** $(CXX) -shared -o $@ $(CXXFLAGS) $(LDFLAGS) $+ $(LIBS) ! dmh.$(OBJEXT): dmh.h ! climain.$(OBJEXT): pkgbase.h pkgtask.h tinyxml.h tinystr.h dmh.h ! sysroot.$(OBJEXT): pkgbase.h pkgkeys.h tinyxml.h tinystr.h mkpath.h dmh.h ! tarproc.$(OBJEXT): pkgbase.h pkgproc.h pkginfo.h pkgkeys.h pkgstrm.h ! tarproc.$(OBJEXT): tinyxml.h tinystr.h mkpath.h dmh.h ! ! pkgname.$(OBJEXT): pkgbase.h pkgkeys.h dmh.h ! pkgfind.$(OBJEXT): pkgbase.h pkgkeys.h tinyxml.h tinystr.h ! pkgbind.$(OBJEXT): pkgbase.h pkgkeys.h tinyxml.h tinystr.h dmh.h ! pkgexec.$(OBJEXT): pkgbase.h pkgkeys.h pkgtask.h tinyxml.h tinystr.h mkpath.h dmh.h ! pkgdeps.$(OBJEXT): pkgbase.h pkgkeys.h pkginfo.h pkgtask.h tinyxml.h tinystr.h dmh.h ! pkgspec.$(OBJEXT): pkgbase.h pkgkeys.h pkginfo.h tinyxml.h tinystr.h vercmp.h ! pkginet.$(OBJEXT): pkgbase.h pkgkeys.h pkgtask.h pkgstrm.h mkpath.h dmh.h ! pkgstrm.$(OBJEXT): pkgstrm.h ! ! # Dependencies for stand alone pkginfo tool; ! # (the pkginfo object is also required by the core DLL)... # ! driver.$(OBJEXT): pkginfo.h ! pkginfo.$(OBJEXT): pkginfo.l pkginfo.h ! # TinyXML dependencies... ! # ! tinyxml.$(OBJEXT): tinyxml.h tinystr.h ! tinyxmlerror.$(OBJEXT): tinyxml.h tinystr.h ! tinyxmlparser.$(OBJEXT): tinyxml.h tinystr.h ! tinystr.$(OBJEXT): tinystr.h # Installation tools and directory paths... --- 73,88 ---- $(CXX) -shared -o $@ $(CXXFLAGS) $(LDFLAGS) $+ $(LIBS) ! # Compilation and dependency tracking... # ! DEPFLAGS = -MM -MP -MD ! sinclude *.d ! %.$(OBJEXT): %.c ! $(CC) $(DEPFLAGS) $(CPPFLAGS) $(CFLAGS) $< ! $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< ! ! %.$(OBJEXT): %.cpp ! $(CXX) $(DEPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $< ! $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $< # Installation tools and directory paths... *************** *** 202,206 **** # clean: ! rm -f *.$(OBJEXT) *.dll pkginfo$(EXEEXT) mingw-get$(EXEEXT) distclean: clean --- 181,185 ---- # clean: ! rm -f *.$(OBJEXT) *.d *.dll pkginfo$(EXEEXT) mingw-get$(EXEEXT) distclean: clean Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** ChangeLog 22 Mar 2010 19:38:55 -0000 1.32 --- ChangeLog 23 Mar 2010 19:04:51 -0000 1.33 *************** *** 1,2 **** --- 1,13 ---- + 2010-03-23 Keith Marshall <kei...@us...> + + Automate object code dependency tracking. + + * Makefile.in (DEPFLAGS): New macro; define it. + (%.OBJEXT: %.c, %.OBJEXT: %.cpp): Add dependency generator commands... + (%.d): ...to create these dependency maps; `sinclude' them, and... + (clean): ...remove them. + + * .cvsignore (*.d): Add wild card template to match them. + 2010-03-22 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-22 19:39:45
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11364 Modified Files: ChangeLog Log Message: Support case insensitive matching for file and subsystem names. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** ChangeLog 2 Mar 2010 22:33:07 -0000 1.31 --- ChangeLog 22 Mar 2010 19:38:55 -0000 1.32 *************** *** 1,2 **** --- 1,25 ---- + 2010-03-22 Keith Marshall <kei...@us...> + + Support case insensitive matching for file and subsystem names. + + * src/pkgbase.h (safe_strcmp): New inline function; it provides NULL + argument safe comparison of strings, returning the boolean inverse of + the `strcmp' result, using either case-sensitive or case-insensitive + semantics; derive it from... + (match_if_explicit): ...this; redefine as macro; invoke `safe_strcmp' + using explicitly case-sensitive semantics. + (subsystem_strcmp): New macro; it invokes `safe_strcmp' with either + case-sensitive or case-insensitive semantics, depending on... + (CASE_INSENSITIVE_SUBSYSTEMS): ...this new context selection macro; it + fixes the choice between case-sensitive and case-insensitive matching + semantics for any given implementation, at compile time. + (pkg_strcmp): New macro; it invokes `safe_strcmp' with either + case-sensitive or case-insensitive semantics, depending on... + (CASE_INSENSITIVE_FILESYSTEM): ...this new context selection macro; it + fixes the choice between case-sensitive and case-insensitive matching + semantics for any given implementation, at compile time. + + * src/sysroot.cpp (pkgXmlNode::GetSysRoot): Use `subsystem_strcmp'. + 2010-03-02 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-22 19:39:16
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11364/src Modified Files: pkgbase.h sysroot.cpp Log Message: Support case insensitive matching for file and subsystem names. Index: pkgbase.h =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgbase.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pkgbase.h 2 Feb 2010 20:19:28 -0000 1.5 --- pkgbase.h 22 Mar 2010 19:39:06 -0000 1.6 *************** *** 41,44 **** --- 41,75 ---- #endif + /* Adopt sensible defaults for matching subsystem and file names... + */ + #ifdef _WIN32 + /* + * The MS-Windows file system is intrinsically case insensitive, + * so we prefer to match both subsystem and file names in a case + * insensitive manner... + */ + # ifndef CASE_INSENSITIVE_SUBSYSTEMS + # define CASE_INSENSITIVE_SUBSYSTEMS 1 + # endif + # ifndef CASE_INSENSITIVE_FILESYSTEM + # define CASE_INSENSITIVE_FILESYSTEM 1 + # endif + /* + * The preferred name for MS-Windows' case insensitive string + * matching function, equivalent to POSIX strcasecmp(). + */ + # define strcasecmp stricmp + #else + /* On other systems, we prefer to adopt case sensitive matching + * strategies for subsystem and file names. + */ + # ifndef CASE_INSENSITIVE_SUBSYSTEMS + # define CASE_INSENSITIVE_SUBSYSTEMS 0 + # endif + # ifndef CASE_INSENSITIVE_FILESYSTEM + # define CASE_INSENSITIVE_FILESYSTEM 0 + # endif + #endif + class pkgXmlNode : public TiXmlElement { *************** *** 335,346 **** EXTERN_C int has_keyword( const char*, const char* ); static inline ! bool match_if_explicit( const char *value, const char *proto ) { /* Helper to compare a pair of "C" strings for equality, ! * accepting NULL as a match for anything. */ return (value == NULL) || (proto == NULL) || (strcmp( value, proto ) == 0); } #endif /* PKGBASE_H: $RCSfile$: end of file */ --- 366,405 ---- EXTERN_C int has_keyword( const char*, const char* ); + typedef int (*strcmp_function)( const char *, const char * ); + static inline ! bool safe_strcmp( strcmp_function strcmp, const char *value, const char *proto ) { /* Helper to compare a pair of "C" strings for equality, ! * accepting NULL as a match for anything; for non-NULL matches, ! * case sensitivity is determined by choice of strcmp function. ! * ! * N.B. Unlike the 'strcmp' function which this calls, this is ! * a boolean function, returning TRUE when the 'strcmp' result ! * is zero, (i.e. the sense of the result is inverted). */ return (value == NULL) || (proto == NULL) || (strcmp( value, proto ) == 0); } + /* Define a safe_strcmp() alias for an explicitly case sensitive match. + */ + #define match_if_explicit( A, B ) safe_strcmp( strcmp, (A), (B) ) + + /* Further safe_strcmp() aliases provide for matching subsystem names, + * with implementation dependent case sensitivity... + */ + #if CASE_INSENSITIVE_SUBSYSTEMS + # define subsystem_strcmp( A, B ) safe_strcmp( strcasecmp, (A), (B) ) + #else + # define subsystem_strcmp( A, B ) safe_strcmp( strcmp, (A), (B) ) + #endif + + /* ...and similarly, for matching of file names. + */ + #if CASE_INSENSITIVE_FILESYSTEM + # define pkg_strcmp( A, B ) safe_strcmp( strcasecmp, (A), (B) ) + #else + # define pkg_strcmp( A, B ) safe_strcmp( strcmp, (A), (B) ) + #endif + #endif /* PKGBASE_H: $RCSfile$: end of file */ Index: sysroot.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/sysroot.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sysroot.cpp 2 Mar 2010 19:11:08 -0000 1.3 --- sysroot.cpp 22 Mar 2010 19:39:08 -0000 1.4 *************** *** 381,385 **** /* ...until we find one for the subsystem of interest... */ ! if( match_if_explicit( subsystem, sysroot->GetPropVal( subsystem_key, NULL )) ) { /* ...from which we retrieve the sysroot path specification... --- 381,385 ---- /* ...until we find one for the subsystem of interest... */ ! if( subsystem_strcmp( subsystem, sysroot->GetPropVal( subsystem_key, NULL )) ) { /* ...from which we retrieve the sysroot path specification... |
|
From: Keith M. <kei...@us...> - 2010-03-21 21:25:46
|
Update of /cvsroot/mingw/msys/dvlpr In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28862/dvlpr Modified Files: ChangeLog Log Message: Add missing mount and umount scripts Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/msys/dvlpr/ChangeLog,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** ChangeLog 5 Jan 2010 20:20:55 -0000 1.73 --- ChangeLog 21 Mar 2010 21:24:40 -0000 1.74 *************** *** 1,2 **** --- 1,7 ---- + 2010.03.21 Keith Marshall <kei...@us...> + + * bin/mount, bin/umount: New in CVS; scripts required by Cesar's + 2009.04.06 distribution update. + 2010.05.01 Cesar Strauss <ces...@gm...> |
|
From: Keith M. <kei...@us...> - 2010-03-21 21:25:28
|
Update of /cvsroot/mingw/msys/dvlpr/bin In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28862/dvlpr/bin Added Files: mount umount Log Message: Add missing mount and umount scripts --- NEW FILE: mount --- #!/bin/sh # # File: mount # $Id: mount,v 1.1 2010/03/21 21:25:17 keithmarshall Exp $ # # ===================================================================== # # Copyright (C) 2006, 2007 by Keith Marshall # mailto:kei...@us... # # This file is part of MSYS # http://www.mingw.org/msys.shtml # # MSYS is free software. It is provided "as is", in the hope that it # may be useful; there is NO WARRANTY OF ANY KIND, not even an implied # warranty of MERCHANTABILITY or FITNESS FOR ANY PARTICULAR PURPOSE. # At no time will the author accept liability for damages, however # caused, resulting from the use of this software. # # Permission is granted to copy and redistribute this software, either # as is, or in modified form, provided that:-- # # 1) All such copies are distributed with the same rights # of redistribution. # # 2) The preceding disclaimer of warranty and liabality is # retained verbatim, in all copies. # # 3) Accreditation of the original author remains in place. # # 4) Modified copies are clearly identified as such, with # additional accreditation given to the authors of each # modified version. # # ===================================================================== # # # Ensure the the `fstab' mount registry exists, and is writeable. # >> ${MNTTAB="/etc/fstab"} # # Select the operation to be performed, based on number of argumemnts. # case $# in 0) # # No arguments specified... # Simply report the current state of the mount table. # /bin/msysmnt.exe ;; # 1) # # One argument specified... # Check for any pre-existing mount which may conflict; if none, # try to match it to a default mount specification from the `fstab' # configuration file, and mount the specified directory, if any, # on its associated mount point. # FSTAB=${FSTAB-"$MNTTAB.conf"} MNTPATH=`echo "$1" | tr '\\\\' /` # if cat $MNTTAB | tr '\\' / | awk ' # # Check for pre-existing mount of specified argument; # set exit status to:-- # 0: if no such mount exists; # 1: if argument is an already mounted directory; # 2: if argument is a mount point already in use. # BEGIN { status = 0 } /^#/ { $0 = "" } $1 == "'$MNTPATH'" { status = 1 } $2 == "'$MNTPATH'" { status = 2 } END { exit status }' then # # No pre-existing mount conflicts... # if WINPATH=`cat 2>/dev/null $FSTAB | tr '\\' / | awk ' # # Look up the default mount point specification; # set exit status, (assigned to "errno"), to:-- # 0: if found; (it is assigned to WINPATH); # 1: if found, but multiply and ambiguously defined; # 2: if not found. # BEGIN { status = 0; mount = "" } /^#/ { $0 = "" } $1 == "'$MNTPATH'" { if( mount == "" ) mount = $0 else if( mount != $0 ) status = 1 } $2 == "'$MNTPATH'" { if( mount == "" ) mount = $0 else if( mount != $0 ) status = 1 } END { if( mount == "" ) exit 2 print mount exit status }'` errno=$? then # # Found a default mount specification; activate it. # echo $WINPATH >> $MNTTAB # elif test -f $FSTAB && test -r $FSTAB then # # Read the configuration file, but could not find # a mount specification matching the argument. # case $errno in 1) echo >&2 "$0: $FSTAB: ambiguous reference for $MNTPATH" ;; 2) echo >&2 "$0: $FSTAB: no mount specification for $MNTPATH" ;; esac # elif test -f $FSTAB then # # Found the configuration file, but could not read it. # echo >&2 "$0: $FSTAB: cannot read configuration file" # else # # Could not find the configuration file. # echo >&2 "$0: $FSTAB: configuration file not found" fi # else # # Found a conflicting active mount... # Display an appropriate diagnostic message, depending on # whether the argument represented a directory path name, # or a mount point, and bail out. # case $? in 1) echo >&2 "$0: '$MNTPATH' is already mounted" ;; 2) echo >&2 "$0: mount point '$MNTPATH' is already in use" ;; esac exit 1 fi ;; # 2) # # Two arguments specified... # First is directory path name, second is mount point. # WINPATH=`echo "$1" | tr '\\\\' /` MNTPATH=`echo "$2" | tr '\\\\' /` # if cat $MNTTAB | tr '\\' / | awk ' # # Check that the mount point is not already in use; # set exit status to:-- # 0: if no existing mount table entry matches; # 1: if mount point already in mount table. # BEGIN { status = 0 } /^#/ { $0 = "" } $2 == "'$MNTPATH'" { status = 1 } END { exit status }' then # # Mount point not yet assigned... # Update the mount table, to include the new specification. # echo -e "$WINPATH\t$MNTPATH" >> "$MNTTAB" # else # # Specified mount point is already in use... # Diagnose, and bail out. # echo >&2 "$0: mount point '$MNTPATH' is already in use" exit 1 fi ;; # *) # # More than two arguments specified... # Complain, and bail out. # echo >&2 "$0: incorrect number of arguments" echo >&2 "usage: mount [<win32path> <msyspath>]" exit 2 ;; esac # # On successful completion, ensure we set the exit status appropriately. # exit 0 # # $RCSfile: mount,v $: end of file --- NEW FILE: umount --- #!/bin/sh # # File: umount # $Id: umount,v 1.1 2010/03/21 21:25:17 keithmarshall Exp $ # # ===================================================================== # # Copyright (C) 2006, 2007 by Keith Marshall # mailto:kei...@us... # # This file is part of MSYS # http://www.mingw.org/msys.shtml # # MSYS is free software. It is provided "as is", in the hope that it # may be useful; there is NO WARRANTY OF ANY KIND, not even an implied # warranty of MERCHANTABILITY or FITNESS FOR ANY PARTICULAR PURPOSE. # At no time will the author accept liability for damages, however # caused, resulting from the use of this software. # # Permission is granted to copy and redistribute this software, either # as is, or in modified form, provided that:-- # # 1) All such copies are distributed with the same rights # of redistribution. # # 2) The preceding disclaimer of warranty and liabality is # retained verbatim, in all copies. # # 3) Accreditation of the original author remains in place. # # 4) Modified copies are clearly identified as such, with # additional accreditation given to the authors of each # modified version. # # ===================================================================== # # Exactly one argument is required... # if test $# -eq 1 then # # Normally, it specifies the mount point to be released, # but it may also represent a mounted directory path name, # for which all bound mount points are to be filtered out # of the "mount table" file. # MNTPATH=`echo "$1" | tr '\\\\' /` TMPFILE=${TMPDIR-"/tmp"}/mnttab$$.tmp MNTTAB=${MNTTAB-"/etc/fstab"} # if cat "$MNTTAB" | tr '\\' / | awk ' # # Copy the "mount table" to a temporary file, filtering # out all active mount point records which match MNTPATH, # (the specified argument); set exit status to:-- # 0: if at least one mount point is matched; # 1: if no match is found. # BEGIN { status = 1 } { keep = $0 } /^#/ { print; keep = "no"; $0 = "!'$MNTPATH'" } $2 == "'$MNTPATH'" { keep = "no"; status = 0 } { $2 = "!" } $0 == "'$MNTPATH' !" { keep = "no"; status = 0 } keep != "no" { print keep } END { exit status }' > "$TMPFILE" then # # At least one mount point was selected to release... # Replace the active "mount table" file with the regenerated # copy, so completing the operation. # cp "$TMPFILE" "$MNTTAB" rm -f "$TMPFILE" # else # # No active mount point matched the specified argument... # Discard the temporary file, complain, and bail out. # rm -f "$TMPFILE" echo >&2 "$0: '$1' is not mounted" exit 1 fi # else # # The command line did not specify exactly one argument... # Complain, and bail out. # echo >&2 "$0: incorrect number of arguments" echo >&2 "usage: umount <path>" exit 2 fi # # On successful completion, ensure we set the exit status appropriately. # exit 0 # # $RCSfile: umount,v $: end of file |
|
From: Cesar S. <cst...@us...> - 2010-03-18 01:16:43
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9134/include/cygwin Modified Files: version.h Log Message: Fix path translation in presence of components with dots. * path.cc (msys_p2w): Search the whole string for a ".." component, instead of stopping at the first ".". * include/cygwin/version.h: Increment version to 1.0.14. Index: version.h =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/include/cygwin/version.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** version.h 15 Jan 2010 16:14:54 -0000 1.16 --- version.h 18 Mar 2010 01:16:35 -0000 1.17 *************** *** 46,52 **** #define CYGWIN_VERSION_DLL_MAJOR 1000 ! #define CYGWIN_VERSION_DLL_MINOR 13 #define DLL_VERSION_MAJOR 1000 ! #define DLL_VERSION_MINOR 13 /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are --- 46,52 ---- #define CYGWIN_VERSION_DLL_MAJOR 1000 ! #define CYGWIN_VERSION_DLL_MINOR 14 #define DLL_VERSION_MAJOR 1000 ! #define DLL_VERSION_MINOR 14 /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are |
|
From: Cesar S. <cst...@us...> - 2010-03-18 01:16:43
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9134 Modified Files: path.cc Log Message: Fix path translation in presence of components with dots. * path.cc (msys_p2w): Search the whole string for a ".." component, instead of stopping at the first ".". * include/cygwin/version.h: Increment version to 1.0.14. Index: path.cc =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/path.cc,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** path.cc 15 Jan 2010 21:24:33 -0000 1.51 --- path.cc 18 Mar 2010 01:16:34 -0000 1.52 *************** *** 3191,3198 **** // keep all what follows as is. // ! sspath = strchr (spath, '.'); ! if (sspath && *(sspath - 1) == '/' && *(sspath + 1) == '.') { ! *(sspath - 1) = '\0'; char *swin32_path = msys_p2w (spath); if (swin32_path == spath) --- 3191,3198 ---- // keep all what follows as is. // ! sspath = strstr (spath, "/.."); ! if (sspath) { ! *sspath = '\0'; char *swin32_path = msys_p2w (spath); if (swin32_path == spath) *************** *** 3203,3207 **** retpathcpy (swin32_path); retpathcat ("/"); ! retpathcat (sspath); free (swin32_path); return ScrubRetpath (retpath); --- 3203,3207 ---- retpathcpy (swin32_path); retpathcat ("/"); ! retpathcat (sspath+1); free (swin32_path); return ScrubRetpath (retpath); |
|
From: Keith M. <kei...@us...> - 2010-03-10 22:21:56
|
Update of /cvsroot/mingw/xscripts In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30539 Modified Files: ChangeLog Log Message: x86-mingw32-build version 1.0.1 (candidate #1) released. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/xscripts/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ChangeLog 10 Mar 2010 22:16:54 -0000 1.19 --- ChangeLog 10 Mar 2010 22:21:46 -0000 1.20 *************** *** 1,4 **** --- 1,10 ---- 2010-03-10 Keith Marshall <kei...@us...> + x86-mingw32-build version 1.0.1 (candidate #1) released. + + * All files (r1-0-1-rc1, r1-0-1): Tags assigned at `HEAD'. + + 2010-03-10 Keith Marshall <kei...@us...> + Prepare version 1.0.1, release candidate #1. |
Update of /cvsroot/mingw/xscripts In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27700 Modified Files: AUTHORS.in ChangeLog LICENSE.in Makefile README.in README.tmac x86-mingw32-build.sh x86-mingw32-build.sh.batch x86-mingw32-build.sh.conf x86-mingw32-build.sh.detail x86-mingw32-build.sh.dialogue x86-mingw32-build.sh.functions x86-mingw32-build.sh.getopts x86-mingw32-build.sh.help x86-mingw32-build.sh.hosts x86-mingw32-build.sh.mirrors x86-mingw32-build.sh.version Log Message: Prepare version 1.0.1, release candidate #1. Index: x86-mingw32-build.sh.detail =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.detail,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** x86-mingw32-build.sh.detail 15 Mar 2009 13:05:54 -0000 1.3 --- x86-mingw32-build.sh.detail 10 Mar 2010 22:16:55 -0000 1.4 *************** *** 4,8 **** # Display details of the current cross compiler build configuration. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Display details of the current cross compiler build configuration. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: x86-mingw32-build.sh.batch =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.batch,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** x86-mingw32-build.sh.batch 15 Mar 2009 13:05:54 -0000 1.4 --- x86-mingw32-build.sh.batch 10 Mar 2010 22:16:55 -0000 1.5 *************** *** 4,8 **** # Unattended mode setup for x86-mingw32-build.sh cross compiler build. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Unattended mode setup for x86-mingw32-build.sh cross compiler build. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: x86-mingw32-build.sh.hosts =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.hosts,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** x86-mingw32-build.sh.hosts 15 Mar 2009 13:05:54 -0000 1.2 --- x86-mingw32-build.sh.hosts 10 Mar 2010 22:16:56 -0000 1.3 *************** *** 4,8 **** # List of known SourceForge Mirror Sites, hosting packages for download. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # List of known SourceForge Mirror Sites, hosting packages for download. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: x86-mingw32-build.sh.functions =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.functions,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** x86-mingw32-build.sh.functions 15 Mar 2009 13:05:54 -0000 1.4 --- x86-mingw32-build.sh.functions 10 Mar 2010 22:16:55 -0000 1.5 *************** *** 4,8 **** # Define functions used by the mingw32 cross-compiler build script. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Define functions used by the mingw32 cross-compiler build script. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/xscripts/ChangeLog,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ChangeLog 6 Dec 2009 17:26:08 -0000 1.18 --- ChangeLog 10 Mar 2010 22:16:54 -0000 1.19 *************** *** 1,2 **** --- 1,14 ---- + 2010-03-10 Keith Marshall <kei...@us...> + + Prepare version 1.0.1, release candidate #1. + + * All files: Update copyright notices; include year 2010. + + * x86-mingw32-build.sh.version (PACKAGE_VERSION_PATCH): Set it to 1. + + * x86-mingw32-build.sh.conf: Update to current releases of... + (BINUTILS_VERSION): ...this; set it to 2.20.1, and ... + (RUNTIME_VERSION): this; set it to 3.18. + 2009-12-06 Keith Marshall <kei...@us...> Index: x86-mingw32-build.sh.conf =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.conf,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** x86-mingw32-build.sh.conf 6 Dec 2009 17:26:08 -0000 1.9 --- x86-mingw32-build.sh.conf 10 Mar 2010 22:16:55 -0000 1.10 *************** *** 51,56 **** # assume GCC_VERSION 3.4.5-20060117-2 ! assume BINUTILS_VERSION 2.20-1 ! assume RUNTIME_VERSION 3.17 assume W32API_VERSION 3.14 # --- 51,56 ---- # assume GCC_VERSION 3.4.5-20060117-2 ! assume BINUTILS_VERSION 2.20.1 ! assume RUNTIME_VERSION 3.18 assume W32API_VERSION 3.14 # Index: x86-mingw32-build.sh.help =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.help,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** x86-mingw32-build.sh.help 15 Mar 2009 13:05:54 -0000 1.3 --- x86-mingw32-build.sh.help 10 Mar 2010 22:16:56 -0000 1.4 *************** *** 4,8 **** # Help text definitions for x86-mingw32-build.sh script. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Help text definitions for x86-mingw32-build.sh script. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: Makefile =================================================================== RCS file: /cvsroot/mingw/xscripts/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 15 Mar 2009 09:36:45 -0000 1.2 --- Makefile 10 Mar 2010 22:16:54 -0000 1.3 *************** *** 5,9 **** # (xscripts), and creates distribution tarballs. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 5,9 ---- # (xscripts), and creates distribution tarballs. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: LICENSE.in =================================================================== RCS file: /cvsroot/mingw/xscripts/LICENSE.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LICENSE.in 15 Mar 2009 13:05:54 -0000 1.2 --- LICENSE.in 10 Mar 2010 22:16:54 -0000 1.3 *************** *** 2,6 **** LICENSE.in for x86-mingw32-build.sh ! Copyright (C) 2006, 2009, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> --- 2,6 ---- LICENSE.in for x86-mingw32-build.sh ! Copyright (C) 2006, 2009, 2010, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> Index: x86-mingw32-build.sh.mirrors =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.mirrors,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** x86-mingw32-build.sh.mirrors 6 Dec 2009 17:26:08 -0000 1.5 --- x86-mingw32-build.sh.mirrors 10 Mar 2010 22:16:56 -0000 1.6 *************** *** 4,8 **** # Identify a SourceForge Mirror Site, from which to download packages. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Identify a SourceForge Mirror Site, from which to download packages. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: README.in =================================================================== RCS file: /cvsroot/mingw/xscripts/README.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.in 15 Mar 2009 13:05:54 -0000 1.2 --- README.in 10 Mar 2010 22:16:55 -0000 1.3 *************** *** 3,7 **** $Id$ ! Copyright (C) 2006, 2009, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> --- 3,7 ---- $Id$ ! Copyright (C) 2006, 2009, 2010, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> Index: README.tmac =================================================================== RCS file: /cvsroot/mingw/xscripts/README.tmac,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.tmac 15 Mar 2009 13:05:54 -0000 1.2 --- README.tmac 10 Mar 2010 22:16:55 -0000 1.3 *************** *** 5,9 **** README files. ! Copyright (C) 2006, 2009, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> --- 5,9 ---- README files. ! Copyright (C) 2006, 2009, 2010, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> Index: x86-mingw32-build.sh.dialogue =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.dialogue,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** x86-mingw32-build.sh.dialogue 15 Mar 2009 13:05:54 -0000 1.6 --- x86-mingw32-build.sh.dialogue 10 Mar 2010 22:16:55 -0000 1.7 *************** *** 4,8 **** # Manage dialogue for interactive execution of x86-mingw32-build script. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Manage dialogue for interactive execution of x86-mingw32-build script. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: x86-mingw32-build.sh.version =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.version,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** x86-mingw32-build.sh.version 15 Mar 2009 13:05:54 -0000 1.3 --- x86-mingw32-build.sh.version 10 Mar 2010 22:16:56 -0000 1.4 *************** *** 7,11 **** PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=0 ! PACKAGE_VERSION_PATCH="" # # Define `SNAPSHOT' to a non-null `YYYYMMDD-R' string, only when creating --- 7,11 ---- PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=0 ! PACKAGE_VERSION_PATCH=1 # # Define `SNAPSHOT' to a non-null `YYYYMMDD-R' string, only when creating *************** *** 14,18 **** SNAPSHOT="" # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 14,18 ---- SNAPSHOT="" # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: x86-mingw32-build.sh =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** x86-mingw32-build.sh 6 Dec 2009 17:26:08 -0000 1.12 --- x86-mingw32-build.sh 10 Mar 2010 22:16:55 -0000 1.13 *************** *** 6,10 **** # MinGW cross-compiler for Win32. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 6,10 ---- # MinGW cross-compiler for Win32. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # Index: AUTHORS.in =================================================================== RCS file: /cvsroot/mingw/xscripts/AUTHORS.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AUTHORS.in 15 Mar 2009 13:05:54 -0000 1.2 --- AUTHORS.in 10 Mar 2010 22:16:52 -0000 1.3 *************** *** 2,6 **** AUTHORS.in for x86-mingw32-build.sh ! Copyright (C) 2006, 2009, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> --- 2,6 ---- AUTHORS.in for x86-mingw32-build.sh ! Copyright (C) 2006, 2009, 2010, MinGW Project <http://www.mingw.org> Written by Keith Marshall <kei...@us...> Index: x86-mingw32-build.sh.getopts =================================================================== RCS file: /cvsroot/mingw/xscripts/x86-mingw32-build.sh.getopts,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** x86-mingw32-build.sh.getopts 15 Mar 2009 13:05:54 -0000 1.4 --- x86-mingw32-build.sh.getopts 10 Mar 2010 22:16:55 -0000 1.5 *************** *** 4,8 **** # Interpret command line arguments given to the x86-mingw32-build script. # ! # Copyright (C) 2006, 2009, MinGW Project # Written by Keith Marshall <kei...@us...> # --- 4,8 ---- # Interpret command line arguments given to the x86-mingw32-build script. # ! # Copyright (C) 2006, 2009, 2010, MinGW Project # Written by Keith Marshall <kei...@us...> # |
|
From: Keith M. <kei...@us...> - 2010-03-02 22:33:59
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13433 Modified Files: ChangeLog Log Message: Add preliminary support for virtual packages. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** ChangeLog 2 Mar 2010 21:06:54 -0000 1.30 --- ChangeLog 2 Mar 2010 22:33:07 -0000 1.31 *************** *** 1,4 **** --- 1,27 ---- 2010-03-02 Keith Marshall <kei...@us...> + Add preliminary support for virtual packages. + + * src/pkgkeys.h (yes_value, no_value): Redefine as aliases... + (value_yes, value_no): ...for these new global strings; declare them. + (value_none, value_virtual): New global strings; declare them. + + * src/pkgkeys.c (yes_value, no_value): Rename... + (value_yes, value_no): ...to implement these, respectively. + (value_none, value_virtual): Implement them. + + * src/pkgname.cpp (pkgXmlNode::ArchiveName): Check containing package + node for `class' attribute set to `value_virtual'; if present, always + return the effective `tarname' property as `value_none'. + + * src/pkginet.cpp (pkgActionItem::DownloadArchiveFiles): For packages + with an effective `tarname' of `value_none', do not download anything. + + * src/pkgexec.cpp (pkgActionItem::Execute): For packages with an + effective `tarname' of `value_none', do not invoke any tar archive + processing function. + + 2010-03-02 Keith Marshall <kei...@us...> + Don't write installation records for unavailable packages. |
|
From: Keith M. <kei...@us...> - 2010-03-02 22:33:39
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13433/src Modified Files: pkgexec.cpp pkginet.cpp pkgkeys.c pkgkeys.h pkgname.cpp Log Message: Add preliminary support for virtual packages. Index: pkgkeys.h =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgkeys.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pkgkeys.h 1 Mar 2010 22:34:19 -0000 1.5 --- pkgkeys.h 2 Mar 2010 22:33:24 -0000 1.6 *************** *** 75,80 **** * of the above XML database keys. */ ! EXTERN_C_DECL const char *yes_value; ! EXTERN_C_DECL const char *no_value; #endif /* PKGKEYS_H: $RCSfile$: end of file */ --- 75,85 ---- * of the above XML database keys. */ ! #define yes_value value_yes ! #define no_value value_no ! ! EXTERN_C_DECL const char *value_no; ! EXTERN_C_DECL const char *value_none; ! EXTERN_C_DECL const char *value_virtual; ! EXTERN_C_DECL const char *value_yes; #endif /* PKGKEYS_H: $RCSfile$: end of file */ Index: pkgkeys.c =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgkeys.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pkgkeys.c 1 Mar 2010 22:34:19 -0000 1.5 --- pkgkeys.c 2 Mar 2010 22:33:24 -0000 1.6 *************** *** 64,69 **** * of the above keys. */ ! const char *yes_value = "yes"; ! const char *no_value = "no"; /* $RCSfile$: end of file */ --- 64,71 ---- * of the above keys. */ ! const char *value_no = "no"; ! const char *value_none = "none"; ! const char *value_virtual = "virtual"; ! const char *value_yes = "yes"; /* $RCSfile$: end of file */ Index: pkgexec.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgexec.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pkgexec.cpp 2 Feb 2010 20:19:28 -0000 1.5 --- pkgexec.cpp 2 Mar 2010 22:33:18 -0000 1.6 *************** *** 391,397 **** if( current->Selection( to_remove ) == NULL ) { ! pkgTarArchiveInstaller package( current->Selection() ); ! if( package.IsOk() ) ! package.Process(); } else --- 391,401 ---- if( current->Selection( to_remove ) == NULL ) { ! pkgXmlNode *pkg = current->Selection(); ! if( ! match_if_explicit( pkg->ArchiveName(), value_none ) ) ! { ! pkgTarArchiveInstaller package( pkg ); ! if( package.IsOk() ) ! package.Process(); ! } } else Index: pkgname.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgname.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pkgname.cpp 2 Feb 2010 20:19:28 -0000 1.3 --- pkgname.cpp 2 Mar 2010 22:33:24 -0000 1.4 *************** *** 41,45 **** * applicable only to XML "release" elements. */ ! if( ! rel->IsElementOfType( "release" ) ) { dmh_control( DMH_BEGIN_DIGEST ); --- 41,45 ---- * applicable only to XML "release" elements. */ ! if( ! rel->IsElementOfType( release_key ) ) { dmh_control( DMH_BEGIN_DIGEST ); *************** *** 52,56 **** /* Given a package release specification... ! * determine the archive name for the tarball to be processed; this * is retrieved from a child XML element with name specified by "tag"; * by default, if "opt" is non-zero, it is the canonical "tarname" --- 52,81 ---- /* Given a package release specification... ! * First check that it relates to a real package, rather than to ! * a virtual "meta-package"; such meta-packages exist solely as ! * containers for requirements specifications, and have no ! * associated archive. ! */ ! pkgXmlNode *pkg = rel->GetParent(); ! while( (pkg != NULL) && ! pkg->IsElementOfType( package_key ) ) ! pkg = pkg->GetParent(); ! ! /* FIXME: we should probably provide some error handling here, ! * to diagnose release elements without any package association; ! * (these would be identified by pkg == NULL). ! */ ! if( pkg != NULL ) ! { ! /* We found the package association... ! * Check its 'class' attribute, if any, and if classified as ! * 'virtual', return the archive association as "none". ! */ ! const char *package_class = pkg->GetPropVal( class_key, NULL ); ! if( (package_class != NULL) && (strcmp( package_class, value_virtual ) == 0) ) ! return value_none; ! } ! ! /* The given release specification relates to a real package... ! * Determine the archive name for the tarball to be processed; this * is retrieved from a child XML element with name specified by "tag"; * by default, if "opt" is non-zero, it is the canonical "tarname" Index: pkginet.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkginet.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pkginet.cpp 2 Feb 2010 20:19:28 -0000 1.6 --- pkginet.cpp 2 Mar 2010 22:33:24 -0000 1.7 *************** *** 282,314 **** */ const char *package_name = current->Selection()->ArchiveName(); - pkgInternetStreamingAgent download( package_name, pkgArchivePath() ); ! /* Check if the required archive is already available locally... */ ! if( (access( download.DestFile(), R_OK ) != 0) && (errno == ENOENT) ) { ! /* ...if not, ask the download agent to fetch it... */ ! const char *url_template = get_host_info( current->Selection(), uri_key ); ! if( url_template != NULL ) { ! /* ...from the URL constructed from the template specified in ! * the package repository catalogue (configuration database)... */ ! const char *mirror = get_host_info( current->Selection(), mirror_key ); ! char package_url[mkpath( NULL, url_template, package_name, mirror )]; ! mkpath( package_url, url_template, package_name, mirror ); ! if( ! (download.Get( package_url ) > 0) ) dmh_notify( DMH_ERROR, ! "Get package: %s: download failed\n", package_url ); } - else - /* Cannot download; the repository catalogue didn't specify a - * template, from which to construct a download URL... - */ - dmh_notify( DMH_ERROR, - "Get package: %s: no URL specified for download\n", package_name - ); } } --- 282,324 ---- */ const char *package_name = current->Selection()->ArchiveName(); ! /* An explicit package name of "none" is a special case, indicating ! * a "virtual" meta-package; it requires nothing to be downloaded... */ ! if( ! match_if_explicit( package_name, value_none ) ) { ! /* ...but we expect any other package to provide real content, ! * for which we may need to download the package archive... */ ! pkgInternetStreamingAgent download( package_name, pkgArchivePath() ); ! ! /* Check if the required archive is already available locally... ! */ ! if( (access( download.DestFile(), R_OK ) != 0) && (errno == ENOENT) ) { ! /* ...if not, ask the download agent to fetch it... */ ! const char *url_template = get_host_info( current->Selection(), uri_key ); ! if( url_template != NULL ) ! { ! /* ...from the URL constructed from the template specified in ! * the package repository catalogue (configuration database)... ! */ ! const char *mirror = get_host_info( current->Selection(), mirror_key ); ! char package_url[mkpath( NULL, url_template, package_name, mirror )]; ! mkpath( package_url, url_template, package_name, mirror ); ! if( ! (download.Get( package_url ) > 0) ) ! dmh_notify( DMH_ERROR, ! "Get package: %s: download failed\n", package_url ! ); ! } ! else ! /* Cannot download; the repository catalogue didn't specify a ! * template, from which to construct a download URL... ! */ dmh_notify( DMH_ERROR, ! "Get package: %s: no URL specified for download\n", package_name ); } } } |
|
From: Keith M. <kei...@us...> - 2010-03-02 21:07:47
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2717 Modified Files: ChangeLog Log Message: Don't write installation records for unavailable packages. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** ChangeLog 2 Mar 2010 19:11:01 -0000 1.29 --- ChangeLog 2 Mar 2010 21:06:54 -0000 1.30 *************** *** 1,4 **** --- 1,12 ---- 2010-03-02 Keith Marshall <kei...@us...> + Don't write installation records for unavailable packages. + + * src/tarproc.cpp (pkgTarArchiveInstaller): In constructor, ensure + archive is ready for processing, before initialising an installation + manifest record. + + 2010-03-02 Keith Marshall <kei...@us...> + Rationalise path identification for XML file locations. *************** *** 6,9 **** --- 14,18 ---- function to locate `sysroot' map file; free memory when done. (pkgXmlDocument::UpdateSystemMap): Likewise. + (sigpath): Static global variable disused; delete it. 2010-03-01 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-02 21:07:10
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2717/src Modified Files: tarproc.cpp Log Message: Don't write installation records for unavailable packages. Index: tarproc.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/tarproc.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tarproc.cpp 10 Feb 2010 22:18:59 -0000 1.3 --- tarproc.cpp 2 Mar 2010 21:07:00 -0000 1.4 *************** *** 399,403 **** * XML database, and mark that sysroot entry as 'modified'. */ ! if( (tarname != NULL) && (sysroot != NULL) ) { /* The installation record must identify, as a minimum, --- 399,403 ---- * XML database, and mark that sysroot entry as 'modified'. */ ! if( (tarname != NULL) && (sysroot != NULL) && stream->IsReady() ) { /* The installation record must identify, as a minimum, *************** *** 419,422 **** --- 419,427 ---- /* Set the 'modified' flag for, and attach the installation * record to, the relevant sysroot record. + * + * FIXME: We should defer this until AFTER the archive has + * been successfully processed, (in the destructor, perhaps?), + * cleaning up, and not updating the installation manifest, + * in the event of an archive processing failure. */ sysroot->SetAttribute( modified_key, yes_value ); |
|
From: Keith M. <kei...@us...> - 2010-03-02 19:11:50
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23396 Modified Files: ChangeLog Log Message: Rationalise path identification for XML file locations. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** ChangeLog 1 Mar 2010 22:34:19 -0000 1.28 --- ChangeLog 2 Mar 2010 19:11:01 -0000 1.29 *************** *** 1,2 **** --- 1,10 ---- + 2010-03-02 Keith Marshall <kei...@us...> + + Rationalise path identification for XML file locations. + + * src/sysroot.cpp (pkgXmlDocument::LoadSystemMap): Use `xmlfile()' + function to locate `sysroot' map file; free memory when done. + (pkgXmlDocument::UpdateSystemMap): Likewise. + 2010-03-01 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-02 19:11:19
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23396/src Modified Files: sysroot.cpp Log Message: Rationalise path identification for XML file locations. Index: sysroot.cpp =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/sysroot.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sysroot.cpp 2 Feb 2010 20:19:28 -0000 1.2 --- sysroot.cpp 2 Mar 2010 19:11:08 -0000 1.3 *************** *** 112,117 **** } - static const char *sigpath = "%R" "var/lib/mingw-get/data/%F.xml"; - void pkgXmlDocument::LoadSystemMap() { --- 112,115 ---- *************** *** 157,160 **** --- 155,162 ---- * this implies that no system map has yet been selected for loading, * so check if the current one matches the selection criterion... + * + * FIXME: match_if_explicit( id, NULL ) must always return true; + * this is a place holder for a match on a system map selector, + * which will be specified by a future command line option. */ const char *id = sysmap->GetPropVal( id_key, "<default>" ); *************** *** 211,217 **** * use this to create a new installation record file. */ ! char *sig = hashed_name( retry++, sysroot_key, path ); ! char sigfile[mkpath( NULL, sigpath, sig, NULL )]; ! mkpath( sigfile, sigpath, sig, NULL ); /* Check for an existing sysroot file associated with the --- 213,218 ---- * use this to create a new installation record file. */ ! const char *sig = hashed_name( retry++, sysroot_key, path ); ! const char *sigfile = xmlfile( sig, NULL ); /* Check for an existing sysroot file associated with the *************** *** 275,281 **** } ! /* Before abandoning our reference to the current hash ! * signature, free the memory allocated for it. */ free( (void *)(sig) ); } --- 276,284 ---- } ! /* Before abandoning our references to the current hash ! * signature, and the path name for the associated XML file, ! * free the memory allocated for them. */ + free( (void *)(sigfile) ); free( (void *)(sig) ); } *************** *** 335,340 **** * name for the file in which to save the record. */ ! char mapfile[mkpath( NULL, sigpath, modified, NULL )]; ! mkpath( mapfile, sigpath, modified, NULL ); /* Create a copy of the sysroot record, as the content of --- 338,342 ---- * name for the file in which to save the record. */ ! const char *mapfile = xmlfile( modified, NULL ); /* Create a copy of the sysroot record, as the content of *************** *** 346,349 **** --- 348,356 ---- map.SetRoot( entry->Clone() ); map.Save( mapfile ); + + /* The 'xmlfile()' look-up for the 'mapfile' path name used + * the heap to return the result; free the space allocated. + */ + free( (void *)(mapfile) ); } |
|
From: Keith M. <kei...@us...> - 2010-03-01 22:34:34
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17513 Modified Files: ChangeLog Log Message: Extend package name search to include component packages. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** ChangeLog 1 Mar 2010 22:08:58 -0000 1.27 --- ChangeLog 1 Mar 2010 22:34:19 -0000 1.28 *************** *** 8,11 **** --- 8,14 ---- included component package name or component class-implied name. + * src/pkgkeys.h (class_key): New global string constant; declare it. + * src/pkgkeys.c (class_key): Implement it. + 2010-02-16 Keith Marshall <kei...@us...> |
|
From: Keith M. <kei...@us...> - 2010-03-01 22:34:27
|
Update of /cvsroot/mingw/mingw-get/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17513/src Modified Files: pkgkeys.c pkgkeys.h Log Message: Extend package name search to include component packages. Index: pkgkeys.h =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgkeys.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pkgkeys.h 10 Feb 2010 22:18:59 -0000 1.4 --- pkgkeys.h 1 Mar 2010 22:34:19 -0000 1.5 *************** *** 40,43 **** --- 40,44 ---- EXTERN_C_DECL const char *application_key; EXTERN_C_DECL const char *catalogue_key; + EXTERN_C_DECL const char *class_key; EXTERN_C_DECL const char *component_key; EXTERN_C_DECL const char *dirname_key; Index: pkgkeys.c =================================================================== RCS file: /cvsroot/mingw/mingw-get/src/pkgkeys.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pkgkeys.c 10 Feb 2010 22:18:59 -0000 1.4 --- pkgkeys.c 1 Mar 2010 22:34:19 -0000 1.5 *************** *** 29,32 **** --- 29,33 ---- const char *application_key = "application"; const char *catalogue_key = "catalogue"; + const char *class_key = "class"; const char *component_key = "component"; const char *dirname_key = "dir"; |