IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2011, 8:03:14 AM (15 years ago)
Author:
eugene
Message:

updates to use ohana malloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110505/Ohana/src/opihi/lib.shell/string.c

    r15878 r31590  
    276276}
    277277
     278char *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
    278291/* replace all instances of \A with A in line */
    279292void interpolate_slash (char *line) {
Note: See TracChangeset for help on using the changeset viewer.