I have not been able to use any kind of editor for commit messages in a
long while now, which finally prompted me to make a small stub calling my
favorite editor that always returns a 0 success code.

That is when i found out system() and _wsystem() on my Windows 7 box always
returns -1, even on success!

Has anyone else here noticed this?  Either way, i added a check for -1 and
errno==0 to always return 0.

I realize this is weird behavior and MSDN does not say it should do this,
so it might just be something wrong with my windows box, but still i
thought id let you all know.

-- 
grable
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to