unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* What’s the deal with #if _LIBC and other non-Emacs code?
@ 2016-07-25 22:58 Michal Nazarewicz
  2016-07-26  2:34 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Nazarewicz @ 2016-07-25 22:58 UTC (permalink / raw)
  To: emacs-devel

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»



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-26 16:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25 22:58 What’s the deal with #if _LIBC and other non-Emacs code? Michal Nazarewicz
2016-07-26  2:34 ` 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

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).