- Aug 31, 2009
-
-
Brad King authored
The 'binary' openmode does not exist on all compilers. We define macro <kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to std::ios::binary if it exists and 0 otherwise. Sample usage: kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
-
- Aug 06, 2009
-
-
Dave Partyka authored
-
- Jul 27, 2009
-
-
Brad King authored
Some AIX/gcc version combinations the <cstdio> header breaks when large file support is enabled. See this GCC issue for details: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366 We work around the problem by enhancing the configuration check for large file support to include <cstdio> when available. This will cause LFS to be disabled when the above problem occurs.
-
- Jul 26, 2009
-
-
Dave Partyka authored
ENH: try and see if using string.append instead of += will make valgrind not complaing that JoinPath is leaking.
-
- Jul 24, 2009
-
-
Mathieu Malaterre authored
-
- Jul 13, 2009
-
-
Brad King authored
This fixes KWSys's unix-style command-line parsing to interpret backslash escapes inside single-quoted strings.
-
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.
-
- Jul 09, 2009
-
-
Brad King authored
This adds another cast to avoid pointer conversion warnings. Unfortunately C does not recognize implicit conversions that add cv-qualifiers as well as C++ does.
-
- Jul 08, 2009
-
-
David Cole authored
COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.)
-
David Cole authored
-
Brad King authored
This uses size_t where necessary to avoid size_t/int conversion warnings.
-
Brad King authored
This adds const-ness and casts where necessary to avoid pointer conversion warnings.
-
- Jun 25, 2009
-
-
Bill Hoffman authored
-
- Jun 22, 2009
- Jun 12, 2009
-
-
Brad King authored
This helps avoid fixing VMS-specific code for non-VMS compilers where it isn't needed anyway.
-
Francois Bertel authored
COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type.
-
Brad King authored
The KWSys String implementation of strcasecmp initialized 'result' immediately before assigning to it. Borland produces a warning in this case, so this commit removes the extra initialization.
-
- Jun 11, 2009
-
-
Bill Hoffman authored
-
- Jun 10, 2009
-
-
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.
-
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.
-
Brad King authored
This avoids use of an uninitialized value in the KWSys ProcessUNIX polling implementation when no timeout is given.
-
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.
-
- Jun 09, 2009
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- Jun 05, 2009
-
-
Dave Partyka authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- May 20, 2009
-
-
Bill Hoffman authored
-
- May 19, 2009
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- May 14, 2009
- May 13, 2009
-
-
Brad King authored
Read-only directories must be given write permission before we can remove files and subdirectories from them.
-
- Apr 23, 2009
-
-
Bill Hoffman authored
ENH: check in almost building VMS stuff with VMSBuild directory since the bootstrap script will not work on VMS
-
- Apr 21, 2009
-
-
Alexander Neundorf authored
Alex
-
Brad King authored
This removes SystemTools::FileExistsInParentDirectories from KWSys since it is a special-purpose method that is not generally useful.
-