From 660b06251835944880a88ef135e316537c017362 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Fri, 9 Feb 2007 19:10:52 +0000 Subject: Fix wrong handling command line arguments. Submitted by: Kouhei Sutou --- .../files/patch-qtpasswd.tproj-QTSSPasswd.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp (limited to 'net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp') 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) + { -- cgit v1.2.3