summaryrefslogtreecommitdiff
path: root/usr/src/cmd/cron
diff options
context:
space:
mode:
authorDaniel Hoffman <dj.hoffman@delphix.com>2017-02-17 11:48:20 -0800
committerMatthew Ahrens <mahrens@delphix.com>2017-02-22 11:43:07 -0800
commit48bbca816818409505a6e214d0911fda44e622e3 (patch)
tree7b823654982b246c7df6ae378d344139fde35b51 /usr/src/cmd/cron
parente40108ff341f07fe03e96c751c6cf2cb5867d1a8 (diff)
downloadillumos-joyent-48bbca816818409505a6e214d0911fda44e622e3.tar.gz
7812 Remove gender specific language
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Steve Gonczi <steve.gonczi@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/cron')
-rw-r--r--usr/src/cmd/cron/at.c3
-rw-r--r--usr/src/cmd/cron/atq.c9
-rw-r--r--usr/src/cmd/cron/atrm.c7
-rw-r--r--usr/src/cmd/cron/cron.c5
4 files changed, 14 insertions, 10 deletions
diff --git a/usr/src/cmd/cron/at.c b/usr/src/cmd/cron/at.c
index 68769c2f8a..128f041462 100644
--- a/usr/src/cmd/cron/at.c
+++ b/usr/src/cmd/cron/at.c
@@ -24,6 +24,7 @@
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -602,7 +603,7 @@ copy(char *jobfile, FILE *inputfile, int when)
/*
* Fix for 1053807:
* Determine what shell we should use to run the job. If the user
- * didn't explicitly request that his/her current shell be over-
+ * didn't explicitly request that their current shell be over-
* ridden (shflag or cshflag), then we use the current shell.
*/
if (cshflag)
diff --git a/usr/src/cmd/cron/atq.c b/usr/src/cmd/cron/atq.c
index efa5ba4c34..34cfb9e98e 100644
--- a/usr/src/cmd/cron/atq.c
+++ b/usr/src/cmd/cron/atq.c
@@ -1,6 +1,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -229,7 +230,7 @@ countfiles(uid_t *uidlist, int nuids)
* For each file in the queue, see if the user(s) own the file. We
* have to use "entryfound" (rather than simply incrementing "numfiles")
* so that if a person's name appears twice on the command line we
- * don't double the number of files owned by him/her.
+ * don't double the number of files owned by that user.
*/
for (i = 0; i < numentries; i++) {
if ((stat(queue[i]->d_name, &stbuf)) < 0) {
@@ -276,7 +277,7 @@ printqueue(uid_t *uidlist, int nuids)
* belonging to that person(s), otherwise print the entire queue.
* Once again, we have to use "entryfound" (rather than simply
* comparing each command line argument) so that if a person's name
- * appears twice we don't print each file owned by him/her twice.
+ * appears twice we don't print each of their files twice.
*
*
* "printrank", "printdate", and "printjobname" all take existing
@@ -316,7 +317,7 @@ printqueue(uid_t *uidlist, int nuids)
}
/*
- * Get the uid of a person using his/her login name. Return -1 if no
+ * Get the uid of a person using their login name. Return -1 if no
* such account name exists.
*/
uid_t
@@ -333,7 +334,7 @@ getid(char *name)
}
/*
- * Get the full login name of a person using his/her user id.
+ * Get the full login name of a person using their user id.
*/
char *
getname(uid_t uid)
diff --git a/usr/src/cmd/cron/atrm.c b/usr/src/cmd/cron/atrm.c
index d67d4d88c8..46e58fcf0f 100644
--- a/usr/src/cmd/cron/atrm.c
+++ b/usr/src/cmd/cron/atrm.c
@@ -1,6 +1,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -185,7 +186,7 @@ main(int argc, char **argv)
continue;
/*
- * if argv is a username, compare his/her uid to
+ * if argv is a username, compare their uid to
* the uid of the owner of the file......
*/
if (pwd = getpwnam(*argv)) {
@@ -240,7 +241,7 @@ usage(void)
* print the job number that we are removing and the result of the access
* check (either "permission denied" or "removed"). If we are running
* interactively (iflag), prompt the user before we unlink the file. If
- * the super-user is removing jobs, inform him/her who owns each file before
+ * the super-user is removing jobs, inform them who owns each file before
* it is removed. Return TRUE if file removed, else FALSE.
*/
int
@@ -370,7 +371,7 @@ getjoblist(struct dirent ***namelistp, struct stat ***statlistp,
}
/*
- * Get the full login name of a person using his/her user id.
+ * Get the full login name of a person using their user id.
*/
char *
getname(uid_t uid)
diff --git a/usr/src/cmd/cron/cron.c b/usr/src/cmd/cron/cron.c
index ab36d09037..55df389cd7 100644
--- a/usr/src/cmd/cron/cron.c
+++ b/usr/src/cmd/cron/cron.c
@@ -25,6 +25,7 @@
* Copyright 2013 Joshua M. Clulow <josh@sysmgr.org>
*
* Copyright (c) 2014 Gary Mills
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -1452,7 +1453,7 @@ next_field(int lower, int upper)
* if (numbers in this field are out of range (lower..upper),
* or there is a syntax error) then
* NULL is returned, and a mail message is sent to the
- * user telling him which line the error was in.
+ * user telling them which line the error was in.
*/
char *s;
@@ -2391,7 +2392,7 @@ ex(struct event *e)
}
/*
- * set correct user identification and check his account
+ * set correct user identification and check their account
*/
r = set_user_cred(e->u, pproj);
if (r == VUC_EXPIRED) {