martin      98/07/14 02:57:58

  Modified:    src/main http_main.c
  Log:
  Adjust SHARED_CORE main() code to accept the same options as the "real" main.
  Especially -D <name> and -t were rejected.
  
  Reviewed by: Ralf Engelschall
  
  Revision  Changes    Path
  1.374     +4 -1      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.373
  retrieving revision 1.374
  diff -u -u -r1.373 -r1.374
  --- http_main.c       1998/07/14 09:49:10     1.373
  +++ http_main.c       1998/07/14 09:57:56     1.374
  @@ -5607,8 +5607,9 @@
        * but only handle the -L option 
        */
       llp_dir = SHARED_CORE_DIR;
  -    while ((c = getopt(argc, argv, "C:c:Xd:f:vVhlL:Z:")) != -1) {
  +    while ((c = getopt(argc, argv, "D:C:c:Xd:f:vVhlL:SZ:t")) != -1) {
        switch (c) {
  +     case 'D':
        case 'C':
        case 'c':
        case 'X':
  @@ -5618,7 +5619,9 @@
        case 'V':
        case 'h':
        case 'l':
  +     case 'S':
        case 'Z':
  +     case 't':
        case '?':
            break;
        case 'L':
  
  
  

Reply via email to