4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-06 22:40:36 +08:00
This commit is contained in:
Christopher Faylor 2013-07-19 17:29:01 +00:00
parent 521953a83a
commit f53c4d6921

View File

@ -6,9 +6,9 @@
(cygwin_GetCommandLineW): Ditto. (cygwin_GetCommandLineW): Ditto.
(cygwin_GetCommandLineA): Ditto. (cygwin_GetCommandLineA): Ditto.
* spawn.cc (child_info_spawn::worker): Rename one_line -> cmd. Use * spawn.cc (child_info_spawn::worker): Rename one_line -> cmd. Use
linebuf_wcs macro to generate a wide character version of the lb_wcs macro to generate a wide character version of the line buffer.
line buffer. Remove duplicate printing of command line. Don't access Remove duplicate printing of command line. Don't access members of
members of linebuf directly. linebuf directly.
* winf.h: Use pragma once. * winf.h: Use pragma once.
(linebuf): Make storage private. (linebuf): Make storage private.
(linebuf::operator size_t): New operator. Return size of buf. (linebuf::operator size_t): New operator. Return size of buf.