Source-Changes-HG archive

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

[src/trunk]: src/bin/sh s/FD_SETFD/F_SETFD/



details:   https://anonhg.NetBSD.org/src/rev/3d5b3c7d1495
branches:  trunk
changeset: 550974:3d5b3c7d1495
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Tue Aug 26 18:12:33 2003 +0000

description:
s/FD_SETFD/F_SETFD/

diffstat:

 bin/sh/jobs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 09319fefe364 -r 3d5b3c7d1495 bin/sh/jobs.c
--- a/bin/sh/jobs.c     Tue Aug 26 17:54:33 2003 +0000
+++ b/bin/sh/jobs.c     Tue Aug 26 18:12:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: jobs.c,v 1.58 2003/08/07 09:05:33 agc Exp $    */
+/*     $NetBSD: jobs.c,v 1.59 2003/08/26 18:12:33 jmmv Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)jobs.c     8.5 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: jobs.c,v 1.58 2003/08/07 09:05:33 agc Exp $");
+__RCSID("$NetBSD: jobs.c,v 1.59 2003/08/26 18:12:33 jmmv Exp $");
 #endif
 #endif /* not lint */
 
@@ -167,7 +167,7 @@
 #ifdef FIOCLEX
                err = ioctl(ttyfd, FIOCLEX, 0);
 #elif FD_CLOEXEC
-               err = fcntl(ttyfd, FD_SETFD,
+               err = fcntl(ttyfd, F_SETFD,
                    fcntl(ttyfd, F_GETFD, 0) | FD_CLOEXEC);
 #endif
                if (err == -1) {



Home | Main Index | Thread Index | Old Index