Pike v7.8 release 316
Windows xp
D:\Sync>pike
Pike v7.8 release 316 running Hilfe v3.5 (Incremental Pike Frontend)
> Process->split_quoted_string("\");
Index 2 is out of array range -2..1.
C:/Program Files/Pike/lib/modules/Process.pmod:392:
Process->split_quoted_string
("\",UNDEFINED)
> Process->split_quoted_string("/");
(1) Result: ({ /* 1 element */
"/"
})
> Process->split_quoted_string("\haha");
(2) Result: ({ /* 1 element */
"haha"
})
> Process->split_quoted_string("\haha\xixi");
(3) Result: ({ /* 1 element */
"hahaxixi"
})
> Process->split_quoted_string("/haha/xixi");
(4) Result: ({ /* 1 element */
"/haha/xixi"
})
> Process->split_quoted_string("\haha\xixi");
(5) Result: ({ /* 1 element */
"hahaxixi"
})
> Process->split_quoted_string("\haha\xixi");
(6) Result: ({ /* 1 element */
"hahaxixi"
})
I don¡¯t think split_quoted_string should throw a exception when the
argument is ¡°\¡±.
I think on windows Process->split_quoted_string("\haha\xixi") should
return "\haha\xixi", right?
Xuesong Guo
|