Mercurial > hg > octave-lyh
diff src/user-prefs.cc @ 186:7a647cf4850c
[project @ 1993-10-25 23:15:50 by jwe]
author | jwe |
---|---|
date | Mon, 25 Oct 1993 23:15:50 +0000 |
parents | 78fd87e624cb |
children | 13c6086c325c |
line wrap: on
line diff
--- a/src/user-prefs.cc +++ b/src/user-prefs.cc @@ -397,6 +397,26 @@ } int +sv_info_file (void) +{ + int status = 0; + + char *s = octave_string_variable ("INFO_FILE"); + if (s != (char *) NULL) + { + delete [] user_pref.info_file; + user_pref.info_file = s; + } + else + { + warning ("invalid value specified for INFO_FILE"); + status = -1; + } + + return status; +} + +int sv_ps1 (void) { int status = 0;