Hi!

18-Сен-2006 15:29 [EMAIL PROTECTED] (Marton) wrote to
freedos-user@lists.sourceforge.net:

M> Absolutely, the function is simple... just to see if two directories that
M> should have the same contents changed. Here it goes (hope it indents well):
M> int checkdir(void) {
[...]
M>     system("dir c:\\data\\base1 >c:\\data.dir");

     This source is incomplete and contains bugs, which makes it
incompilable, but this is unimportant - now I may reproduce the bug even
without extra program:

>command/c ver
FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]
>command/c dir test
TEST                     0  19.09.06  2:55
>command/c dir >test
>command/c dir test
TEST                   525  19.09.06  2:56
>command/c dir test >test
>command/c dir test
TEST                     0  19.09.06  2:56

So, something really wrong, when cmd ("dir" above) have arguments and output
is redirected.

     I will try to fix this later, when process patches, which accept Blair.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to