+2007-07-24 Ben Pfaff <blp@gnu.org>
+
+ Fix bug #20427.
+ * por-file-writer.c (write_variables): Write weight variable.
+ Reviewed by John Darrington.
+
2007-07-23 Ben Pfaff <blp@gnu.org>
Improvements to system file reader and writer.
(write_zeros): New function.
(write_spaces): New function.
+ Reviewed by John Darrington.
+
2007-07-22 Ben Pfaff <blp@gnu.org>
Don't try to write very long strings to portable files. The
(write_value): Limit width of value written to MAX_POR_WIDTH.
(write_variables): Limit width of variable and its output formats
to MAX_POR_WIDTH.
+ Reviewed by John Darrington.
2007-07-22 Ben Pfaff <blp@gnu.org>
* sys-file-reader.c (read_variable_to_value_map): Use max_warnings
local variable instead of literal 5.
+ Reviewed by John Darrington.
2007-07-22 Ben Pfaff <blp@gnu.org>
(var_clear_short_name): Renamed var_clear_short_names, changed to
clear all short names.
+ Reviewed by John Darrington.
+
2007-07-22 Ben Pfaff <blp@gnu.org>
* variable.c (var_set_width): Use new var_set_width function.
* format.c (fmt_default_for_width): New function.
(fmt_resize): New function.
+ Reviewed by John Darrington.
+
2007-07-18 John Darrington <john@darrington.wattle.id.au>
* datasheet.c (datasheet_delete_columns): Added assertion to check
short_names_assign (dict);
+ if (dict_get_weight (dict) != NULL)
+ {
+ buf_write (w, "6", 1);
+ write_string (w, var_get_short_name (dict_get_weight (dict), 0));
+ }
+
buf_write (w, "4", 1);
write_int (w, dict_get_var_cnt (dict));
write_int (w, 161);