[Commit] jove ChangeLog,1.5,1.6 man.c,1.5,1.6

Keith Packard commit at keithp.com
Thu Oct 28 08:17:27 PDT 2004


Committed by: keithp

Update of /local/src/CVS/jove
In directory home.keithp.com:/tmp/cvs-serv4769

Modified Files:
	ChangeLog man.c 
Log Message:
2004-10-28  Keith Packard  <keithp at keithp.com>

	* man.c:
	set LC_CTYPE to C before running man to avoid non-ascii punctuation


Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/jove/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ChangeLog	27 Oct 2004 17:58:21 -0000	1.5
+++ ChangeLog	28 Oct 2004 15:17:24 -0000	1.6
@@ -1,3 +1,8 @@
+2004-10-28  Keith Packard  <keithp at keithp.com>
+
+	* man.c:
+	set LC_CTYPE to C before running man to avoid non-ascii punctuation
+
 2004-10-27  Keith Packard  <keithp at keithp.com>
 
 	* insert.c:

Index: man.c
===================================================================
RCS file: /local/src/CVS/jove/man.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- man.c	20 Oct 2004 05:26:40 -0000	1.5
+++ man.c	28 Oct 2004 15:17:24 -0000	1.6
@@ -320,6 +320,7 @@
 					(void) dup (fd[1]);
 					(void) dup (0);
 					close_pipe (fd);
+					setenv ("LC_CTYPE", "C", 1);
 					execvp(argv[0], &argv[1]);
 					(void) write (1, "man not found\n", 14);
 					_exit (1);




More information about the Commit mailing list