Changeset 38986 for trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
- Timestamp:
- Oct 27, 2015, 4:49:06 PM (11 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/lib.shell/ConfigInit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ipp-20150625/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
r16900 r38986 38 38 } 39 39 40 // XXX this is a bit dangerous : answer may have an arbitrary 41 // length, but we do not know the available space in 'ptr' 42 // we really should be passing in the buffer size and limiting the copy 43 44 40 45 if (!strcmp (mode, "%s")) strcpy ((char *) ptr, answer); 41 46 if (!strcmp (mode, "%d")) *(int *) ptr = atoi (answer);
Note:
See TracChangeset
for help on using the changeset viewer.
