+
+2001-09-10 jeff b <jeff@univrel.pr.uconn.edu>
+
+ * etc/afpd/afp_options.c, etc/atalkd/main.c, etc/papd/main.c:
+ added version reporting with -v switch
+
+2001-09-06 jeff b <jeff@univrel.pr.uconn.edu>
+
+ * etc/atalkd/main.c, etc/papd/main.c, etc/psf/psf.c,
+ libatalk/asp/asp_getsess.c, libatalk/dsi/dsi_getsess.c,
+ libatalk/pap/pap_slinit.c, libatalk/util/server_child.c:
+ autoconf POSIX.1 sys/wait.h check
+
+ * lots of files: AC_HEADER_STDC autoconf changes
+
+ * sys/netatalk/endian.h: used autoconf endian test instead
+ of manually checking every architecture
+
2001-09-05 joe c <marcus@marcuscom.com>
+
* libatalk/cnid/cnid_open.c: comment out DB_JOINENV as this is not
supported in db3 3.1.17
/*
- * $Id: afp_options.c,v 1.9 2001-09-06 20:00:59 rufustfirefly Exp $
+ * $Id: afp_options.c,v 1.10 2001-09-10 18:27:14 rufustfirefly Exp $
*
* Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
* Copyright (c) 1990,1993 Regents of The University of Michigan.
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif /* MIN */
-#define OPTIONS "dn:f:s:uc:g:P:ptDS:TL:F:U:I"
+#define OPTIONS "dn:f:s:uc:g:P:ptDS:TL:F:U:Iv"
#define LENGTH 512
/* return an option. this uses an internal array, so it's necessary
case 'U':
options->uamlist = optarg;
break;
+ case 'v': /* version */
+ printf( 'afpd (version %s)\n', VERSION );
+ exit ( 1 );
+ break;
case 'I':
options->flags |= OPTION_CUSTOMICON;
default :
/*
- * $Id: main.c,v 1.8 2001-09-06 19:04:39 rufustfirefly Exp $
+ * $Id: main.c,v 1.9 2001-09-10 18:27:14 rufustfirefly Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
char *prog;
;
- while (( c = getopt( ac, av, "12qsdtf:P:" )) != EOF ) {
+ while (( c = getopt( ac, av, "12qsdtf:P:v" )) != EOF ) {
switch ( c ) {
case '1' :
defphase = IFACE_PHASE1;
pidfile = optarg;
break;
+ case 'v' : /* version */
+ printf( 'atalkd (version %s)\n', version );
+ exit ( 1 );
+ break;
+
default :
fprintf( stderr, "Unknown option -- '%c'\n", c );
exit( 1 );
/*
- * $Id: main.c,v 1.11 2001-09-06 20:00:59 rufustfirefly Exp $
+ * $Id: main.c,v 1.12 2001-09-10 18:27:14 rufustfirefly Exp $
*
* Copyright (c) 1990,1995 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
defprinter.p_pagecost_msg = NULL;
defprinter.p_lock = "lock";
- while (( c = getopt( ac, av, "adf:p:P:" )) != EOF ) {
+ while (( c = getopt( ac, av, "adf:p:P:v" )) != EOF ) {
switch ( c ) {
case 'a' : /* for compatibility with old papd */
break;
pidfile = optarg;
break;
+ case 'v' : /* version */
+ printf( 'papd (version %s)\n', VERSION );
+ exit ( 1 );
+ break;
+
default :
fprintf( stderr,
"Usage:\t%s [ -d ] [ -f conffile ] [ -p printcap ]\n",