aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 14:39:31 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 14:39:31 +0300
commit89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad (patch)
tree0619d977ce4ceecca0523f20a0609a293440e030 /lib/libc/gen
parent0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f (diff)
downloadotools-89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad.tar.gz
update CVS
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/CVS/Entries233
-rw-r--r--lib/libc/gen/CVS/Repository1
-rw-r--r--lib/libc/gen/CVS/Root1
-rw-r--r--lib/libc/gen/fts.c10
4 files changed, 240 insertions, 5 deletions
diff --git a/lib/libc/gen/CVS/Entries b/lib/libc/gen/CVS/Entries
new file mode 100644
index 0000000..1305aa3
--- /dev/null
+++ b/lib/libc/gen/CVS/Entries
@@ -0,0 +1,233 @@
+/Makefile.inc/1.82/Mon Sep 2 21:18:40 2019//
+/__tfork_thread.3/1.4/Wed May 11 21:52:49 2016//
+/alarm.3/1.15/Thu Jan 28 22:11:39 2016//
+/alarm.c/1.9/Fri Jun 28 13:32:41 2019//
+/assert.c/1.9/Sat Sep 12 15:18:40 2015//
+/auth_subr.3/1.24/Sat Dec 21 06:01:09 2019//
+/auth_subr.c/1.55/Mon Jul 6 13:33:06 2020//
+/authenticate.3/1.18/Wed Mar 30 06:58:06 2016//
+/authenticate.c/1.28/Wed Dec 4 06:25:45 2019//
+/basename.3/1.24/Fri Jan 25 00:19:25 2019//
+/basename.c/1.16/Fri Jan 25 00:19:25 2019//
+/cgetent.3/1.1/Mon Sep 2 21:18:41 2019//
+/charclass.h/1.2/Fri Jan 25 00:19:25 2019//
+/clock.3/1.8/Wed Jun 5 03:39:22 2013//
+/clock.c/1.6/Fri Jan 16 16:48:51 2015//
+/clock_getcpuclockid.3/1.3/Thu Jan 15 19:26:27 2015//
+/clock_getcpuclockid.c/1.1/Mon Jun 17 19:11:54 2013//
+/closedir.c/1.10/Sat Sep 12 13:34:22 2015//
+/confstr.3/1.20/Tue Jan 21 03:15:45 2014//
+/confstr.c/1.10/Thu Mar 7 06:00:18 2013//
+/ctermid.3/1.10/Tue Jan 21 03:15:45 2014//
+/ctermid.c/1.8/Mon Aug 31 02:53:57 2015//
+/ctype_.c/1.12/Sat Sep 19 04:02:21 2015//
+/daemon.3/1.13/Wed May 18 11:41:16 2016//
+/daemon.c/1.7/Tue Jul 27 22:29:09 2010//
+/devname.3/1.8/Wed Jun 5 03:39:22 2013//
+/devname.c/1.13/Wed Jul 6 04:35:12 2016//
+/dirfd.c/1.3/Sat Sep 12 13:34:22 2015//
+/dirname.3/1.23/Fri Mar 8 17:33:23 2019//
+/dirname.c/1.16/Fri Jan 25 00:19:25 2019//
+/disklabel.c/1.24/Sun Oct 25 16:35:40 2015//
+/err.3/1.21/Thu May 16 13:35:16 2019//
+/err.c/1.12/Mon Aug 31 02:53:57 2015//
+/errc.c/1.2/Mon Aug 31 02:53:57 2015//
+/errlist.c/1.19/Tue Sep 5 03:06:26 2017//
+/errno.c/1.6/Sat May 7 19:05:22 2016//
+/errx.c/1.11/Mon Aug 31 02:53:57 2015//
+/exec.c/1.23/Sun Mar 13 18:34:20 2016//
+/execv.3/1.1/Sun Aug 11 15:48:08 2019//
+/fabs.3/1.3/Thu Jul 18 10:14:48 2013//
+/fdatasync.c/1.1/Mon Apr 15 16:38:21 2013//
+/fnmatch.3/1.16/Tue Jan 21 03:15:45 2014//
+/fnmatch.c/1.22/Fri Mar 13 03:25:45 2020//
+/fpclassify.3/1.5/Thu Mar 10 08:38:34 2016//
+/fpclassify.c/1.9/Tue Oct 27 05:54:49 2015//
+/fpgetmask.3/1.10/Mon Sep 14 15:14:55 2015//
+/frexp.3/1.13/Wed Jun 5 03:39:22 2013//
+/frexp.c/1.10/Wed Jul 3 04:46:36 2013//
+/fstab.c/1.22/Thu Mar 17 23:48:42 2016//
+/ftok.3/1.17/Sat Nov 15 22:22:09 2014//
+/ftok.c/1.9/Fri Jun 28 13:32:41 2019//
+/fts_open.3/1.1/Mon Sep 2 21:18:41 2019//
+/ftw.3/1.14/Mon Sep 2 21:18:41 2019//
+/ftw.c/1.6/Fri Jan 25 00:19:25 2019//
+/getbsize.3/1.10/Wed Jun 5 03:39:22 2013//
+/getbsize.c/1.11/Mon Aug 31 02:53:57 2015//
+/getcap.c/1.35/Wed Jul 3 03:24:04 2019//
+/getcwd.3/1.21/Fri Jul 5 12:55:36 2019//
+/getcwd.c/1.21/Sat May 7 19:48:00 2016//
+/getdiskbyname.3/1.11/Wed Jun 5 03:39:22 2013//
+/getdomainname.3/1.26/Fri Jan 12 04:36:44 2018//
+/getdomainname.c/1.9/Sat Sep 12 14:56:50 2015//
+/getfsent.3/1.13/Tue Jan 21 03:15:45 2014//
+/getgrent.3/1.24/Fri Aug 30 23:35:40 2019//
+/getgrent.c/1.48/Tue Jul 2 15:54:05 2019//
+/getgrouplist.3/1.17/Wed Jun 5 03:39:22 2013//
+/getgrouplist.c/1.28/Tue Jul 2 15:54:05 2019//
+/gethostname.3/1.28/Fri Jan 12 04:36:44 2018//
+/gethostname.c/1.9/Sat Sep 12 14:56:50 2015//
+/getloadavg.3/1.14/Fri Jan 12 04:36:44 2018//
+/getloadavg.c/1.8/Fri Jun 28 13:32:41 2019//
+/getlogin.c/1.15/Sat Aug 12 22:59:52 2017//
+/getmntinfo.3/1.14/Fri Apr 27 13:42:08 2018//
+/getmntinfo.c/1.11/Fri Jun 28 13:32:41 2019//
+/getnetgrent.3/1.14/Wed Jun 5 03:39:22 2013//
+/getnetgrent.c/1.28/Sat Sep 24 12:43:37 2016//
+/getpagesize.3/1.11/Wed Jun 5 03:39:22 2013//
+/getpagesize.c/1.9/Sun Mar 20 02:32:40 2016//
+/getpass.3/1.18/Sat Sep 3 12:47:28 2016//
+/getprogname.3/1.5/Tue May 5 14:37:20 2015//
+/getpwent.3/1.32/Tue Aug 21 20:20:04 2018//
+/getpwent.c/1.63/Tue Jul 2 15:54:05 2019//
+/getpwnam.3/1.13/Tue Aug 21 20:20:04 2018//
+/getttyent.3/1.12/Wed Jun 5 03:39:22 2013//
+/getttyent.c/1.15/Sun Sep 13 11:47:54 2015//
+/getusershell.3/1.14/Wed Jun 5 03:39:22 2013//
+/getusershell.c/1.18/Tue Dec 10 02:35:16 2019//
+/glob.3/1.37/Thu May 16 13:35:16 2019//
+/glob.c/1.49/Tue Apr 21 08:25:22 2020//
+/initgroups.3/1.16/Thu Feb 5 02:33:09 2015//
+/initgroups.c/1.11/Fri Jun 28 13:32:41 2019//
+/isalnum.3/1.12/Tue Sep 5 03:16:13 2017//
+/isalpha.3/1.13/Tue Sep 5 03:16:13 2017//
+/isascii.3/1.13/Wed Jul 17 05:42:11 2013//
+/isatty.c/1.11/Sat Sep 12 14:56:50 2015//
+/isblank.3/1.13/Tue Sep 5 03:16:13 2017//
+/iscntrl.3/1.13/Wed Oct 4 18:19:25 2017//
+/isctype.c/1.12/Sun Sep 13 11:38:08 2015//
+/isdigit.3/1.12/Tue Sep 5 03:16:13 2017//
+/isfdtype.3/1.10/Fri Jan 25 00:19:25 2019//
+/isfdtype.c/1.5/Fri Jan 25 00:19:25 2019//
+/isfinite.c/1.8/Wed Jul 3 04:46:36 2013//
+/isgraph.3/1.12/Tue Sep 5 03:16:13 2017//
+/isgreater.3/1.4/Tue Aug 29 15:03:37 2017//
+/isinf.c/1.10/Tue Nov 12 06:09:48 2013//
+/islower.3/1.13/Tue Sep 5 03:16:13 2017//
+/isnan.c/1.9/Tue Nov 12 06:09:48 2013//
+/isnormal.c/1.8/Wed Jul 3 04:46:36 2013//
+/isprint.3/1.12/Tue Sep 5 03:16:13 2017//
+/ispunct.3/1.12/Tue Sep 5 03:16:13 2017//
+/isspace.3/1.14/Tue Sep 5 03:16:13 2017//
+/isupper.3/1.14/Tue Sep 5 03:16:13 2017//
+/isxdigit.3/1.11/Tue Sep 5 03:16:13 2017//
+/ldexp.3/1.8/Wed Jun 5 03:39:22 2013//
+/ldexp.c/1.10/Tue Oct 27 05:54:49 2015//
+/lockf.3/1.13/Wed Jun 5 03:39:22 2013//
+/lockf.c/1.5/Thu Jun 26 05:42:05 2008//
+/login_cap.3/1.17/Tue Nov 10 23:48:18 2015//
+/login_cap.c/1.38/Fri Oct 18 17:14:08 2019//
+/modf.3/1.12/Wed Jun 5 03:39:22 2013//
+/modf.c/1.6/Wed Jul 3 04:46:36 2013//
+/nftw.c/1.8/Fri Jan 25 00:19:25 2019//
+/nice.3/1.18/Thu Jul 18 10:14:48 2013//
+/nice.c/1.7/Mon Aug 8 08:05:34 2005//
+/nlist.3/1.14/Sat Feb 8 01:09:57 2020//
+/nlist.c/1.71/Fri Jun 28 13:32:41 2019//
+/opendir.3/1.1/Mon Sep 2 21:18:41 2019//
+/opendir.c/1.30/Wed Sep 21 04:38:56 2016//
+/pause.3/1.14/Wed Sep 23 08:52:56 2015//
+/pause.c/1.7/Fri Jan 25 00:19:25 2019//
+/popen.3/1.20/Fri Feb 5 18:09:20 2016//
+/popen.c/1.22/Fri Jun 28 13:32:41 2019//
+/posix_spawn.3/1.9/Tue Oct 17 22:47:58 2017//
+/posix_spawn.c/1.10/Fri Jun 28 13:32:41 2019//
+/posix_spawn_file_actions_addopen.3/1.8/Sun Nov 30 02:41:43 2014//
+/posix_spawn_file_actions_init.3/1.8/Sun Nov 30 02:41:43 2014//
+/posix_spawnattr_getflags.3/1.9/Sun Nov 30 02:41:43 2014//
+/posix_spawnattr_getpgroup.3/1.9/Mon May 29 09:40:02 2017//
+/posix_spawnattr_init.3/1.8/Sun Nov 30 02:41:43 2014//
+/psignal.3/1.14/Thu May 16 13:35:16 2019//
+/psignal.c/1.10/Mon Aug 31 02:53:57 2015//
+/pw_dup.3/1.10/Fri Jan 25 00:19:25 2019//
+/pw_dup.c/1.9/Fri Jan 25 00:19:25 2019//
+/pwcache.c/1.15/Sat Sep 22 02:47:23 2018//
+/raise.3/1.11/Thu Jan 29 01:46:30 2015//
+/raise.c/1.8/Tue Nov 10 04:30:59 2015//
+/readdir.c/1.22/Sat Sep 12 13:34:22 2015//
+/readdir_r.c/1.6/Tue Nov 12 20:19:23 2013//
+/readpassphrase.3/1.21/Fri Jan 25 00:19:25 2019//
+/readpassphrase.c/1.27/Fri Jan 25 00:19:25 2019//
+/rewinddir.c/1.12/Sat Aug 12 22:59:52 2017//
+/scandir.3/1.15/Mon Sep 2 21:18:41 2019//
+/scandir.c/1.21/Fri Jun 28 13:32:41 2019//
+/seekdir.c/1.13/Sat Sep 12 13:34:22 2015//
+/setdomainname.c/1.9/Fri Jan 16 16:48:51 2015//
+/sethostname.c/1.9/Fri Jan 16 16:48:51 2015//
+/setjmp.3/1.25/Mon May 23 00:18:56 2016//
+/setmode.3/1.14/Wed Jun 5 03:39:22 2013//
+/setmode.c/1.22/Sat Oct 11 04:14:35 2014//
+/setproctitle.3/1.18/Wed Jun 5 03:39:22 2013//
+/setproctitle.c/1.15/Sun Mar 13 18:34:20 2016//
+/setprogname.c/1.6/Sun Sep 17 06:38:03 2017//
+/shm_open.3/1.5/Tue May 5 06:29:15 2015//
+/shm_open.c/1.9/Sun Sep 10 18:20:00 2017//
+/sigaddset.3/1.1/Mon May 29 09:40:02 2017//
+/siginterrupt.3/1.14/Wed Jun 5 03:39:22 2013//
+/siginterrupt.c/1.9/Fri Jun 28 13:32:41 2019//
+/siglist.c/1.8/Sat Sep 19 04:02:21 2015//
+/signal.3/1.56/Tue Aug 1 14:57:02 2017//
+/signal.c/1.11/Fri Jun 28 13:32:41 2019//
+/signame.c/1.7/Sat Sep 19 04:02:21 2015//
+/signbit.c/1.7/Wed Jul 3 04:46:36 2013//
+/sigsetops.c/1.7/Sat Sep 12 16:46:12 2015//
+/sigwait.3/1.2/Sun Jan 13 16:16:43 2019//
+/sigwait.c/1.1/Sat Jan 12 00:16:03 2019//
+/sleep.3/1.16/Sat Feb 8 01:09:57 2020//
+/sleep.c/1.12/Mon Dec 14 05:10:13 2009//
+/statvfs.3/1.8/Thu Jan 29 01:46:30 2015//
+/statvfs.c/1.2/Fri Jan 16 16:48:51 2015//
+/strtofflags.3/1.7/Wed Jun 5 03:39:22 2013//
+/strtofflags.c/1.7/Thu Aug 20 21:49:29 2015//
+/sysconf.3/1.35/Sun Aug 11 15:48:08 2019//
+/sysconf.c/1.26/Thu Jul 12 01:23:38 2018//
+/syslog.3/1.36/Wed Feb 5 12:35:19 2020//
+/syslog.c/1.33/Sat Oct 31 02:57:16 2015//
+/syslog_r.c/1.19/Tue Aug 8 14:23:23 2017//
+/telldir.c/1.18/Sat Sep 12 13:34:22 2015//
+/telldir.h/1.10/Thu Aug 27 04:37:09 2015//
+/time.3/1.16/Thu Jan 29 01:46:30 2015//
+/time.c/1.9/Mon Jul 6 13:33:06 2020//
+/times.3/1.15/Fri Mar 2 16:35:58 2018//
+/times.c/1.10/Mon Jul 6 13:33:06 2020//
+/timespec_get.3/1.3/Wed Oct 31 17:05:54 2018//
+/timespec_get.c/1.2/Mon Jul 6 13:33:06 2020//
+/toascii.3/1.8/Wed Jun 5 03:39:22 2013//
+/tolower.3/1.14/Tue Sep 5 03:16:13 2017//
+/tolower_.c/1.11/Sat Sep 19 04:02:21 2015//
+/toupper.3/1.16/Tue Sep 5 03:16:13 2017//
+/toupper_.c/1.12/Sat Sep 19 04:02:21 2015//
+/tree.c/1.2/Tue Oct 9 08:28:43 2018//
+/ttyname.3/1.19/Tue Nov 12 05:12:15 2013//
+/ttyname.c/1.20/Fri Apr 14 15:02:51 2017//
+/ttyslot.c/1.8/Tue Nov 12 06:07:12 2013//
+/ualarm.3/1.17/Fri Jul 26 12:08:18 2019//
+/ualarm.c/1.7/Mon Aug 8 08:05:34 2005//
+/uname.3/1.16/Fri Jan 12 04:36:44 2018//
+/uname.c/1.11/Sat Aug 27 03:55:43 2016//
+/unvis.3/1.18/Sun Nov 9 04:34:20 2014//
+/user_from_uid.3/1.1/Mon Sep 2 21:18:41 2019//
+/usleep.3/1.19/Wed Jun 5 03:39:22 2013//
+/usleep.c/1.10/Mon Aug 8 08:05:34 2005//
+/utime.3/1.22/Thu Jan 29 01:46:30 2015//
+/utime.c/1.5/Mon Aug 8 08:05:34 2005//
+/valloc.3/1.15/Mon Nov 5 10:31:32 2018//
+/valloc.c/1.5/Mon Aug 8 08:05:34 2005//
+/verr.c/1.11/Sun Mar 13 18:34:20 2016//
+/verrc.c/1.3/Sun Mar 13 18:34:20 2016//
+/verrx.c/1.11/Sun Mar 13 18:34:20 2016//
+/vis.3/1.36/Fri Mar 16 16:58:26 2018//
+/vwarn.c/1.11/Sun Mar 13 18:34:20 2016//
+/vwarnx.c/1.11/Sun Mar 13 18:34:20 2016//
+/wait.c/1.6/Sun Oct 25 19:15:56 2015//
+/wait3.c/1.6/Sun Oct 25 19:15:56 2015//
+/waitpid.c/1.7/Sun Oct 25 19:15:56 2015//
+/warn.c/1.11/Mon Aug 31 02:53:57 2015//
+/warnx.c/1.10/Mon Aug 31 02:53:57 2015//
+/fts.c/1.60/Result of merge//
+/getprogname.c/1.4/Mon Oct 19 10:52:42 2020//
+/unvis.c/1.17/Mon Oct 19 10:52:42 2020//
+/vis.c/1.25/Mon Oct 19 10:52:42 2020//
+/vwarnc.c/1.3/Mon Oct 19 10:52:42 2020//
+/warnc.c/1.2/Mon Oct 19 10:52:42 2020//
+D
diff --git a/lib/libc/gen/CVS/Repository b/lib/libc/gen/CVS/Repository
new file mode 100644
index 0000000..2c0edda
--- /dev/null
+++ b/lib/libc/gen/CVS/Repository
@@ -0,0 +1 @@
+src/lib/libc/gen
diff --git a/lib/libc/gen/CVS/Root b/lib/libc/gen/CVS/Root
new file mode 100644
index 0000000..3811072
--- /dev/null
+++ b/lib/libc/gen/CVS/Root
@@ -0,0 +1 @@
+/cvs
diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
index 982dd87..eb332c6 100644
--- a/lib/libc/gen/fts.c
+++ b/lib/libc/gen/fts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fts.c,v 1.59 2019/06/28 13:32:41 deraadt Exp $ */
+/* $OpenBSD: fts.c,v 1.60 2021/01/08 16:06:30 tb Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -45,7 +45,7 @@
#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b))
-static FTSENT *fts_alloc(FTS *, char *, size_t);
+static FTSENT *fts_alloc(FTS *, const char *, size_t);
static FTSENT *fts_build(FTS *, int);
static void fts_lfree(FTSENT *);
static void fts_load(FTS *, FTSENT *);
@@ -54,7 +54,7 @@ static void fts_padjust(FTS *, FTSENT *);
static int fts_palloc(FTS *, size_t);
static FTSENT *fts_sort(FTS *, FTSENT *, int);
static u_short fts_stat(FTS *, FTSENT *, int, int);
-static int fts_safe_changedir(FTS *, FTSENT *, int, char *);
+static int fts_safe_changedir(FTS *, FTSENT *, int, const char *);
#define ISDOT(a) (a[0] == '.' && (!a[1] || (a[1] == '.' && !a[2])))
@@ -905,7 +905,7 @@ fts_sort(FTS *sp, FTSENT *head, int nitems)
}
static FTSENT *
-fts_alloc(FTS *sp, char *name, size_t namelen)
+fts_alloc(FTS *sp, const char *name, size_t namelen)
{
FTSENT *p;
size_t len;
@@ -1024,7 +1024,7 @@ fts_maxarglen(char * const *argv)
* Assumes p->fts_dev and p->fts_ino are filled in.
*/
static int
-fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path)
+fts_safe_changedir(FTS *sp, FTSENT *p, int fd, const char *path)
{
int ret, oerrno, newfd;
struct stat sb;