From 125bc0bd58dead1684f52dea117e6b28f7077fb2 Mon Sep 17 00:00:00 2001 From: crodrigu Date: Fri, 19 Oct 2001 02:17:46 +0000 Subject: ChangeLogTag: Thu Oct 18 19:52:44 2001 Craig Rodrigues --- examples/OS/Process/process.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/OS/Process/process.cpp b/examples/OS/Process/process.cpp index a920926ee00..8b05831a303 100644 --- a/examples/OS/Process/process.cpp +++ b/examples/OS/Process/process.cpp @@ -544,10 +544,15 @@ main (int argc, char *argv[]) if (print_file != 0) test_more (); + char buf1[30]; + char buf2[30]; + ACE_OS::strcpy(buf1, " -f hi honey -g \"I\'m home\""); + ACE_OS::strcpy(buf2, "\"token 1\"\'token 2\'\"token 3\" "); + if (run_tokenizer) { - tokenize (" -f hi honey -g \"I\'m home\""); - tokenize ("\"token 1\"\'token 2\'\"token 3\" "); + tokenize ( buf1 ); + tokenize ( buf2 ); } return 0; -- cgit v1.2.1