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/9b58fba1ae18
branches:  trunk
changeset: 344214:9b58fba1ae18
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 530c661cfea5 -r 9b58fba1ae18 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