pspp-dev
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: Suggestions
From
:
Rémi Dewitte
Subject
:
Re: Suggestions
Date
:
Wed, 28 Jan 2009 12:07:42 +0100
Hello,
Working with pspp-0.6.1 I am glad it works fine. Nevertheless I encountered two minor issues for which I have patched a bit pspp.
First one is the ability to import CSV file with DOS endlines. I don't know whether it is the right place to trim the '\r'.
Second one is the ability to have long value labels. Is it an old limitation which could be removed ?
What do you think ?
diff -r -c pspp-0.6.1/src/data/data-in.c pspp-0.6.1.patched/src/data/
data-in.c
*** pspp-0.6.1/src/data/data-in.c 2008-06-09 06:37:38.000000000 +0200
--- pspp-0.6.1.patched/src/data/data-in.c 2009-01-28 12:00:00.000000000 +0100
***************
*** 1232,1238 ****
static bool
trim_spaces_and_check_missing (struct data_in *i)
{
! ss_trim (&i->input, ss_cstr (" "));
if (ss_is_empty (i->input) || ss_equals (i->input, ss_cstr (".")))
{
default_result (i);
--- 1232,1238 ----
static bool
trim_spaces_and_check_missing (struct data_in *i)
{
! ss_trim (&i->input, ss_cstr (" \r"));
if (ss_is_empty (i->input) || ss_equals (i->input, ss_cstr (".")))
{
default_result (i);
diff -r -c pspp-0.6.1/src/language/dictionary/value-labels.c pspp-0.6.1.patched/src/language/dictionary/value-labels.c
*** pspp-0.6.1/src/language/dictionary/value-labels.c 2008-06-09 06:37:38.000000000 +0200
--- pspp-0.6.1.patched/src/language/dictionary/value-labels.c 2009-01-20 12:49:34.000000000 +0100
***************
*** 181,188 ****
if (ds_length (&label) > 60)
{
! msg (SW, _("Truncating value label to 60 characters."));
! ds_truncate (&label, 60);
}
for (i = 0; i < var_cnt; i++)
--- 181,188 ----
if (ds_length (&label) > 60)
{
! msg (SW, _("Truncating value label to 60 characters. (Not doing it will fail ???)"));
! //ds_truncate (&label, 60);
}
for (i = 0; i < var_cnt; i++)
Rémi
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
Suggestions
,
Rémi Dewitte
,
2009/01/28
Re: Suggestions
,
Rémi Dewitte
<=
Re: Suggestions
,
John Darrington
,
2009/01/28
Re: Suggestions
,
Ben Pfaff
,
2009/01/29
Re: Suggestions
,
Rémi Dewitte
,
2009/01/29
Re: Suggestions
,
John Darrington
,
2009/01/29
Re: Suggestions
,
Rémi Dewitte
,
2009/01/29
Re: Suggestions
,
John Darrington
,
2009/01/30
Re: Suggestions
,
Ben Pfaff
,
2009/01/30
Value label length [Was Re: Suggestions]
,
John Darrington
,
2009/01/30
Re: Suggestions
,
Ben Pfaff
,
2009/01/29
Message not available
Re: Suggestions
,
Ben Pfaff
,
2009/01/30
Prev by Date:
[patch #6732] patch for interactions in covariance matrix
Next by Date:
Re: errors in snapshot merge-20090126 en 27
Previous by thread:
Suggestions
Next by thread:
Re: Suggestions
Index(es):
Date
Thread