/[inetutils]/inetutils/inetd/inetd.c
ViewVC logotype

Diff of /inetutils/inetd/inetd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by alainm, Sun Aug 26 22:11:26 2001 UTC revision 1.25 by ams, Mon Apr 29 21:02:54 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 1983, 1991, 1993, 1994   * Copyright (c) 1983, 1991, 1993, 1994, 2002
3   *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
4   *   *
5   * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
# Line 127  static char sccsid[] = "@(#)inetd.c    8.4 Line 127  static char sccsid[] = "@(#)inetd.c    8.4
127  #endif  #endif
128  #include <grp.h>  #include <grp.h>
129    
 #include <version.h>  
   
130  #define TOOMANY         40              /* don't start more than TOOMANY */  #define TOOMANY         40              /* don't start more than TOOMANY */
131  #define CNT_INTVL       60              /* servers in CNT_INTVL sec. */  #define CNT_INTVL       60              /* servers in CNT_INTVL sec. */
132  #define RETRYTIME       (60*10)         /* retry after bind or server fail */  #define RETRYTIME       (60*10)         /* retry after bind or server fail */
# Line 264  usage (int err) Line 262  usage (int err)
262        --help                Display this help and exit\n\        --help                Display this help and exit\n\
263    -V, --version             Output version information and exit");    -V, --version             Output version information and exit");
264    
265        fprintf (stdout, "\nSubmit bug reports to %s.\n", inetutils_bugaddr);        fprintf (stdout, "\nSubmit bug reports to %s.\n", PACKAGE_BUGREPORT);
266      }      }
267    exit (err);    exit (err);
268  }  }
# Line 327  main (int argc, char *argv[], char *envp Line 325  main (int argc, char *argv[], char *envp
325            /* Not reached.  */            /* Not reached.  */
326    
327          case 'V': /* Version.  */          case 'V': /* Version.  */
328            printf ("inetd (%s) %s\n", inetutils_package, inetutils_version);            printf ("inetd (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
329            exit (0);            exit (0);
330            /* Not reached.  */            /* Not reached.  */
331    

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26