IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3187


Ignore:
Timestamp:
Feb 10, 2005, 5:37:08 AM (21 years ago)
Author:
eugene
Message:

added pcontrol & pclient

Location:
trunk/Ohana/src/opihi
Files:
28 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/Makefile

    r2833 r3187  
    1111dvo:   lib.data lib.shell cmd.basic cmd.data cmd.astro
    1212sched: lib.data lib.shell cmd.basic cmd.data cmd.astro
     13pclient: lib.data lib.shell cmd.basic
    1314
    1415LIBS = cmd.basic cmd.data cmd.astro lib.data lib.shell
     
    1617PROGRAM = mana dvo
    1718
    18 EXTRAS = dvo2 sched dimm
     19EXTRAS = dvo2 sched dimm pclient
    1920
    2021all:
  • trunk/Ohana/src/opihi/lib.shell/command.c

    r2937 r3187  
    3232
    3333  /* this needs some work to use multicommand correctly */
    34   ALLOCATE (argv, char *, targc);
     34  /* allocate extra space to have null terminated list */
     35  ALLOCATE (argv, char *, targc + 1);
    3536  argc = 0;
    3637  status = TRUE;
     
    4344
    4445      if (argc == 0) continue;
     46      argv[argc] = 0;
    4547
    4648      cmd = MatchCommand (argv[0], TRUE, FALSE);
Note: See TracChangeset for help on using the changeset viewer.