* PATCH: Long paragraphs are lost during PR edits
@ 2001-04-30 8:25 Yngve Svendsen
0 siblings, 0 replies; only message in thread
From: Yngve Svendsen @ 2001-04-30 8:25 UTC (permalink / raw)
To: gnats-devel
Gnats 3.113 has a nasty bug where, when you edit a PR containing text
paragraphs of more than 512 characters, these paragraphs are discarded by
gnatsd. They simply vanish from the PR.
This is caused by the #define MAXLINE 512 in gnats/query.h
I have increased this to 16384 (16kB), and the problem disappeared. The
following patch against the tip of the v3 branch does this:
2001-04-30 Yngve Svendsen <yngve.svendsen@clustra.com>
* query.h: Increase MAXLINE to 16384
Index: query.h
===================================================================
RCS file: /cvs/gnats/gnats/gnats/query.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 query.h
--- query.h 1998/11/05 19:54:10 1.1.1.1
+++ query.h 2001/04/30 15:09:47
@@ -42,7 +42,7 @@ Software Foundation, 59 Temple Place - S
/* Query the gnats config file. */
#define LIST_CONFIG (1<<6)
-#define MAXLINE 512
+#define MAXLINE 16384
/* How we should print out the format of the PR. */
extern unsigned int query_format;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-30 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 8:25 PATCH: Long paragraphs are lost during PR edits Yngve Svendsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).