- (bal) #ifdef around S_IFSOCK if platform does not support it.
patch by Tim Rice <tim@multitalents.net> - (bal) fake-regex.h cleanup based on Tim Rice's patch.
This commit is contained in:
parent
16a86be01a
commit
2396b30d95
|
@ -3,7 +3,10 @@
|
||||||
- markus@cvs.openbsd.org 2001/01/23 10:45:10
|
- markus@cvs.openbsd.org 2001/01/23 10:45:10
|
||||||
[ssh.h]
|
[ssh.h]
|
||||||
nuke comment
|
nuke comment
|
||||||
- (bal) no 64bit support patch from Tim Rice <tim@multitalents.net>
|
- (bal) no 64bit support patch from Tim Rice <tim@multitalents.net>
|
||||||
|
- (bal) #ifdef around S_IFSOCK if platform does not support it.
|
||||||
|
patch by Tim Rice <tim@multitalents.net>
|
||||||
|
- (bal) fake-regex.h cleanup based on Tim Rice's patch.
|
||||||
|
|
||||||
20010123
|
20010123
|
||||||
- (bal) regexp.h typo in configure.in. Should have been regex.h
|
- (bal) regexp.h typo in configure.in. Should have been regex.h
|
||||||
|
|
|
@ -64,9 +64,11 @@ strmode(mode, p)
|
||||||
case S_IFLNK: /* symbolic link */
|
case S_IFLNK: /* symbolic link */
|
||||||
*p++ = 'l';
|
*p++ = 'l';
|
||||||
break;
|
break;
|
||||||
|
#ifdef S_IFSOCK
|
||||||
case S_IFSOCK: /* socket */
|
case S_IFSOCK: /* socket */
|
||||||
*p++ = 's';
|
*p++ = 's';
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
#ifdef S_IFIFO
|
#ifdef S_IFIFO
|
||||||
case S_IFIFO: /* fifo */
|
case S_IFIFO: /* fifo */
|
||||||
*p++ = 'p';
|
*p++ = 'p';
|
||||||
|
|
12
fake-regex.h
12
fake-regex.h
|
@ -43,7 +43,6 @@
|
||||||
#ifndef _REGEX_H_
|
#ifndef _REGEX_H_
|
||||||
#define _REGEX_H_
|
#define _REGEX_H_
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
/* types */
|
/* types */
|
||||||
|
@ -99,12 +98,9 @@ typedef struct {
|
||||||
#define REG_LARGE 01000 /* force large representation */
|
#define REG_LARGE 01000 /* force large representation */
|
||||||
#define REG_BACKR 02000 /* force use of backref code */
|
#define REG_BACKR 02000 /* force use of backref code */
|
||||||
|
|
||||||
__BEGIN_DECLS
|
int regcomp(regex_t*, const char*, int);
|
||||||
int regcomp __P((regex_t *, const char *, int));
|
size_t regerror(int, const regex_t*, char*, size_t);
|
||||||
size_t regerror __P((int, const regex_t *, char *, size_t));
|
int regexec(const regex_t*, const char*, size_t, regmatch_t[], int);
|
||||||
int regexec __P((const regex_t *,
|
void regfree(regex_t*);
|
||||||
const char *, size_t, regmatch_t [], int));
|
|
||||||
void regfree __P((regex_t *));
|
|
||||||
__END_DECLS
|
|
||||||
|
|
||||||
#endif /* !_REGEX_H_ */
|
#endif /* !_REGEX_H_ */
|
||||||
|
|
Loading…
Reference in New Issue