Changeset e8c6d8f


Ignore:
Timestamp:
Jan 24, 2009, 7:50:22 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b73ce70
Parents:
bc7037c
git-author:
Sam Hartman <hartmans@mit.edu> (12/13/08 18:37:44)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/24/09 19:50:22)
Message:
Call perl_sys_init3

Closes debian #495056

This is necessary for libperl to work at all on several
architectures/OSes.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r924f7cd re8c6d8f  
    2020#include <locale.h>
    2121#include "owl.h"
     22
    2223
    2324#if OWL_STDERR_REDIR
     
    233234  owl_function_debugmsg("startup: processing config file");
    234235  owl_context_set_readconfig(owl_global_get_context(&g));
    235   perlerr=owl_perlconfig_initperl(configfile);
     236  perlerr=owl_perlconfig_initperl(configfile, &argc, &argv, &env);
    236237  if (perlerr) {
    237238    endwin();
  • perlconfig.c

    r1895c29 re8c6d8f  
    277277
    278278
    279 char *owl_perlconfig_initperl(char * file)
     279char *owl_perlconfig_initperl(char * file, int *Pargc, char ***Pargv, char *** Penv)
    280280{
    281281  int ret;
     
    285285
    286286  /* create and initialize interpreter */
     287  PERL_SYS_INIT3(Pargc, Pargv, Penv);
    287288  p=perl_alloc();
    288289  owl_global_set_perlinterp(&g, (void*)p);
Note: See TracChangeset for help on using the changeset viewer.