Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/user Pull up revision 1.34 (requested by wiz):
details: https://anonhg.NetBSD.org/src/rev/3b70b4ef8431
branches: netbsd-1-5
changeset: 490312:3b70b4ef8431
user: he <he%NetBSD.org@localhost>
date: Thu Dec 14 22:43:35 2000 +0000
description:
Pull up revision 1.34 (requested by wiz):
Don't try to create or move directory if only ``-d'' option is
given; documentation claims ``-m'' is also required.
diffstat:
usr.sbin/user/user.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 00e99f942fbc -r 3b70b4ef8431 usr.sbin/user/user.c
--- a/usr.sbin/user/user.c Wed Dec 13 23:12:20 2000 +0000
+++ b/usr.sbin/user/user.c Thu Dec 14 22:43:35 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: user.c,v 1.20.4.4 2000/11/05 01:18:41 tv Exp $ */
+/* $NetBSD: user.c,v 1.20.4.5 2000/12/14 22:43:35 he Exp $ */
/*
* Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -35,7 +35,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1999 \
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: user.c,v 1.20.4.4 2000/11/05 01:18:41 tv Exp $");
+__RCSID("$NetBSD: user.c,v 1.20.4.5 2000/12/14 22:43:35 he Exp $");
#endif
#include <sys/types.h>
@@ -1277,7 +1277,7 @@
break;
case 'd':
memsave(&u.u_home, optarg, strlen(optarg));
- u.u_flags |= (F_MKDIR | F_HOMEDIR);
+ u.u_flags |= F_HOMEDIR;
break;
case 'e':
defaultfield = 1;
@@ -1390,7 +1390,7 @@
break;
case 'd':
memsave(&u.u_home, optarg, strlen(optarg));
- u.u_flags |= (F_MKDIR | F_HOMEDIR);
+ u.u_flags |= F_HOMEDIR;
break;
case 'e':
memsave(&u.u_expire, optarg, strlen(optarg));
Home |
Main Index |
Thread Index |
Old Index