Changeset 00f9a7d for perlconfig.c


Ignore:
Timestamp:
Jan 8, 2007, 6:50:12 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f265f94
Parents:
15bd5ef
git-author:
Nelson Elhage <nelhage@mit.edu> (01/08/07 18:50:09)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/08/07 18:50:12)
Message:
Bring back the -c option, and no longer choke if .owlconf doesn't
return true.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    r25729b2 r00f9a7d  
    220220
    221221
    222 char *owl_perlconfig_readconfig(void)
     222char *owl_perlconfig_readconfig(char * file)
    223223{
    224224  int ret;
     
    267267  perl_get_sv("owl::host", TRUE);
    268268  perl_get_av("owl::fields", TRUE);
    269  
     269
     270  if(file) {
     271    SV * cfg = get_sv("owl::configfile", TRUE);
     272    sv_setpv(cfg, file);
     273  }
     274
    270275  perl_eval_pv(owl_perlwrap_codebuff, FALSE);
    271276
Note: See TracChangeset for help on using the changeset viewer.