1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/lib-src
Paul Eggert 23e64facf9 hexl: handle large files and I/O errors
* lib-src/hexl.c: Include inttypes.h, for PRIxMAX etc.
Do not include ctype.h, as the code no longer uses isdigit.
(DEFAULT_GROUPING, un_flag, iso_flag, group_by): Now local to ‘main’.
(DEFAULT_BASE, endian): Remove; was not really used.
(usage): Remove; now done by ‘main’, as that’s simpler.
(progname): Now static.
(output_error, hexchar): New functions.
(main): Use them.  Simplify.  Remove "-oct", "-big-endian", and
"-little-endian" options, as they did not work and were not used.
Use SET_BINARY only on stdin, and fopen with "rb" otherwise.
Use SET_BINARY only once on stdout.
Do not assume file offsets fit in ‘long’.
If an I/O error occurs, report it and exit with nonzero status.
2017-02-23 09:15:06 -08:00
..
ChangeLog.1 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
COPYING
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
emacsclient.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
etags.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
hexl.c hexl: handle large files and I/O errors 2017-02-23 09:15:06 -08:00
make-docfile.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
Makefile.in Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
movemail.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ntlib.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ntlib.h Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
pop.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
pop.h Update copyright year to 2017 2016-12-31 19:42:26 -08:00
profile.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rcs2log Fix copyright years by hand 2017-01-01 04:01:41 +00:00
README
update-game-score.c Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.