diff options
author | Christopher Faylor <me@cgf.cx> | 2013-07-19 21:28:34 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-07-19 21:28:34 +0400 |
commit | 521953a83a885011c9040b635a94db5eb6b8db56 (patch) | |
tree | 1aa05b8b65b691cb4c5dccab65c4864d5e95cb54 /winsup/cygwin/strfuncs.cc | |
parent | 4b25516b5d410c38554c9595bcb674356ffee713 (diff) |
* common.din: Export GetCommandLine{A,W}.
* kernel32.cc: Add includes needed for GetCommandLine functions.
(ucmd): New function.
(cygwin_GetCommandLineW): Ditto.
(cygwin_GetCommandLineA): Ditto.
* spawn.cc (child_info_spawn::worker): Rename one_line -> cmd. Use lb_wcs
macro to generate a wide character version of the line buffer. Remove
duplicate printing of command line. Don't access members of linebuf directly.
* winf.h: Use pragma once.
(linebuf): Make storage private.
(linebuf::operator size_t): New operator. Return size of buf.
(linebuf::operator wchar_t): New operator.
(linebuf::wcs): New function.
(lb_wcs): New macro.
* include/cygwin/version.h: Bump API minor number to 268.
* strfuncs.cc: Clarify descriptive file comment.
Diffstat (limited to 'winsup/cygwin/strfuncs.cc')
-rw-r--r-- | winsup/cygwin/strfuncs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strfuncs.cc b/winsup/cygwin/strfuncs.cc index 9e5aa0304..d80f2ec6f 100644 --- a/winsup/cygwin/strfuncs.cc +++ b/winsup/cygwin/strfuncs.cc @@ -1,4 +1,4 @@ -/* strfuncs.cc: misc funcs that don't belong anywhere else +/* strfuncs.cc: string functions Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. |