VirtualBox

Changeset 1238 in kBuild for trunk/src/kash/options.c


Ignore:
Timestamp:
Oct 10, 2007 2:31:53 AM (17 years ago)
Author:
bird
Message:

init psh->optlist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/options.c

    r1233 r1238  
    240240        for (i = 0; i < NOPTS; i++)
    241241                if (psh->optlist[i].letter == flag) {
    242                         set_opt_val(psh, i, val );
     242                        set_opt_val(psh, i, val);
    243243                        return;
    244244                }
     
    251251#ifdef mkinit
    252252INCLUDE "options.h"
     253
     254INIT {
     255        memcpy(&psh->optlist[0], &ro_optlist[0], sizeof(psh->optlist));
     256}
    253257
    254258SHELLPROC {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette