Import OpenBSD source tree of short before 17:00 UTC today
This commit is contained in:
4
misc.c
4
misc.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: misc.c,v 1.15 2003/04/04 23:12:02 deraadt Exp $ */
|
||||
/* $OpenBSD: misc.c,v 1.16 2003/04/16 23:11:52 tdeval Exp $ */
|
||||
|
||||
/*
|
||||
* Miscellaneous functions
|
||||
@ -542,7 +542,7 @@ gmatch(s, p, isfile)
|
||||
char tbuf[64];
|
||||
char *t = len <= sizeof(tbuf) ? tbuf
|
||||
: (char *) alloc(len, ATEMP);
|
||||
debunk(t, p);
|
||||
debunk(t, p, len);
|
||||
return !strcmp(t, s);
|
||||
}
|
||||
return do_gmatch((const unsigned char *) s, (const unsigned char *) se,
|
||||
|
Reference in New Issue
Block a user