/[gcjwebplugin]/gcjwebplugin/src/gcjwebplugin.cc
ViewVC logotype

Diff of /gcjwebplugin/src/gcjwebplugin.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27 by fitzsim, Wed Aug 25 07:23:08 2004 UTC revision 1.28 by mkoch, Wed Nov 24 08:06:23 2004 UTC
# Line 501  NP_Initialize(NPNetscapeFuncs* browserTa Line 501  NP_Initialize(NPNetscapeFuncs* browserTa
501    pluginTable->urlnotify = NewNPP_URLNotifyProc(GCJ_URLNotify);    pluginTable->urlnotify = NewNPP_URLNotifyProc(GCJ_URLNotify);
502    pluginTable->getvalue = NewNPP_GetValueProc(GCJ_GetValue);    pluginTable->getvalue = NewNPP_GetValueProc(GCJ_GetValue);
503    
504      // Add install prefix to PATH.
505      char *searchpath = getenv("PATH");
506      char *newpath = NULL;
507      
508      if (searchpath != NULL)
509        {
510          newpath = strcat(searchpath, ":/home/mkoch/local/gcjwebplugin/bin");
511        }
512      else
513        {
514          newpath = "/home/mkoch/local/gcjwebplugin/bin";
515        }
516    
517      setenv("PATH", newpath, 1);
518      
519    // Create named pipes.    // Create named pipes.
520    gchar *pipename_in = g_strdup_printf ("/tmp/gcjwebplugin-%i-in", getpid ());    gchar *pipename_in = g_strdup_printf ("/tmp/gcjwebplugin-%i-in", getpid ());
521    gchar *pipename_out = g_strdup_printf ("/tmp/gcjwebplugin-%i-out", getpid ());    gchar *pipename_out = g_strdup_printf ("/tmp/gcjwebplugin-%i-out", getpid ());

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26