Artifact 5f7fb8f4716f7d8e2f61665875fdc3e68d813d68
Ticket change
[5f7fb8f471]
- Ticket 40df1ced7e Sync fail/crash with file: URL on Win32 status still Open with 2 other changes
by
anonymous on
2009-06-23 16:41:36.
D 2009-06-23T16:41:36
J +comment \n\n<hr><i>anonymous\sclaiming\sto\sbe\sTwylite\sadded\son\s2009-06-23\s16:41:36:</i><br>\nSome\smore\sinformation:\r\n\r\ntransport_flip()\sin\shttp_transport.c\sis\susing\ssystem()\sto\sexecute\s"fossil\shttp"\swith\ssome\sparameters.\s\sBy\sadding\sa\sstrategic\s'echo'\sto\sthe\sfront\sof\sthe\scommand\sI\scan\stell\sthat\sit's\strying\sto\sdo\sthis\s...\r\n\r\n<tt>cmd\s/c\s"fossil"\shttp\s"C:/Temp/test/repo1/repo1.fossil"\s"C:/Temp/test/repo2/repo2.fossil-17469728767716370470-out.http"\s"C:/Temp/test/repo2/repo2.fossil-17469728767716370470-in.http"\s127.0.0.1</tt>\r\n\r\n...\swhich\sexecuted\son\sa\scommand\sline\sgives\sthe\ssame\serror\sthat\sI\swas\sseeing,\si.e.\s<tt>'fossil"\shttp\s"C:'\sis\snot\srecognized\s...</tt>.\r\n\r\nThe\shelp\sfor\s'cmd'\ssays\sthe\sfollowing:\r\n\r\n1.\sIf\sall\sof\sthe\sfollowing\sconditions\sare\smet\s(SNIP\s-\sthey\saren't)\r\n\r\n2.\sOtherwise,\sold\sbehavior\sis\sto\ssee\sif\sthe\sfirst\scharacter\sis\sa\squote\scharacter\sand\sif\sso,\sstrip\sthe\sleading\scharacter\sand\sremove\sthe\slast\squote\scharacter\son\sthe\scommand\sline,\spreserving\sany\stext\safter\sthe\slast\squote\scharacter.\r\n\r\nSo\son\sWindows\sXP\swe\sneed\sto\sadd\sadditional\sdouble-quotes\saround\sthe\sentire\scommand\sto\smake\sit\swork\scorrectly\s(and\sthat\sshould\salso\sbe\sbackwards\scompatible\sto\s2000,\sNT,\setc.).\r\n\r\nI\sassume\sthat\s/bin/sh\son\s*nix\swill\sbe\sless\shappy\sabout\ssuch\sa\schange.\r\n\r\nThe\scrash\sis\snot\sdirectly\srelated\sto\sthis\s--\sit\swould\sseem\sthat\swaiting\sfor\s"fossil\shttp"\scauses\sa\smemory\saccess\sviolation\s(the\scrash\shappens\safter\sa\ssimilar\sdelay\sif\sI\sexecute\sa\sdifferent/successful\scommand\sin\sthe\ssystem()\scall).\r\n\r\n\r\n
J resolution Open
K 40df1ced7ebd6a8b9e419ff1a788ce05e33a82e1
U anonymous
Z 10a0648cb4388795ee607c12d1f02b1b