Changeset 28003 for branches/pap/Ohana/src/opihi/lib.shell/startup.c
- Timestamp:
- May 18, 2010, 12:49:05 PM (16 years ago)
- Location:
- branches/pap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/pap/Ohana/src/opihi/lib.shell/startup.c
r16472 r28003 124 124 if (LOAD_RC && !is_script) { 125 125 rcfile = get_variable ("RCFILE"); 126 sprintf (line, "input %s/%s", home, rcfile); 127 status = command (line, &outline, TRUE); 128 if (outline != (char *) NULL) free (outline); 126 if (rcfile && check_file_access (rcfile, FALSE, FALSE, FALSE)) { 127 sprintf (line, "input %s/%s", home, rcfile); 128 status = command (line, &outline, TRUE); 129 if (outline != (char *) NULL) free (outline); 130 if (status) { 131 gprint (GP_LOG, "loaded file %s\n", rcfile); 132 } 133 } 129 134 if (rcfile) free (rcfile); 130 135 }
Note:
See TracChangeset
for help on using the changeset viewer.
