Skip to content

Instantly share code, notes, and snippets.

@postwait
Created November 27, 2013 21:22
Show Gist options
  • Select an option

  • Save postwait/7683441 to your computer and use it in GitHub Desktop.

Select an option

Save postwait/7683441 to your computer and use it in GitHub Desktop.
diff --git a/usr/src/lib/libcurses/Makefile b/usr/src/lib/libcurses/Makefile
index 9e88e23..e200b64 100644
--- a/usr/src/lib/libcurses/Makefile
+++ b/usr/src/lib/libcurses/Makefile
@@ -82,7 +82,7 @@ scrfiles: $(SCRFILES)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-ED = ed
+ED = LANG=C ed
screen/curses.h: screen/curses.ed screen/keycaps screen/tmp
(cd screen; $(ED) - < curses.ed)
diff --git a/usr/src/lib/libcurses/Makefile.com b/usr/src/lib/libcurses/Makefile.com
index b295f4b..26b8a5e 100644
--- a/usr/src/lib/libcurses/Makefile.com
+++ b/usr/src/lib/libcurses/Makefile.com
@@ -156,7 +156,7 @@ LDLIBS += -lc
CPPFLAGS += -I../screen -I../../common/inc
-ED = ed
+ED = LANG=C ed
RM = rm -f
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment