summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-13 07:10:40 +0000
committerRoland McGrath <roland@gnu.org>2000-03-13 07:10:40 +0000
commitba58c0ae52705837efb7610d2226a1cee1693a7c (patch)
treebc3c8d56a62d323f66ff57e568151852a78f2fe6
parent5471f96e2f27924f2e55e379f4a6159e45a12a32 (diff)
.
-rw-r--r--exec/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/exec/ChangeLog b/exec/ChangeLog
index 439cc79e..70c4fad6 100644
--- a/exec/ChangeLog
+++ b/exec/ChangeLog
@@ -1,5 +1,18 @@
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.
+
* exec.c (prepare_stream): New function, broken out of prepare.
(prepare): Call it.
[_STDIO_USES_IOSTREAM]: Do #error if this is defined.