public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* help with file attachments
@ 2005-04-14 22:55 Pamme Crandall
  0 siblings, 0 replies; only message in thread
From: Pamme Crandall @ 2005-04-14 22:55 UTC (permalink / raw)
  To: Help-gnats


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-14 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-14 22:55 help with file attachments Pamme Crandall

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).