Module Name: src
Committed By: christos
Date: Thu Mar 17 00:17:58 UTC 2016
Modified Files:
src/libexec/ftpd: popen.c
Log Message:
volatile for gcc 5
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/libexec/ftpd/popen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ftpd/popen.c
diff -u src/libexec/ftpd/popen.c:1.37 src/libexec/ftpd/popen.c:1.38
--- src/libexec/ftpd/popen.c:1.37 Sat Mar 20 14:23:30 2010
+++ src/libexec/ftpd/popen.c Wed Mar 16 20:17:58 2016
@@ -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 @@ extern int ls_main(int, char *[]);
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;