freebsd-ports/textproc/uim/files/patch-uim_bsdlook.c
MANTANI Nobutaka c3cb60dcf6 Update to 1.5.5.
PR:		ports/131014
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2009-02-21 14:08:14 +00:00

11 lines
334 B
C

--- ./uim/bsdlook.c.orig 2009-01-06 15:42:58.000000000 +0900
+++ ./uim/bsdlook.c 2009-01-23 03:01:10.000000000 +0900
@@ -166,7 +166,7 @@
if (!ctx)
return;
- if (ctx->front0 > 0 && munmap(ctx->front0, ctx->len) == -1)
+ if (!ctx->front0 && munmap(ctx->front0, ctx->len) == -1)
perror("uim_look_finish");
if (ctx->fd > 0)