Deleted Added
full compact
yppasswdd_main.c (90253) yppasswdd_main.c (90297)
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
35 "$FreeBSD: head/usr.sbin/rpc.yppasswdd/yppasswdd_main.c 90253 2002-02-05 18:51:13Z alfred $";
35 "$FreeBSD: head/usr.sbin/rpc.yppasswdd/yppasswdd_main.c 90297 2002-02-06 13:30:31Z des $";
36#endif /* not lint */
37
38#include "yppasswd.h"
39#include <stdio.h>
40#include <sys/types.h>
41#include <stdlib.h> /* getenv, exit */
42#include <unistd.h>
43#include <string.h>

--- 120 unchanged lines hidden (view full) ---

164 char *mastername;
165 char myname[MAXHOSTNAMELEN + 2];
166
167 extern int debug;
168
169 debug = 1;
170
171 while ((ch = getopt(argc, argv, "t:d:p:sfamuivh")) != -1) {
36#endif /* not lint */
37
38#include "yppasswd.h"
39#include <stdio.h>
40#include <sys/types.h>
41#include <stdlib.h> /* getenv, exit */
42#include <unistd.h>
43#include <string.h>

--- 120 unchanged lines hidden (view full) ---

164 char *mastername;
165 char myname[MAXHOSTNAMELEN + 2];
166
167 extern int debug;
168
169 debug = 1;
170
171 while ((ch = getopt(argc, argv, "t:d:p:sfamuivh")) != -1) {
172 switch(ch) {
172 switch (ch) {
173 case 't':
174 passfile_default = optarg;
175 break;
176 case 'd':
177 yppasswd_domain = optarg;
178 break;
179 case 's':
180 no_chsh++;

--- 148 unchanged lines hidden ---
173 case 't':
174 passfile_default = optarg;
175 break;
176 case 'd':
177 yppasswd_domain = optarg;
178 break;
179 case 's':
180 no_chsh++;

--- 148 unchanged lines hidden ---