Source-Changes-HG archive

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

[src/trunk]: src/libexec/ftpd volatile for gcc 5



details:   https://anonhg.NetBSD.org/src/rev/6c658c30b56d
branches:  trunk
changeset: 814356:6c658c30b56d
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 17 00:17:58 2016 +0000

description:
volatile for gcc 5

diffstat:

 libexec/ftpd/popen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2c850b95a462 -r 6c658c30b56d libexec/ftpd/popen.c
--- a/libexec/ftpd/popen.c      Thu Mar 17 00:15:27 2016 +0000
+++ b/libexec/ftpd/popen.c      Thu Mar 17 00:17:58 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: popen.c,v 1.37 2010/03/20 18:23:30 christos Exp $      */
+/*     $NetBSD: popen.c,v 1.38 2016/03/17 00:17:58 christos Exp $      */
 
 /*-
  * Copyright (c) 1999-2009 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 #if 0
 static char sccsid[] = "@(#)popen.c    8.3 (Berkeley) 4/6/94";
 #else
-__RCSID("$NetBSD: popen.c,v 1.37 2010/03/20 18:23:30 christos Exp $");
+__RCSID("$NetBSD: popen.c,v 1.38 2016/03/17 00:17:58 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -107,7 +107,7 @@
 FILE *
 ftpd_popen(const char *argv[], const char *ptype, int stderrfd)
 {
-       FILE *iop;
+       FILE * volatile iop;
        int argc, pdes[2], pid;
        volatile int isls;
        char **pop;



Home | Main Index | Thread Index | Old Index