X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2FChangeLog;h=c4a4e011bec528dce260521b4c1805c5848389f5;hb=8021cf8974a46fe82af7b8952e448c0ea6858a48;hp=99793d356a0bd2f0d2e9c5752b67998d5188f0f5;hpb=fad7434e2db08ed248228e03533b314b8335ef2f;p=pspp-builds.git diff --git a/src/data/ChangeLog b/src/data/ChangeLog index 99793d35..c4a4e011 100644 --- a/src/data/ChangeLog +++ b/src/data/ChangeLog @@ -1,3 +1,24 @@ +2007-05-06 Ben Pfaff + + Abstract the documents within a dictionary a little better. + Thanks to John Darrington for suggestion, initial version, and + review. Patch #5917. + + * dictionary.c (struct dictionary): Change `documents' member from + char * to struct string. + (dict_clear): Destroy struct string. + (dict_get_documents): Convert struct string to char *. + (dict_set_documents): Set struct string. Pad to 80-character + multiple. + (dict_clear_documents): New function. + (dict_add_document_line): New function. + (dict_get_document_line_cnt): New function. + (dict_get_document_line): New function. + + * dictionary.h (macro DOC_LINE_LENGTH): New macro. + + * sys-file-reader.c (read_documents): Use new document functions. + 2007-04-19 John Darrington * sys-file-reader.c: When reading a system file which has no