From: pjk Date: Thu, 13 May 2004 18:57:57 +0000 (+0000) Subject: Do not kill trailing spaces - breaks data list list where the last variable(s) on... X-Git-Tag: v0.4.0~262 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aaf5919aa5709fa6cfa710652143635a68bdbfb;p=pspp-builds.git Do not kill trailing spaces - breaks data list list where the last variable(s) on a line are empty --- diff --git a/src/dfm.c b/src/dfm.c index 9f620294..910bb32c 100644 --- a/src/dfm.c +++ b/src/dfm.c @@ -461,8 +461,8 @@ read_record (struct file_handle *h) reason, I'm sure. I'm too scared to eliminate this code. */ if (handle_get_mode (h) == MODE_TEXT) { - while (ext->len && isspace ((unsigned char) ext->line[ext->len - 1])) - ext->len--; + /* while (ext->len && isspace ((unsigned char) ext->line[ext->len - 1])) + ext->len--;*/ /* Convert tabs to spaces. */