summaryrefslogtreecommitdiff
path: root/lib/libc/compat/gen/compat_glob.c
blob: 629e40044c03479b971b966793267220ec3cf79d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*	$NetBSD: compat_glob.c,v 1.4 2013/10/04 21:07:37 christos Exp $	*/

/*
 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
 * Public domain.
 */
#include "namespace.h"
#include <pwd.h>
#define __LIBC12_SOURCE__

#include <sys/stat.h>
#include <compat/sys/time.h>
#include <compat/sys/stat.h>
#include <dirent.h>
#include <compat/include/dirent.h>
#define __gl_stat_t struct stat12

#include <glob.h>
#include <compat/include/glob.h>

#ifdef __weak_alias
__weak_alias(glob,_glob)
__weak_alias(globfree,_globfree)
#endif /* __weak_alias */

__warn_references(glob,
    "warning: reference to compatibility glob(); include <glob.h> for correct reference")
__warn_references(globfree,
    "warning: reference to compatibility globfree(); include <glob.h> for correct reference")

#define stat __compat_stat
#define lstat __compat_lstat
#define fstat __compat_fstat

#include "gen/glob.c"
mport conflict, andatatat make it build. Now we have $NetBSD$ tags. 2003-06-01sendmail 8.12.9atatat 2003-06-01Rewrite sendmail source conversion script to remove tags in a cleaneratatat way, and also to add $NetBSD$ tags where possible/practical/sensible. 2003-04-16Fix some xrefs.wiz 2003-03-29Apply new patch from sendmail.org to address the new buffer overflowatatat in address parsing. This takes us to 8.12.8p1. 2003-03-24Missed conflict from 8.12.8 import.atatat 2003-03-24Pull sendmail 8.12.8 to the head, resolve the import conflicts, andatatat make it build. 2003-03-24Pull sendmail 8.12.8 to the head, resolve the import conflicts, andatatat make it build. 2003-03-24sendmail 8.12.8atatat 2003-03-03Apply patch from sendmail.org to handle a new header overflow bug.atatat 2002-10-03more strict checking on command invocation.itojun http://www.sendmail.org/smrsh.adv.txt, NetBSD PR 18516 2002-07-11'environment', not 'enviroment'wiz 2002-07-04save 1 byte for trailing dot append on dn_expand() callitojun 2002-06-26avoid possible overrun of dn_expand arg buffer.itojun not sure if it is the reason for 8.12.5, but anyway, be cautious. 2002-06-12Don't mention db types we don't have (and related bugs).wiz 2001-10-19Remove all traces of "aux.m4" so as not to conflict with Microsoft host OS's.tv (Since we aren't A/UX, this is not much of a loss for a NetBSD host.) 2001-08-21upgrade to 8.11.6. fixes security issue in command line parsing.itojun 2001-08-01sync with 8.11.5.itojun 2001-08-01sendmail 8.11.5itojun 2001-07-25there's no binmail(1). PR 13549itojun 2001-05-29sync with 8.11.4.itojun 2001-05-29sendmail 8.11.4itojun