(unknown charset) FVWM: FVWM 2.0.43 drops characters after blank line

From: (unknown charset) Larry Daffner <ldaffner_at_buttons.rsn.hp.com>
Date: Mon, 22 Jul 1996 17:18:19 -0500

I'm using fvwm-2.0.43 under HP/UX 10.01 on an HP 712, using a locally
compiled version of X11R6.1, and it eats the first character of a line
following a blank line. The following change fixes the problem.

-Larry
Keep up the good work!

*** fvwm-2.0.43/fvwm/read.c Mon Jul 8 10:51:29 1996
--- fvwm-2.0.43l/fvwm/read.c Mon Jul 22 17:05:33 1996
***************
*** 144,150 ****
    {
      int l;
      while(tline && (l=strlen(line))<sizeof(line) &&
! line[l-1]=='\n' && line[l-2]=='\\')
      {
        tline = fgets(line+l-2,sizeof(line)-l,fd);
      }
--- 144,150 ----
    {
      int l;
      while(tline && (l=strlen(line))<sizeof(line) &&
! line[l-1]=='\n' && ((strlen(line) > 1) && line[l-2]=='\\'))
      {
        tline = fgets(line+l-2,sizeof(line)-l,fd);
      }
--
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 Mon Jul 22 1996 - 17:19:24 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST