Changeset 31667 for trunk/Ohana/src/opihi/lib.shell/string.c
- Timestamp:
- Jun 22, 2011, 12:40:23 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/string.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/string.c
r15878 r31667 276 276 } 277 277 278 char *opihi_readline (char *prompt) { 279 280 # ifdef OHANA_MEMORY 281 char *raw = readline (prompt); 282 char *line = strcreate (raw); 283 real_free (raw); 284 return line; 285 # else 286 char *line = readline (prompt); 287 return line; 288 # endif 289 } 290 278 291 /* replace all instances of \A with A in line */ 279 292 void interpolate_slash (char *line) {
Note:
See TracChangeset
for help on using the changeset viewer.
