summaryrefslogtreecommitdiff
path: root/openbsd-compat/glob.h
Commit message (Collapse)AuthorAgeFilesLines
* upstream commitDamien Miller2019-11-151-4/+5
| | | | | | | 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@
* Prevent name collisions with system glob (bz#2463)Darren Tucker2015-10-291-2/+6
| | | | | | | 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@
* - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came withTim Rice2010-10-241-1/+0
| | | | | 1.12 to unbreak Solaris build. ok djm@
* sadly, two typos on one line is not my best recordDamien Miller2010-10-071-1/+1
|
* unbreak previousDamien Miller2010-10-071-1/+1
|
* - djm@cvs.openbsd.org 2010/09/25 09:30:16Damien Miller2010-10-071-5/+9
| | | | | | | | [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.
* - (dtucker) [configure.ac openbsd-compat/glob.{c,h}] Bug #1407: force use ofDarren Tucker2007-12-311-1/+2
| | | | | builtin glob implementation on Mac OS X. Based on a patch from vgiffin at apple.
* - millert@cvs.openbsd.org 2004/10/07 16:56:11Damien Miller2007-10-261-9/+8
| | | | | | 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)
* - (dtucker) [configure.ac includes.h openbsd-compat/glob.{c,h}] ExplicitlyDarren Tucker2006-09-011-1/+2
| | | | | | | 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.
* - (dtucker) [openbsd-compat/glob.h] Update from OpenBSD 1.8 -> 1.9.Darren Tucker2005-11-101-2/+2
|
* - (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers toDarren Tucker2005-11-101-2/+2
| | | | | after the copyright notices. Having them at the top next to the CVSIDs guarantees a conflict for each and every sync.
* - (djm) Annotate OpenBSD-derived files in openbsd-compat/ with originalDamien Miller2003-11-241-0/+2
| | | | source file path (in OpenBSD tree).
* - (djm) Sync openbsd-compat with OpenBSD CVS.Damien Miller2003-06-031-6/+2
| | | | - No more 4-term BSD licenses in our tree
* - (djm) Sync openbsd-compat with OpenBSD -currentDamien Miller2002-09-111-9/+9
|
* - (bal) Oops. Missed globc.h change (OpenBSD CVS).Ben Lindstrom2001-03-191-1/+2
|
* - Check for gl_matchc support in glob_t and fall back to theBen Lindstrom2001-03-171-2/+4
| | | | openbsd-compat/glob.[ch] support if it does not exist.
* - (djm) Add replacement glob() from OpenBSD libc if the system glob isDamien Miller2001-03-141-0/+98
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