Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit https://bugzilla.redhat.com/show_bug.cgi?id=575383
details: https://anonhg.NetBSD.org/src/rev/0dd8f12f61d0
branches: trunk
changeset: 753325:0dd8f12f61d0
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 22 22:59:06 2010 +0000
description:
https://bugzilla.redhat.com/show_bug.cgi?id=575383
Handle EINTR properly.
diffstat:
lib/libedit/read.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0f88340a8350 -r 0dd8f12f61d0 lib/libedit/read.c
--- a/lib/libedit/read.c Mon Mar 22 22:41:59 2010 +0000
+++ b/lib/libedit/read.c Mon Mar 22 22:59:06 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.54 2009/12/31 15:58:26 christos Exp $ */
+/* $NetBSD: read.c,v 1.55 2010/03/22 22:59:06 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: read.c,v 1.54 2009/12/31 15:58:26 christos Exp $");
+__RCSID("$NetBSD: read.c,v 1.55 2010/03/22 22:59:06 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -173,7 +173,7 @@
return (e ? 0 : -1);
case EINTR:
- return (-1);
+ return (0);
default:
return (-1);
Home |
Main Index |
Thread Index |
Old Index