user.c (2312) | user.c (8857) |
---|---|
1/* Copyright 1988,1990,1993,1994 by Paul Vixie 2 * All rights reserved 3 * 4 * Distribute freely, except: don't remove my name from the source or 5 * documentation (don't take credit for my work), mark your changes (don't 6 * get me blamed for your possible bugs), don't alter or remove this 7 * notice. May be sold if buildable source is provided to buyer. No 8 * warrantee of any kind, express or implied, is included with this 9 * software; use at your own risk, responsibility for damages (if any) to 10 * anyone resulting from the use of this software rests entirely with the 11 * user. 12 * 13 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and 14 * I'll try to keep a version up to date. I can be reached as follows: 15 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul 16 */ 17 18#if !defined(lint) && !defined(LINT) | 1/* Copyright 1988,1990,1993,1994 by Paul Vixie 2 * All rights reserved 3 * 4 * Distribute freely, except: don't remove my name from the source or 5 * documentation (don't take credit for my work), mark your changes (don't 6 * get me blamed for your possible bugs), don't alter or remove this 7 * notice. May be sold if buildable source is provided to buyer. No 8 * warrantee of any kind, express or implied, is included with this 9 * software; use at your own risk, responsibility for damages (if any) to 10 * anyone resulting from the use of this software rests entirely with the 11 * user. 12 * 13 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and 14 * I'll try to keep a version up to date. I can be reached as follows: 15 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul 16 */ 17 18#if !defined(lint) && !defined(LINT) |
19static char rcsid[] = "$Id: user.c,v 2.8 1994/01/15 20:43:43 vixie Exp $"; | 19static char rcsid[] = "$Id: user.c,v 1.1.1.1 1994/08/27 13:43:03 jkh Exp $"; |
20#endif 21 22/* vix 26jan87 [log is in RCS file] 23 */ 24 25 26#include "cron.h" 27 --- 34 unchanged lines hidden (view full) --- 62 Debug(DPARS, ("load_user()\n")) 63 64 /* file is open. build user entry, then read the crontab file. 65 */ 66 u = (user *) malloc(sizeof(user)); 67 u->name = strdup(name); 68 u->crontab = NULL; 69 | 20#endif 21 22/* vix 26jan87 [log is in RCS file] 23 */ 24 25 26#include "cron.h" 27 --- 34 unchanged lines hidden (view full) --- 62 Debug(DPARS, ("load_user()\n")) 63 64 /* file is open. build user entry, then read the crontab file. 65 */ 66 u = (user *) malloc(sizeof(user)); 67 u->name = strdup(name); 68 u->crontab = NULL; 69 |
70 /* | 70 /* |
71 * init environment. this will be copied/augmented for each entry. 72 */ 73 envp = env_init(); 74 75 /* 76 * load the crontab 77 */ 78 while ((status = load_env(envstr, file)) >= OK) { --- 24 unchanged lines hidden --- | 71 * init environment. this will be copied/augmented for each entry. 72 */ 73 envp = env_init(); 74 75 /* 76 * load the crontab 77 */ 78 while ((status = load_env(envstr, file)) >= OK) { --- 24 unchanged lines hidden --- |