Module Name:    src
Committed By:   christos
Date:           Thu Jan  7 21:11:54 UTC 2016

Modified Files:
        src/external/bsd/mdocml/dist: read.c

Log Message:
Revert part of previous; fd is closed by readfd...


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/mdocml/dist/read.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/mdocml/dist/read.c
diff -u src/external/bsd/mdocml/dist/read.c:1.14 src/external/bsd/mdocml/dist/read.c:1.15
--- src/external/bsd/mdocml/dist/read.c:1.14	Thu Jan  7 15:11:57 2016
+++ src/external/bsd/mdocml/dist/read.c	Thu Jan  7 16:11:54 2016
@@ -1,4 +1,4 @@
-/*	$Id: read.c,v 1.14 2016/01/07 20:11:57 christos Exp $ */
+/*	$Id: read.c,v 1.15 2016/01/07 21:11:54 christos Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <krist...@bsd.lv>
  * Copyright (c) 2010-2015 Ingo Schwarze <schwa...@openbsd.org>
@@ -613,8 +613,6 @@ rerun:
 
 out:
 	free(ln.buf);
-	if (fd != -1)
-		close(fd);
 }
 
 static int

Reply via email to