1 From 0624a5047bfe5e7bb26ee58f721f9329dc647851 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 10b2158..40b11bd 100644
18 @@ -382,6 +382,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 @@ -495,4 +499,5 @@ err: