summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorcrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-19 02:17:46 +0000
committercrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-19 02:17:46 +0000
commit125bc0bd58dead1684f52dea117e6b28f7077fb2 (patch)
tree74e6d578668229fc7c94b9564bc688ca89927ad9 /examples
parentcdbebb385e3f872ffd1cc8ed331906f4a1982de9 (diff)
downloadATCD-125bc0bd58dead1684f52dea117e6b28f7077fb2.tar.gz
ChangeLogTag: Thu Oct 18 19:52:44 2001 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/OS/Process/process.cpp9
1 files changed, 7 insertions, 2 deletions
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;