D 2012-11-03T15:19:13.045 J comment There\sappears\sto\sbe\sa\sregression\sintroduced\swith\sFossil\s1.24\son\sWindows\sregarding\scommand-line\swildcard\sparsing.\r\n\r\nFossil\s1.23\sbehaves\sas\sexpected:\r\n>\sfossil-123\smd5sum\scommon\\*\r\n2a9d384b95db916a22cc05b7227ab55b\s\scommon\\fileutils.cpp\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\r\neb7ae4d4d206c73079faa4bfb4d737ca\s\scommon\\fileutils.h\r\n\r\nHowever,\sunder\s1.24:\r\n>\sfossil\smd5sum\scommon\\*\r\nAssertion\sfailed:\s(p)->xRealloc==blobReallocMalloc\s||\s(p)->xRealloc==blobReallocStatic,\sfile\s./src/blob.c,\sline\s273\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\r\nThis\sapplication\shas\srequested\sthe\sRuntime\sto\sterminate\sit\sin\san\sunusual\sway.\r\nPlease\scontact\sthe\sapplication's\ssupport\steam\sfor\smore\sinformation.\r\n\r\nWildcards\salso\sfail,\sbut\sless\sspectacularly,\swith\sother\sFossil\scommands:\r\n\r\nFossil\s1.24:\r\n>fossil\sadd\sgui\\forms.*\r\nfossil:\snot\sfound:\sC:/Projects/InkSpector2/src/gui/forms.*\s\s\s\s\r\n\r\nFossil\s1.23:\r\n>fossil-123\sadd\sgui\\forms.*\r\nADDED\s\ssrc/gui/forms.cpp\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\r\nADDED\s\ssrc/gui/forms.h\r\n\r\nThanks\r\nMark.\r\n\r\ndrh\sadded\son\s2012-11-02\s21:46:52\sUTC:\r\nWorking\snow\sfor\sMinGW.\s\sNeed\sto\sfix\sthe\sparse_windows_command_line()\sfunction\r\nto\sdo\swildcard\sexpansion\sin\sorder\sto\sfix\sthe\sproblem\sfor\snon-mingw\swindows\r\ncompilers.\r\n\r\njan.nijtmans\sadded\son\s2012-11-03\s11:21:18\sUTC:\r\nNote:\sMingw\sis\sthe\sonly\stoolset\swhich\sdoes\scommand\sline\sexpansion\sin\scrt0,\smingw-w64\sand\smsvc\sdo\snot.\sIt\sis\sreally\sa\sproblem\sof\sthe\sWindows\sconsole:\sShells\sare\ssupposed\sto\sdo\stheir\sown\scommand\sline\sexpansion.\sCygwin\sand\sMsys\sdo\sthat,\sbut\sthe\sWindows\sconsole\sdoes\snot\sdo\sthat.\sTherefore\sthe\smingw\speople\sdecided\sto\sbuild\sit\sinto\scrt0,\sbut\sit\smakes\smingw\sincompatible\swith\smsvc.\r\n

\r\nUnfortunately,\smingw\sdoesn't\shave\san\sunicode-aware\scrt0,\sthat\swould\ssolve\severything.\sMingw-w64\sand\smsvc\shave\sit,\sbut\sthose\sdon't\sdo\scommand\sline\sexpansion.\r\n

\r\nI\swould\srecommend\sto\sbuild\scommand\sline\sexpansion\sinto\sfossil.\sIt\swould\smake\scommand\sline\sexpansion\savailable\sto\smingw-w64\sand\smsvc\sbuilds\son\sthe\sWindows\sconsole\sas\swell.\sThe\srisk\sis\sthat\swhen\susing\sMsys\sor\sCygwin,\sthe\scommand\sline\r\nexpansion\sis\sdone\stwice,\sI\sdon't\sknow\sexactly\swhat\spossible\sproblems\sthat\scould\sgive.\r\n\r\nSo,\sthe\seasiest\sworkaround\swould\sbe:\suse\sthe\sMsys\sor\sCygwin\sor\sany\sother\sshell,\sjust\snot\sthe\sWindows\sconsole.\r\n\r\ndrh\sadded\son\s2012-11-03\s12:47:01\sUTC:\r\nMaybe\sthe\sright\sthing\sto\sdo\sis\sadd\sa\snew\s"fossil\sglob\sCMD\sARG1\sARG2\s...."\scommand.\s\sThe\sglob\scommand\sapplies\sfile\sglobing\sto\sall\sarguments,\sthen\sruns\sCMD\swith\sthe\sglobed\sarguments.\s\sThis\sis\ssimilar\sto\show\sthe\s"glob"\scommand\sworked\sin\svery\searly\sUnix\ssystems,\sbefore\sglobing\sgot\sbuilt\sinto\sthe\sshell.\r\n\r\nUnix,\sMsys,\sand\scygwin\sshells\swould\scontinue\sto\soperate\snormally.\s\sUsers\son\sa\swindows\sshell,\showever,\swould\sneed\sto\sadd\sthe\s"glob"\skeyword\sif\sthey\swant\sglobing\sto\soccur\sin\stheir\scommand.\r\n\r\nanonymous\sadded\son\s2012-11-03\s14:30:05\sUTC:\r\nHi,\r\n\r\nI'm\snot\ssure\sif\sit's\sbeen\smentioned\sbefore,\sbut\smsvc\sdoes\ssupport\sexpanding\scommand-line\swildcards\sinto\sseparate\sargv\sstrings:\r\n[http://msdn.microsoft.com/en-us/library/8bch7bkk%28v=vs.80%29.aspx]\r\n\r\nMark. K 8ca2aae39172f90c314256deda71e006cb2f38bf U drh Z d8e42fd96711f289a8b50ad10db6995a