xlog-discussion
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xlog-discussion] Re: adif exporting bug in xlog 0.8 ?


From: Stephane Fillod
Subject: [Xlog-discussion] Re: adif exporting bug in xlog 0.8 ?
Date: Mon, 11 Aug 2003 22:16:01 +0200
User-agent: Mutt/1.5.4i

CIAO Andrea,

On Mon, Aug 11, 2003 at 10:23:43AM +0200, Andrea Borgia wrote:
> >There's no 0.8 patch yesr for you Andrea, but if you're not using the free
> >fields, you may simply try to apply the attached patch which will
> >disable the broken U1/U2 replacement on ADIF export.
> 
> I'm not using the free fields but the patch does not apply to the 
> debianized sources. I'm attaching the relevant files for you to see.

Here is a simple patch to apply against log.c

73
Stephane


--- src/log.c   2003-08-11 22:07:56.000000000 +0200
+++ log.c       2003-08-11 22:10:26.000000000 +0200
@@ -216,10 +216,12 @@
       widths[i] = parse_field_width (fields[i]);
     }
 
+#if 0
   if (type == TYPE_ADIF)
     lp =
       log_file_create ("/tmp/xlog.adi", type, logw->columns, fields, widths);
   else
+#endif
     lp = log_file_create (logfile, type, logw->columns, fields, widths);
 
   if (lp)
@@ -232,6 +234,7 @@
          log_file_qso_append (lp, item);
        }
       log_file_close (lp);
+#if 0
       if (type == TYPE_ADIF)   /* search and replace U1 and U2 when using ADIF 
*/
        {
          ifp = fopen ("/tmp/xlog.adi", "r");
@@ -248,6 +251,7 @@
              fclose (ofp);
            }
        }
+#endif
     }
   else
     {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]