On 03-Apr-97 David S. Goldberg wrote:
>
> I take it you're still using 2.0.42? This (mis)feature was expunged
> in 2.0.43....
> [...]
> 16. Removed implicit Exec exec stuff for the time being...
Bummer. Actually, I've been using 2.0.45 since it came out, but I had
overlooked that note in the ChangeLog. Maybe that'll teach me to read mailing
lists at 2:00 a.m. But probably not.
Hmmm...was there any other problem with the (mis)feature than a tendency to
trip over leading blanks and try to Exec exec exec....? If not, then this
little patch should fix it up.
-------------------------------------------------------------------------------
*** fvwm-2.0.45/fvwm/builtins.c Wed Jan 22 08:37:28 1997
--- patched/builtins.c Thu Apr 3 21:14:07 1997
***************
*** 843,851 ****
/* if it doesn't already have an 'exec' as the first word, add that
* to keep down number of procs started */
! /* need to parse string better to do this right though, so not doing this
! for now... */
! if (0 && mystrncasecmp(action,"exec",4)!=0)
{
cmd = (char *)safemalloc(strlen(action)+6);
strcpy(cmd,"exec ");
--- 843,851 ----
/* if it doesn't already have an 'exec' as the first word, add that
* to keep down number of procs started */
! /* Skip leading spaces, don't Exec exec exec... */
! GetNextToken(action, &cmd);
! if ( mystrncasecmp(cmd,"exec",4)!=0)
{
cmd = (char *)safemalloc(strlen(action)+6);
strcpy(cmd,"exec ");
-------------------------------------------------------------------------------
- Bob
exec is exec is exec
- gertrude stein
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Apr 03 1997 - 21:32:25 BST