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/common.din | |
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/common.din')
-rw-r--r-- | winsup/cygwin/common.din | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din index e5f4eada7..c068911ae 100644 --- a/winsup/cygwin/common.din +++ b/winsup/cygwin/common.din @@ -457,6 +457,8 @@ gammaf NOSIGFE gammaf_r NOSIGFE gcvt SIGFE gcvtf SIGFE +GetCommandLineA@0 = cygwin_GetCommandLineA@0 NOSIGFE +GetCommandLineW@0 = cygwin_GetCommandLineW@0 NOSIGFE get_avphys_pages SIGFE get_current_dir_name SIGFE get_nprocs SIGFE |