[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find (and friends) bug?
From: |
Miles Bader |
Subject: |
Re: find (and friends) bug? |
Date: |
04 Mar 2002 17:29:38 +0900 |
Tom Lord <address@hidden> writes:
> Um, could you elaborate? Or point to an elaboration?
I found a copy by looking in:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/?cvsroot=glibc
[regex.c, regcomp.c, regexec.c, ... etc]
I note one thing that's going to make emacs really happy:
int
re_search_2 (bufp, string1, length1, string2, length2, start, range, regs,
stop)
struct re_pattern_buffer *bufp;
const char *string1, *string2;
int length1, length2, start, range, stop;
struct re_registers *regs;
{
int len, ret;
char *str = re_malloc (char, length1 + length2);
memcpy (str, string1, length1);
memcpy (str + length1, string2, length2);
len = (length1 + length2 < stop) ? length1 + length2 : stop;
ret = re_search (bufp, str, len, start, range, regs);
re_free (str);
return ret;
}
Eek!
-Miles
--
80% of success is just showing up. --Woody Allen
- Re: find (and friends) bug?, fabrice bauzac, 2002/03/02
- Message not available
- Re: find (and friends) bug?, fabrice bauzac, 2002/03/03
- Message not available
- Re: find (and friends) bug?, fabrice bauzac, 2002/03/03
- Re: find (and friends) bug?, Tom Lord, 2002/03/03
- Re: find (and friends) bug?, fabrice bauzac, 2002/03/03
- Re: find (and friends) bug?, Tom Lord, 2002/03/03
- Re: find (and friends) bug?, Paul Eggert, 2002/03/04
- Re: find (and friends) bug?, Ulrich Drepper, 2002/03/04
- Re: find (and friends) bug?, Tom Lord, 2002/03/04
- Re: find (and friends) bug?,
Miles Bader <=
- Re: find (and friends) bug?, Tom Lord, 2002/03/04
- Re: find (and friends) bug?, Thomas Bushnell, BSG, 2002/03/04
- Re: find (and friends) bug?, Tom Lord, 2002/03/04
- Re: find (and friends) bug?, Thomas Bushnell, BSG, 2002/03/04
- Re: find (and friends) bug?, Tom Lord, 2002/03/04
- Re: find (and friends) bug?, Thomas Bushnell, BSG, 2002/03/05
- Re: find (and friends) bug?, Paul Eggert, 2002/03/04
- Re: find (and friends) bug?, Miles Bader, 2002/03/04
- Re: find (and friends) bug?, Paul Eggert, 2002/03/04
- Re: find (and friends) bug?, Tom Lord, 2002/03/13