[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU PSPP 0.6.2pre3 now available
From: |
michel |
Subject: |
Re: GNU PSPP 0.6.2pre3 now available |
Date: |
Fri, 03 Jul 2009 23:58:38 -0300 |
User-agent: |
RoundCube Webmail/0.2 |
Hello,
Seems like output_file_name is calling itself recursively, when it should
be using the default
name for the output file. This patch should fix it:
diff --git a/src/ui/gui/output-viewer.c b/src/ui/gui/output-viewer.c
index 4bcd580..6b02557 100644
--- a/src/ui/gui/output-viewer.c
+++ b/src/ui/gui/output-viewer.c
@@ -285,7 +285,7 @@ output_file_name (void)
static char *filename = NULL;
if ( NULL == filename )
- filename = xasprintf ("%s%s", dir, output_file_name ());
+ filename = xasprintf ("%s%s", dir, OUTPUT_FILE_NAME);
return filename;
diff --git a/src/ui/gui/output-viewer.h b/src/ui/gui/output-viewer.h
index e5bf5c1..7115488 100644
--- a/src/ui/gui/output-viewer.h
+++ b/src/ui/gui/output-viewer.h
@@ -22,6 +22,7 @@
#include "window-manager.h"
+#define OUTPUT_FILE_NAME "psppire.txt"
extern int viewer_length ;
extern int viewer_width ;
- GNU PSPP 0.6.2pre2 now available, Ben Pfaff, 2009/07/03
- GNU PSPP 0.6.2pre3 now available, Ben Pfaff, 2009/07/03
- Re: GNU PSPP 0.6.2pre3 now available, michel, 2009/07/03
- Re: GNU PSPP 0.6.2pre3 now available,
michel <=
- Re: GNU PSPP 0.6.2pre3 now available, Matej Cepl, 2009/07/04
- Re: GNU PSPP 0.6.2pre3 now available, Matej Cepl, 2009/07/05
- Re: GNU PSPP 0.6.2pre3 now available, Ben Pfaff, 2009/07/05
- Re: GNU PSPP 0.6.2pre3 now available, Ben Pfaff, 2009/07/06
- Re: GNU PSPP 0.6.2pre3 now available, Matěj Cepl, 2009/07/06
- Re: GNU PSPP 0.6.2pre3 now available, Ben Pfaff, 2009/07/06
- bug in GCC 4.4 on sparc64 (was: Re: GNU PSPP 0.6.2pre3 now available), Ben Pfaff, 2009/07/07
- Re: bug in GCC 4.4 on sparc64 (was: Re: GNU PSPP 0.6.2pre3 now available), Matej Cepl, 2009/07/07
- Re: GNU PSPP 0.6.2pre3 now available, Ben Pfaff, 2009/07/08
Re: GNU PSPP 0.6.2pre3 now available, John Darrington, 2009/07/07