Changeset 371 for trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc
- Timestamp:
- May 25, 2012, 3:59:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc
r370 r371 63 63 64 64 #include "OS.h" 65 66 #ifdef __OS2__ 67 #define DT_SOCKET_DLL "jdtsock" 68 #else 69 #define DT_SOCKET_DLL "dt_socket" 70 #endif 65 71 66 72 #if MOZILLA_VERSION_COLLAPSED < 1090100 … … 473 479 goto cleanup_in_pipe; 474 480 } 475 PLUGIN_DEBUG ("ITNP_New: created input fifo: %d/%d\n", in_pipe [0], in_pipe[1]);481 PLUGIN_DEBUG ("ITNP_New: created input fifo: %d/%d\n", in_pipe [0], in_pipe [1]); 476 482 #else 477 483 // in_pipe_name … … 506 512 if (socketpair (AF_LOCAL, SOCK_STREAM, 0, out_pipe) == -1) 507 513 { 508 PLUGIN_ERROR_TWO ("Failed to create input pipe", strerror (errno));514 PLUGIN_ERROR_TWO ("Failed to create output pipe", strerror (errno)); 509 515 np_error = NPERR_GENERIC_ERROR; 510 516 goto cleanup_out_pipe; 511 517 } 512 PLUGIN_DEBUG ("ITNP_New: created output fifo: %d/%d\n", out_pipe [0], out_pipe[1]);518 PLUGIN_DEBUG ("ITNP_New: created output fifo: %d/%d\n", out_pipe [0], out_pipe [1]); 513 519 #else 514 520 // out_pipe_name … … 553 559 // out_to_appletviewer 554 560 #ifdef __OS2__ 555 out_to_appletviewer = g_io_channel_unix_new (out_pipe [0]);561 out_to_appletviewer = g_io_channel_unix_new (out_pipe [0]); 556 562 #else 557 563 out_to_appletviewer = g_io_channel_new_file (out_pipe_name, … … 1623 1629 if (plugin_debug_suspend) 1624 1630 { 1625 command_line[cmd_num++] = g_strdup("-Xrunjdwp:transport= dt_socket,address=8787,server=y,suspend=y");1631 command_line[cmd_num++] = g_strdup("-Xrunjdwp:transport="DT_SOCKET_DLL",address=8787,server=y,suspend=y"); 1626 1632 } else 1627 1633 { 1628 command_line[cmd_num++] = g_strdup("-Xrunjdwp:transport= dt_socket,address=8787,server=y,suspend=n");1634 command_line[cmd_num++] = g_strdup("-Xrunjdwp:transport="DT_SOCKET_DLL",address=8787,server=y,suspend=n"); 1629 1635 } 1630 1636 command_line[cmd_num++] = g_strdup("sun.applet.PluginMain");
Note:
See TracChangeset
for help on using the changeset viewer.