Johannes Anderwald
authorAleksey Bragin <aleksey@reactos.org>
Fri, 12 Oct 2007 09:58:00 +0000 (09:58 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Fri, 12 Oct 2007 09:58:00 +0000 (09:58 +0000)
commita3d5eb47e0ece7e4eca4de948ef4c0dbc2d214bb
tree28f50136a0a73f51a7ac9ade45c75f2e3ca8f74b
parent5005c577551b7fc22b9469869ef091ed40f0e80b
Johannes Anderwald
- Fix the msvcrt exception (because vlc first calls _getmainargs. This function sets the  __argc to 1. Afterwards vlc calls again __wgetmainargs where __argc is now one. When entering the function _wadd, it doesnot allocate the __wargv because __argc is 1. Therefore it crashes).
See issue #821 for more details.

svn path=/trunk/; revision=29531
reactos/lib/sdk/crt/misc/getargs.c