[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4119) illegal option char 'S' in args to getopt()



Thanks, fixed in HEAD.

peter@adpm.de wrote:
> Full_Name: Peter Marschall
> Version: 2.3.11
> OS: 
> URL: 
> Submission from: (NULL) (84.56.78.254)
>
>
> Hi,
>
> in servers/slapd/main.c the illegal option char 'S' is listed as legal
> option char in the arguments of getopt().
>
> The following patch fixes the issue:
>
> --- servers/slapd/main.c
> +++ servers/slapd/main.c        2005-10-28 19:11:04.000000000 +0200
> @@ -332,7 +332,7 @@
>  #endif
>
>         while ( (i = getopt( argc, argv,
> -                            "c:d:f:F:h:n:o:s:StT:V"
> +                            "c:d:f:F:h:n:o:s:tT:V"
>  #if LDAP_PF_INET6
>                                 "46"
>  #endif
>
>
>
>
>   


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/