[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What’s the deal with #if _LIBC and other non-Emacs code?
From: |
Eli Zaretskii |
Subject: |
Re: What’s the deal with #if _LIBC and other non-Emacs code? |
Date: |
Tue, 26 Jul 2016 05:34:42 +0300 |
> From: Michal Nazarewicz <address@hidden>
> Date: Tue, 26 Jul 2016 00:58:06 +0200
>
> I’ve noticed quite some code in regex.c and regex.h which isn’t used by
> Emacs or any executable distributed with Emacs. Most notably, there are
> blocks of code guarded with ‘#ifdef _LIBC’ macro and support for
> alternative syntax which is never actually used.
>
> To me this all looks like it could be safely removed simplifying and
> shortening the code.
>
> I would be happy to prepare patches doing just that, but first I’d like
> to make sure that there’s nothing I’m missing.
This code is maintained by glibc, where those parts are used.
Although our version diverged quite a lot from the one in glibc, we
still have plans to merge them at some point. So I think we shouldn't
remove those parts.
Thanks.
- What’s the deal with #if _LIBC and other non-Emacs code?, Michal Nazarewicz, 2016/07/25
- Re: What’s the deal with #if _LIBC and other non-Emacs code?,
Eli Zaretskii <=
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Stefan Monnier, 2016/07/25
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Paul Eggert, 2016/07/26
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Eli Zaretskii, 2016/07/26
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Stefan Monnier, 2016/07/26
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Eli Zaretskii, 2016/07/26
- Re: What’s the deal with #if _LIBC and other non-Emacs code?, Stefan Monnier, 2016/07/26