|
| From: | Pamme Crandall |
| Subject: | help with file attachments |
| Date: | Thu, 14 Apr 2005 16:42:10 -0600 |
|
I’m having trouble viewing file attachments using
gnatsweb 4.0 and gnats 4.1, and I was wondering if anyone knows what might be
going wrong. We’ve entered the following command as administrator.
perl
-MCPAN -e 'install MIME::Base64' I modified the pr.c file using Yngve Svendsen’s some of Yngve Svendsen’s code (below)that I found. Then I ran the Makefile. I can add an attachment and its path shows up in the email that gets sent to gnats-admin, but I don’t seem to be able to view the file. Does anyone have any suggestions?Thanks for your help.Pamme
---------------------------------------------------------------------------------------------------------------------------------------- Index: pr.c===================================================================RCS file: /cvs/gnats/gnats/gnats/pr.c,vretrieving revision 1.57diff -u -p -r1.57 pr.c--- pr.c 2000/08/23 19:55:22 1.57+++ pr.c 2001/03/22 21:51:58@@ -435,9 +435,11 @@ addLineToPR (PR *pr, char *buffer, char /* Insert a space if there isn't one already. */ if (prv->multiFieldIndex == UNFORMATTED (pr->database) && line[0] != ' ')++ /* YS: */ {- prv->buffer[prv->bufferLen] = ' ';- prv->bufferLen++;+ /* prv->buffer[prv->bufferLen] = ' '; */+ /* prv->bufferLen++; */ } memcpy (prv->buffer + prv->bufferLen, line, linelen); prv->bufferLen += linelen;
----------------------------------------------------------------------------------------------------------------------- |
| [Prev in Thread] | Current Thread | [Next in Thread] |