summaryrefslogtreecommitdiff
path: root/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2007-02-09 19:10:52 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2007-02-09 19:10:52 +0000
commit660b06251835944880a88ef135e316537c017362 (patch)
tree7bdbcb26524d9dea3d71c7511e08f2858d55d62e /net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp
parentadjust OPTIONS handling (diff)
Fix wrong handling command line arguments.
Submitted by: Kouhei Sutou <kou@cozmixng.org>
Diffstat (limited to 'net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp')
-rw-r--r--net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp b/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp
new file mode 100644
index 000000000000..6094928a28e4
--- /dev/null
+++ b/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp
@@ -0,0 +1,11 @@
+--- qtpasswd.tproj/QTSSPasswd.cpp.orig Fri May 20 04:03:22 2005
++++ qtpasswd.tproj/QTSSPasswd.cpp Sat Feb 10 04:05:38 2007
+@@ -720,7 +720,7 @@
+ extern int optind;
+
+ /* Read command line arguments */
+- while ((ch = getopt(argc, argv, "O:f:cg:r:p:P:A:D:C:R:dFhv?")) != EOF)
++ while ((ch = getopt(argc, argv, "O:f:cg:r:p:P:A:D:C:R:dFhv?")) != -1)
+ {
+ switch(ch)
+ {