diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-13 07:09:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-13 07:09:22 +0000 |
commit | 63c2d86136db34b607ade96974565ed7d70532d6 (patch) | |
tree | 6fdd4854f0c82cc1f976fcc7d577bba181b588ec /utils | |
parent | 6cf54c27eb7c505e0bdc22437d0577343683e552 (diff) |
2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
* exec.c (map): Made global.
* priv.h: Declare it.
(map_fsize, map_vsize): New macros for accessing state set up by map.
* hashexec.c (check_hashbang): Use map and copying operations rather
than stdio to extract the first line from the file. Move finish call
to immediately after reading the line.
* exec.c (map): If E->file_data is set, diagnose EOF before going to
direct io_read.
(prepare_in_memory): New function, broken out of check_gzip before
last change.
(check_gzip, check_bzip2): Use it.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions