1 From 048a484b313ddd7054c8d3dcb9b9dc508bc1689b Mon Sep 17 00:00:00 2001
2 From: Johannes Schindelin <johannes.schindelin@gmx.de>
3 Date: Mon, 7 Dec 2009 17:21:52 +0100
4 Subject: [PATCH 3/6] On Windows, we do not have fork()
6 Unfortunately, that means that we cannot easily uncompress if it is
9 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 src/compress.c | 5 +++++
12 1 files changed, 5 insertions(+), 0 deletions(-)
14 diff --git a/src/compress.c b/src/compress.c
15 index b220d2e..d17c18b 100644
18 @@ -380,6 +380,10 @@ uncompressbuf(struct magic_set *ms, int fd, size_t method,
20 return uncompressgzipped(ms, old, newch, n);
23 + file_printf(ms, "Cannot uncompress (fork) on Windows");
29 @@ -493,4 +497,5 @@ err: