projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pspp: Avoid printing multiple messages for a single signal caused by a bug.
[pspp]
/
src
/
language
/
data-io
/
combine-files.c
diff --git
a/src/language/data-io/combine-files.c
b/src/language/data-io/combine-files.c
index 644051804e40f3932c9dd2065b38f587d4bd0b2b..fd57beced05ff7f45630294b802baf7aa9daf325 100644
(file)
--- a/
src/language/data-io/combine-files.c
+++ b/
src/language/data-io/combine-files.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2006, 2007, 2008, 2009
, 2010
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-378,12
+378,12
@@
combine_files (enum comb_command_type command,
}
if (n_tables)
{
}
if (n_tables)
{
- msg (SE, _("BY is required when
TABLE is specified.")
);
+ msg (SE, _("BY is required when
%s is specified."), "TABLE"
);
goto error;
}
if (saw_sort)
{
goto error;
}
if (saw_sort)
{
- msg (SE, _("BY is required when
SORT is specified.")
);
+ msg (SE, _("BY is required when
%s is specified."), "SORT"
);
goto error;
}
}
goto error;
}
}
@@
-562,7
+562,7
@@
merge_dictionary (struct dictionary *const m, struct comb_file *f)
ds_put_format (&s, _("In an earlier file, %s was a string "
"variable with width %d."),
var_name, var_get_width (mv));
ds_put_format (&s, _("In an earlier file, %s was a string "
"variable with width %d."),
var_name, var_get_width (mv));
- msg (SE, ds_cstr (&s));
+ msg (SE,
"%s",
ds_cstr (&s));
ds_destroy (&s);
return false;
}
ds_destroy (&s);
return false;
}
@@
-575,7
+575,7
@@
merge_dictionary (struct dictionary *const m, struct comb_file *f)
var_set_label (mv, var_get_label (dv));
}
else
var_set_label (mv, var_get_label (dv));
}
else
- mv = dict_clone_var_assert (m, dv
, var_get_name (dv)
);
+ mv = dict_clone_var_assert (m, dv);
}
return true;
}
return true;