Skip to content
Snippets Groups Projects
  1. Jul 13, 2009
    • Brad King's avatar
      ENH: Provide unix-sytle command line parsing · e4e7f37c
      Brad King authored
      Add System_Parse_CommandForUnix to the KWSys System interface as a
      utility to parse a unix-style command line.  Move the existing
      implementation out of ProcessUNIX.  Add a flags argument reserved for
      future use in providing additional behavior.
      e4e7f37c
  2. Jul 09, 2009
  3. Jul 08, 2009
  4. Jun 25, 2009
  5. Jun 22, 2009
  6. Jun 12, 2009
  7. Jun 11, 2009
  8. Jun 10, 2009
    • Brad King's avatar
      ENH: Teach KWSys SystemTools about VMS paths · 1e406776
      Brad King authored
      This teaches ConvertToUnixSlashes to convert VMS paths into posix-style
      paths.  We also set the DECC$FILENAME_UNIX_ONLY feature so the process
      always sees posix-style paths on disk.
      1e406776
    • Brad King's avatar
      ENH: Teach KWSys Process basic VMS support · 48d72f12
      Brad King authored
      This achieves basic process execution on OpenVMS.  We use work-arounds
      for different fork()/exec() behavior and a lack of select().
      
      VMS emulates fork/exec using setjmp/longjmp to evaluate the child and
      parent return cases from fork.  Therefore both must be invoked from the
      same function.
      
      Since select() works only for sockets we use the BeOS-style polling
      implementation.  However, non-blocking reads on empty pipes cannot be
      distinguished easily from the last read on a closed pipe.  Therefore we
      identify end of data by an empty read after the child terminates.
      48d72f12
    • Brad King's avatar
      BUG: Fix non-select process impl without timeout · 6eac6c06
      Brad King authored
      This avoids use of an uninitialized value in the KWSys ProcessUNIX
      polling implementation when no timeout is given.
      6eac6c06
    • Brad King's avatar
      COMP: Avoid String.c inclusion by Compaq templates · 7ecacbfa
      Brad King authored
      The Compaq compiler (on VMS) includes 'String.c' in source files that
      use the stl string while looking for template definitions.  This was the
      true cause of double-inclusion of the 'kwsysPrivate.h' header.  We work
      around the problem by conditionally compiling the entire source file on
      a condition only true when really building the source.
      7ecacbfa
  9. Jun 09, 2009
  10. Jun 05, 2009
  11. May 20, 2009
  12. May 19, 2009
  13. May 14, 2009
  14. May 13, 2009
  15. Apr 23, 2009
  16. Apr 21, 2009
  17. Apr 20, 2009
    • Brad King's avatar
      BUG: Fix SystemTools::IsSubDirectory on bad input · d590780d
      Brad King authored
      When SystemTools::GetParentDirectory was fixed to never remove the root
      path component from a full path we violated an assumption made by
      IsSubDirectory that eventually GetParentDirectory returns an empty
      string.  This led to an infinite loop if the potential parent directory
      is empty, so we explicitly avoid that case.
      d590780d
  18. Apr 15, 2009
  19. Apr 14, 2009
    • Brad King's avatar
      ENH: Skip KWSys name maros in case of identity · 0e3a5ecd
      Brad King authored
      All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at
      configuration time.  For ease of editing we write canonical names with
      the prefix 'kwsys' and use macros to map them to the configured prefix
      at preprocessing time.  In the case of standalone KWSys, the prefix is
      'kwsys', so the macros were previously defined to their own names.
      
      We now skip defining the macros in the identity case so that the final
      symbol names are never themselves macros.  This will allow the symbols
      to be further transformed behind the scenes to help linkers in special
      cases on some platforms.
      0e3a5ecd
  20. Apr 06, 2009
Loading