fixed the wrong escape character for pio command splitting

This commit is contained in:
hyung-hwan 2011-08-05 09:53:43 +00:00
parent 470c292157
commit 5b92edfe50

View File

@ -1,5 +1,5 @@
/* /*
* $Id: pio.c 533 2011-08-04 15:43:28Z hyunghwan.chung $ * $Id: pio.c 534 2011-08-04 15:53:43Z hyunghwan.chung $
* *
Copyright 2006-2011 Chung, Hyung-Hwan. Copyright 2006-2011 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -686,7 +686,7 @@ qse_pio_t* qse_pio_init (
if (mcmd == QSE_NULL) goto child_oops; if (mcmd == QSE_NULL) goto child_oops;
fcnt = qse_strspl (mcmd, QSE_T(""), fcnt = qse_strspl (mcmd, QSE_T(""),
QSE_T('\"'), QSE_T('\"'), QSE_T('\'')); QSE_T('\"'), QSE_T('\"'), QSE_T('\\'));
if (fcnt <= 0) if (fcnt <= 0)
{ {
/* no field or an error */ /* no field or an error */
@ -709,7 +709,7 @@ qse_pio_t* qse_pio_init (
if (wcmd == QSE_NULL) goto child_oops; if (wcmd == QSE_NULL) goto child_oops;
fcnt = qse_strspl (wcmd, QSE_T(""), fcnt = qse_strspl (wcmd, QSE_T(""),
QSE_T('\"'), QSE_T('\"'), QSE_T('\'')); QSE_T('\"'), QSE_T('\"'), QSE_T('\\'));
if (fcnt <= 0) if (fcnt <= 0)
{ {
/* no field or an error */ /* no field or an error */