ports/net/DarwinStreamingServer/files/patch-qtpasswd.tproj-QTSSPasswd.cpp
Norikatsu Shigemura 660b062518 Fix wrong handling command line arguments.
Submitted by:	Kouhei Sutou <kou@cozmixng.org>
2007-02-09 19:10:52 +00:00

11 lines
395 B
C++

--- 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)
{