[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog src/devices/grops/ps.cpp
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog src/devices/grops/ps.cpp |
Date: |
Thu, 09 Mar 2006 18:11:43 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 06/03/09 18:11:43
Modified files:
. : ChangeLog
src/devices/grops: ps.cpp
Log message:
* src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
ps_printer::do_mdef): Overlong lines now cause a warning message,
not an error.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/ChangeLog.diff?tr1=1.922&tr2=1.923&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/devices/grops/ps.cpp.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.922 groff/ChangeLog:1.923
--- groff/ChangeLog:1.922 Thu Mar 9 07:25:41 2006
+++ groff/ChangeLog Thu Mar 9 18:11:43 2006
@@ -1,3 +1,9 @@
+2006-03-10 Werner LEMBERG <address@hidden>
+
+ * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
+ ps_printer::do_mdef): Overlong lines now cause a warning message,
+ not an error.
+
2006-03-09 Werner LEMBERG <address@hidden>
* font/devps/generate/make-zapfdr: New script for generating
Index: groff/src/devices/grops/ps.cpp
diff -u groff/src/devices/grops/ps.cpp:1.14 groff/src/devices/grops/ps.cpp:1.15
--- groff/src/devices/grops/ps.cpp:1.14 Wed Mar 8 21:54:11 2006
+++ groff/src/devices/grops/ps.cpp Thu Mar 9 18:11:43 2006
@@ -1591,10 +1591,9 @@
error("missing argument to X exec command");
return;
}
- if (!check_line_lengths(arg)) {
- error("lines in X exec command must not be more than 255 characters long");
- return;
- }
+ if (!check_line_lengths(arg))
+ warning("lines in X exec command must"
+ " not be more than 255 characters long");
out.put_fix_number(env->hpos)
.put_fix_number(env->vpos)
.put_symbol("EBEGIN")
@@ -1641,10 +1640,9 @@
flush_sbuf();
while (csspace(*arg))
arg++;
- if (!check_line_lengths(arg)) {
- error("lines in X def command must not be more than 255 characters long");
- return;
- }
+ if (!check_line_lengths(arg))
+ warning("lines in X def command must"
+ " not be more than 255 characters long");
defs += arg;
if (*arg != '\0' && strchr(arg, '\0')[-1] != '\n')
defs += '\n';
@@ -1669,10 +1667,9 @@
arg = p;
while (csspace(*arg))
arg++;
- if (!check_line_lengths(arg)) {
- error("lines in X mdef command must not be more than 255 characters long");
- return;
- }
+ if (!check_line_lengths(arg))
+ warning("lines in X mdef command must"
+ " not be more than 255 characters long");
defs += arg;
if (*arg != '\0' && strchr(arg, '\0')[-1] != '\n')
defs += '\n';
- [Groff-commit] groff ./ChangeLog src/devices/grops/ps.cpp,
Werner LEMBERG <=