]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
2002-05-10 Robert Collins <rbtcollins@hotmail.com>
authorRobert Collins <rbtcollins@hotmail.com>
Fri, 10 May 2002 11:03:18 +0000 (11:03 +0000)
committerRobert Collins <rbtcollins@hotmail.com>
Fri, 10 May 2002 11:03:18 +0000 (11:03 +0000)
        * Makefile.in: Regenerate.
        * iniparse.y: Use left recursion, not right in the lines rule to
        avoid stack overflows.
        * README: Update TODO's.
        * io_stream_file.cc: Native builds need to include sys/stat.h

ChangeLog
README
iniparse.y
io_stream_file.cc

index 86e42f35b6adc24844dc331569138e1ee4f2ef69..9b3de7e29280089151889a4563aaacee596fda5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-05-10  Robert Collins  <rbtcollins@hotmail.com>
+
+       * Makefile.in: Regenerate.
+       * iniparse.y: Use left recursion, not right in the lines rule to
+       avoid stack overflows.
+       * README: Update TODO's.
+       * io_stream_file.cc: Native builds need to include sys/stat.h
+
 2002-05-06  John Marshall  <jmarshall@acm.org>
 
        * site.cc (SitePage::OnMessageCmd): recalculate navigation
diff --git a/README b/README
index 61ee7ad4cad1d986e2990bab3967e2f55ff8a212..cfd55a18fe6ecd7706dd137a19d7c18d2bb8e5cc 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,6 @@ TODO:
 
 * Chooser dialog needs work.
 * Mirrors list orer is snafued.
-* Handle UNC paths for the localdir correctly.
 * Don't downgrade if the curr version is <= installed?
 * support rpm/deb files for reading the package from. (To allow the maintainers the use of rpm/deb tools to create packages.)
   * make a librar(y|ies) for setup and cygcheck to use containing 
@@ -22,6 +21,7 @@ TODO:
 * Mark versions as prev/curr/test in the GUI when clicking through them.
 * Remove *empty* directories on uninstalls
 * Correctly overwrite -r--r--r-- files.
+* Make setup.exe available through Add/Remove
           
 WISHLIST:
   *  rsync:// support
@@ -70,4 +70,5 @@ recently completed
    *   ini.cc: add field in setup.ini to specify whether package is installed by default, or not. (base category does this)
   * Remove "/" from symlinks (etags.exe->/ctags.exe is an example
   * Src tickbox /source only can be confusing.
+  * Handle UNC paths for the localdir correctly.
 
index 0ae47731d14c7e56f12227aa5ad777222f81ef0f..c15a715e7c479542a024a55ef90be5b95f5fc52f 100644 (file)
@@ -77,7 +77,7 @@ package
  ;
 
 lines
- : simple_line '\n' lines
+ : lines '\n' simple_line
  | simple_line
  ;
 
index ad4359cd6b17a75e295189a24936ee0610953b36..e61f1c21267d5e55f8b51ac68f22c814e9783e7f 100644 (file)
@@ -29,10 +29,15 @@ static const char *cvsid =
 #include <stdlib.h>
 #include <errno.h>
 #include <unistd.h>
-
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+#include <stdexcept>
+  
 #include "io_stream_file.h"
 #include "IOStreamProvider.h"
 
+
 /* completely private iostream registration class */
 class FileProvider : public IOStreamProvider
 {
@@ -49,7 +54,9 @@ public:
   int move (String const &a,String const &b) const
     {return io_stream_file::move (a, b);}
   int mkdir_p (enum path_type_t isadir, String const &path) const
-    {return ::mkdir_p (isadir == PATH_TO_DIR ? 1 : 0, path.cstr_oneuse());}
+    {
+      return ::mkdir_p (isadir == PATH_TO_DIR ? 1 : 0, path.cstr_oneuse());
+    }
 protected:
   FileProvider() // no creating this
     {
This page took 0.035674 seconds and 5 git commands to generate.