Changes between Version 83 and Version 84 of Projects/OpenLDAP


Ignore:
Timestamp:
Jul 8, 2012, 6:08:39 AM (7 years ago)
Author:
C Rempel
Comment:

/* network-demos/ldap/init.c */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/OpenLDAP

    v83 v84  
    243243==  network-demos/ldap/init.c  ==
    244244
    245 Because invoking executables on a linux system are basically calls to main, we add a call to main in the init.c
     245Because invoking executables on a linux system are basically calls to main, we add a call to main in the init.c  To call main from rtems_task_Init, I had to do the following:
    246246
    247247 + #include <main.h>
     
    249249 ...
    250250 + char **argv;
    251  + argv[0]="-d";
    252  + argv[0]="1";
     251 + *argv[0]="-d";
     252 + *argv[0]="1";
     253 + *argv[0]="-d";
     254 + *argv[0]="1";
     255
    253256 + main(2, argv);
    254257 ...