From: Michal Nazarewicz <mina86@mina86.com>
To: emacs-devel@gnu.org
Subject: What’s the deal with #if _LIBC and other non-Emacs code?
Date: Tue, 26 Jul 2016 00:58:06 +0200 [thread overview]
Message-ID: <xa1twpk9iav5.fsf@mina86.com> (raw)
Dear Emacs developers!
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.
--
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»
next reply other threads:[~2016-07-25 22:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 22:58 Michal Nazarewicz [this message]
2016-07-26 2:34 ` What’s the deal with #if _LIBC and other non-Emacs code? Eli Zaretskii
2016-07-26 2:42 ` Stefan Monnier
2016-07-26 6:50 ` Paul Eggert
2016-07-26 14:51 ` Eli Zaretskii
2016-07-26 15:33 ` Stefan Monnier
2016-07-26 15:40 ` Eli Zaretskii
2016-07-26 16:06 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xa1twpk9iav5.fsf@mina86.com \
--to=mina86@mina86.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).