The following code

void main()
{
  write("%O\n", combine_path_nt("/", "/v1/RPC"));
  string path = "/v1/RPC";
  write("%O\n", combine_path_nt("/", path));
}

consistently give the following output on Windows Pike 8.0.182

"/v1/RPC"
"//v1/v1/RPC"

but works as expected on Windows Pike 8.0.358.

Can anyone think of a fix that would make this bug go away, or is it
just luck in how the compiler puts things together?
  • Pos... Martin Nilsson (Coppermist) @ Pike (-) developers forum
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum

Reply via email to