Ignore:
Timestamp:
Jul 16, 2003, 8:35:37 PM (22 years ago)
Author:
bird
Message:

Fking hacks. the stupid stupid va_start hacks didn't work with the builtin va_start!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/process/execl.c

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r402 r403  
    88int _STD(execl) (const char *name, const char *arg0, ...)
    99{
    10   va_list arg_ptr;
    1110  int result;
    1211
    13   va_start (arg_ptr, name);
     12 
    1413
    15   /* Note: Passing `arg_ptr' to spawnv() is not portable. */
    16 
    17   result = spawnv (P_OVERLAY, name, (char * const *)arg_ptr);
    18   va_end (arg_ptr);
     14  result = spawnv (P_OVERLAY, name, &arg0);
    1915  return result;
    2016}
Note: See TracChangeset for help on using the changeset viewer.