summaryrefslogtreecommitdiff
path: root/openbsd-compat/glob.h
AgeCommit message (Collapse)Author
2019-11-15upstream commitDamien Miller
revision 1.48 date: 2019/02/04 16:45:40; author: millert; state: Exp; lines: +16 -17; commitid: cpNtVC7erojNyctw; Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX. This requires a libc major version bump. OK deraadt@
2015-10-29Prevent name collisions with system glob (bz#2463)Darren Tucker
Move glob.h from includes.h to the only caller (sftp) and override the names for the symbols. This prevents name collisions with the system glob in the case where something other than ssh uses it (eg kerberos). With jjelen at redhat.com, ok djm@
2010-10-24 - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came withTim Rice
1.12 to unbreak Solaris build. ok djm@
2010-10-07sadly, two typos on one line is not my best recordDamien Miller
2010-10-07unbreak previousDamien Miller
2010-10-07 - djm@cvs.openbsd.org 2010/09/25 09:30:16Damien Miller
[sftp.c configure.ac openbsd-compat/glob.c openbsd-compat/glob.h] make use of new glob(3) GLOB_KEEPSTAT extension to save extra server rountrips to fetch per-file stat(2) information. NB. update openbsd-compat/ glob(3) implementation from OpenBSD libc to match.
2007-12-31 - (dtucker) [configure.ac openbsd-compat/glob.{c,h}] Bug #1407: force use ofDarren Tucker
builtin glob implementation on Mac OS X. Based on a patch from vgiffin at apple.
2007-10-26 - millert@cvs.openbsd.org 2004/10/07 16:56:11Damien Miller
GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE block. (NB. mostly an RCS ID sync, as portable strips out the conditionals)
2006-09-01 - (dtucker) [configure.ac includes.h openbsd-compat/glob.{c,h}] ExplicitlyDarren Tucker
test for GLOB_NOMATCH and use our glob functions if it's not found. Stops sftp from segfaulting when attempting to get a nonexistent file on Cygwin (previous versions of OpenSSH didn't use the native glob). Partly from and tested by Corinna Vinschen.
2005-11-10 - (dtucker) [openbsd-compat/glob.h] Update from OpenBSD 1.8 -> 1.9.Darren Tucker
2005-11-10 - (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers toDarren Tucker
after the copyright notices. Having them at the top next to the CVSIDs guarantees a conflict for each and every sync.
2003-11-24 - (djm) Annotate OpenBSD-derived files in openbsd-compat/ with originalDamien Miller
source file path (in OpenBSD tree).
2003-06-03 - (djm) Sync openbsd-compat with OpenBSD CVS.Damien Miller
- No more 4-term BSD licenses in our tree
2002-09-11 - (djm) Sync openbsd-compat with OpenBSD -currentDamien Miller
2001-03-19 - (bal) Oops. Missed globc.h change (OpenBSD CVS).Ben Lindstrom
2001-03-17 - Check for gl_matchc support in glob_t and fall back to theBen Lindstrom
openbsd-compat/glob.[ch] support if it does not exist.
2001-03-14 - (djm) Add replacement glob() from OpenBSD libc if the system glob isDamien Miller
missing or lacks the GLOB_ALTDIRFUNC extension - (djm) Remove -I$(srcdir)/openbsd-compat from CFLAGS, refer to headers relatively. Avoids conflict between glob.h and /usr/include/glob.h