Changeset 1884 for trunk/src/crtdll/crtdll.cpp
- Timestamp:
- Nov 30, 1999, 3:18:07 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/crtdll.cpp
r1868 r1884 1 /* $Id: crtdll.cpp,v 1.1 1 1999-11-28 17:22:26sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.12 1999-11-30 14:16:44 sandervl Exp $ */ 2 2 3 3 /* … … 308 308 309 309 i=0;xargv=NULL;xargc=0;afterlastspace=0; 310 /*311 dprintf(("CRTDLL: GetMainArgs i loop\n"));312 310 while (cmdline[i]) { 313 311 if (cmdline[i]==' ') { 314 dprintf(("CRTDLL: GetMainArgs *1\n"));315 312 xargv=(char**)HeapReAlloc( GetProcessHeap(), 0, xargv, 316 313 sizeof(char*)*(++xargc)); … … 319 316 cmdline+afterlastspace); 320 317 i++; 321 dprintf(("CRTDLL: GetMainArgs *2\n"));322 318 while (cmdline[i]==' ') 323 319 i++; 324 320 if (cmdline[i]) 325 321 afterlastspace=i; 326 dprintf(("CRTDLL: GetMainArgs *3\n"));327 322 328 323 } else … … 333 328 xargv=(char**)HeapReAlloc( GetProcessHeap(), 0, xargv, 334 329 sizeof(char*)*(++xargc)); 335 dprintf(("CRTDLL: GetMainArgs *4\n"));336 330 cmdline[i]='\0'; 337 dprintf(("CRTDLL: GetMainArgs *5\n"));338 331 xargv[xargc-1] = HEAP_strdupA( GetProcessHeap(), 0, 339 332 cmdline+afterlastspace); 340 */341 333 CRTDLL_argc_dll = xargc; 342 334 *argc = xargc;
Note:
See TracChangeset
for help on using the changeset viewer.