bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is use of HAVE_MULTIBYTE correct?


From: Tom de Vries
Subject: Is use of HAVE_MULTIBYTE correct?
Date: Thu, 25 May 2023 13:59:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

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.

Thanks,
- Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]