Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist Revert part of previous; fd is clos...



details:   https://anonhg.NetBSD.org/src/rev/aad126caade3
branches:  trunk
changeset: 342763:aad126caade3
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 07 21:11:54 2016 +0000

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

diffstat:

 external/bsd/mdocml/dist/read.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r cbd05a8c1ffc -r aad126caade3 external/bsd/mdocml/dist/read.c
--- a/external/bsd/mdocml/dist/read.c   Thu Jan 07 21:09:01 2016 +0000
+++ b/external/bsd/mdocml/dist/read.c   Thu Jan 07 21:11:54 2016 +0000
@@ -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 <kristaps%bsd.lv@localhost>
  * Copyright (c) 2010-2015 Ingo Schwarze <schwarze%openbsd.org@localhost>
@@ -613,8 +613,6 @@
 
 out:
        free(ln.buf);
-       if (fd != -1)
-               close(fd);
 }
 
 static int



Home | Main Index | Thread Index | Old Index