summaryrefslogtreecommitdiff
path: root/net/xorp/files/patch-popen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/xorp/files/patch-popen.cc')
-rw-r--r--net/xorp/files/patch-popen.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/xorp/files/patch-popen.cc b/net/xorp/files/patch-popen.cc
new file mode 100644
index 000000000000..a0274f8d4251
--- /dev/null
+++ b/net/xorp/files/patch-popen.cc
@@ -0,0 +1,11 @@
+--- libxorp/popen.cc.orig 2018-07-10 12:54:42 UTC
++++ libxorp/popen.cc
+@@ -424,7 +424,7 @@ popen2(const string& command, const list
+ int
+ pclose2(FILE *iop_out, bool dont_wait)
+ {
+- register struct pid_s *cur, *last;
++ struct pid_s *cur, *last;
+ int pstat = 0;
+ pid_t pid = 0;
+