Todd Fries writes:
 > don't apply that patch I just submitted.  Somehow it causes fvwm to
 > seg fault for me....when I am in an environment where I can run
 > gdb on the window manager, I will try to see why it does...unless
 > someone on the list wants to point out the obvious mistake I
 > should be seeing..
strdup(NULL) chokes at least on Linux, whereas on HP-UX it works
like strdup("").
Something like 
        #define strdup_safe(s) ((s)?strdup(s):NULL)
should do what you inteded.
--
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 Wed May 08 1996 - 08:41:01 BST