[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is use of HAVE_MULTIBYTE correct?
From: |
Chet Ramey |
Subject: |
Re: Is use of HAVE_MULTIBYTE correct? |
Date: |
Thu, 25 May 2023 09:03:45 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 5/25/23 7:59 AM, Tom de Vries wrote:
Hi,
I came across this piece of code in rldefs.h:
...
#if defined (HAVE_STRPBRK) && !defined (HAVE_MULTIBYTE)
# define _rl_strpbrk(a,b) strpbrk((a),(b))
#else
extern char *_rl_strpbrk (const char *, const char *);
#endif
...
I didn't find any other occurrence of HAVE_MULTIBYTE.
I wonder if HANDLE_MULTIBYTE was meant instead.
It's a typo, thanks.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/