commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-commons-sandbox/daemon/src/native/nt/procrun procrun.c
Date Mon, 28 Apr 2003 12:55:17 GMT
mturk       2003/04/28 05:55:17

  Modified:    daemon/src/native/nt/procrun procrun.c
  Log:
  Fix the event settings for update service.
  
  Revision  Changes    Path
  1.16      +4 -3      jakarta-commons-sandbox/daemon/src/native/nt/procrun/procrun.c
  
  Index: procrun.c
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/procrun.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- procrun.c	28 Apr 2003 11:49:25 -0000	1.15
  +++ procrun.c	28 Apr 2003 12:55:17 -0000	1.16
  @@ -1782,7 +1782,7 @@
   
       if (proc->java.opts) {
           int l = strlen(proc->java.opts);
  -        /* change the string to zero separated for MULYI_SZ */
  +        /* change the string to zero separated for MULTI_SZ */
           for (i = 0; i < l; i ++) {
               if (proc->java.opts[i] == '#')
                   proc->java.opts[i] = '\0';
  @@ -2058,7 +2058,6 @@
       
       save_service_params(proc,java);
   
  -//    SetEvent(proc->events[0]);
       return 0;
   }
   
  @@ -2422,8 +2421,10 @@
                   rv = procrun_install_service9x(env->m, argc, argv);
               break;
           case PROCRUN_CMD_UPDATE_SERVICE:
  -            if (g_is_windows_nt)
  +            if (g_is_windows_nt) {
                   rv = procrun_update_service(env->m, argc, argv);
  +                SetEvent(env->m->events[0]);
  +            }
               else {
                 // rv = procrun_update_service9x(env->m, argc, argv);
                   rv = -1;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message