diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-12 19:36:51 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-12 19:36:51 +0000 |
commit | 222bd8934b0a658592bec2bbb34a5f318536c5c7 (patch) | |
tree | 7f3e486cdb4852bd69f59008620d44e12e70ecb7 /ChangeLog | |
parent | 80877e6a3801ec40a98c70b95c8d54770a0d6260 (diff) | |
download | coreutils-222bd8934b0a658592bec2bbb34a5f318536c5c7.tar.xz |
Support longer page numbers in "pr", and allow most file names starting
with "+".
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +2004-11-12 Paul Eggert <eggert@cs.ucla.edu> + + * NEWS: Document the following change. + * src/pr.c (strtoumax): Declare if not declared. + (skip_to_page, first_page_number, last_page_number, page_number, + first_last_page, print_header): + Use uintmax_t for page numbers. + (first_last_page): Remove unnecessary forward declaration. + Do not modify arg (it is now a const pointer). + Return a true if successful, false (without print a diagnostic) + otherwise. + (main): If +XXX does not specify a valid page range, treat it + as a file name. This follows the response to Open Group XCU ERN 41 + <http://www.opengroup.org/sophocles/show_mail.tpl?source=L&listname=austin-group-l&id=7717>, + which says the behavior is allowed. + (skip_to_page): When starting page number exceeds page count, + print both numbers in the diagnostic. + (print_header): Detect page number overflow. + 2004-11-07 Jim Meyering <jim@meyering.net> * Version 5.3.0. |