Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 83 and Version 84 of Projects/OpenLDAP


Ignore:
Timestamp:
07/08/12 06:08:39 (12 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 ...