public inbox for
 help / color / mirror / Atom feed
From: "Pamme Crandall" <>
To: <>
Subject: help with file attachments
Date: Thu, 14 Apr 2005 22:55:00 -0000	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1.1: Type: text/plain, Size: 1680 bytes --]

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.




Index: pr.c
RCS file: /cvs/gnats/gnats/gnats/pr.c,v
retrieving revision 1.57
diff -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;


[-- Attachment #1.2: Type: text/html, Size: 9257 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

Help-gnats mailing list

                 reply	other threads:[~2005-04-14 22:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).