Hey all, while reading the ref doc I found a few description errors. BTW, on function descriptions it's unpleasant to find "this is the same as..." , it's nicer to copy the description thereof.
Patch follows, ## # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: [email protected] # target_branch: file:///home/gerel/PROJECTS/libgnupdf/trunk/ # testament_sha1: c4e3c675750c4e614b69df35af941be386bc3828 # timestamp: 2009-04-19 16:11:41 -0300 # base_revision_id: jema...@termi-20090416221338-b8nyznfgedla5ys9 # # Begin patch === modified file 'ChangeLog' --- ChangeLog 2009-04-16 22:13:38 +0000 +++ ChangeLog 2009-04-19 19:11:34 +0000 @@ -1,3 +1,7 @@ +2009-04-19 Gerardo E. Gidoni <[email protected]> + + * doc/gnupdf.texi: corrected pdf_stm_write/flush return descriptions. + 2009-04-17 Jose E. Marchesi <[email protected]> * Time module bugfixes and an initial set of unit tests by Lukasz === modified file 'doc/gnupdf.texi' --- doc/gnupdf.texi 2009-03-03 22:26:28 +0000 +++ doc/gnupdf.texi 2009-04-19 19:11:34 +0000 @@ -4464,13 +4464,13 @@ A PDF status value: @table @code @item PDF_OK -All the requested bytes were successfully read into @var{buf}. +All the requested bytes were successfully written into @var{stm}. @item PDF_EEOF A disk full condition occurred. @item PDF_EINVOP Writting was requested in a read stream. @item PDF_ERROR -An error prevented to read the bytes. +An error prevented to write the bytes. @end table @item Usage example @example @@ -4560,8 +4560,17 @@ flushed bytes. May be @code{0}. @end table @item Returns -A PDF status value. The possible values are the same than the exit -status of @code{pdf_stm_write}. +A PDF status value: +...@table @code +...@item PDF_OK +All the requested bytes were successfully written into @var{stm}. +...@item PDF_EEOF +A disk full condition occurred. +...@item PDF_EINVOP +Writting was requested in a read stream. +...@item PDF_ERROR +An error prevented to write the bytes. +...@end table @item Usage example @example XXX # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWejuGj8AAjXfgAAwUXP//3+t 0YC////6UAUMvUAGtKaD0B4SiTQamp6Q2p+oaT01NMyTGoBo0A0A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