From: "Pamme Crandall" <crandall@lasp.colorado.edu>
To: <Help-gnats@gnu.org>
Subject: help with file attachments
Date: Thu, 14 Apr 2005 22:55:00 -0000 [thread overview]
Message-ID: <200504142242.j3EMgpbe017722@edgar1.colorado.edu> (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.
Pamme
----------------------------------------------------------------------------
------------------------------------------------------------
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
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504142242.j3EMgpbe017722@edgar1.colorado.edu \
--to=crandall@lasp.colorado.edu \
--cc=Help-gnats@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).