[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pexec problem, schwab's patch



...worked for me. *However*, now I couldn't launch GEM applications
(shel_write) anymore. The following one *seems* to cure that:

diff -c -r orig/proc.c ./proc.c
*** orig/proc.c Tue Jul 27 16:37:52 1993
--- ./proc.c    Mon Aug 16 14:31:48 1993
***************
*** 140,146 ****
    }
  
  /* jr: copy ploadinfo */
!   strcpy (p->cmdlin, curproc->cmdlin);
    strcpy (p->fname, curproc->fname);
  
  /* clear directory search info */
--- 140,146 ----
    }
  
  /* jr: copy ploadinfo */
!   strncpy (p->cmdlin, curproc->cmdlin, (int) sizeof(p->cmdlin));
    strcpy (p->fname, curproc->fname);
  
  /* clear directory search info */


-- 
---------------------------------------------------
Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
 eMail: reschke@math.uni-muenster.de jr@ms.maus.de
___________________________________________________