Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh for root
- X-seq: zsh-workers 8370
- From: Tatsuo Furukawa <tatsuo@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: zsh for root
- Date: Fri, 22 Oct 1999 16:58:25 +0900 (JST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Hello, zsh developers.
I am using HP-UX 10.20. I want to make "zsh for root". To do this, I
must make zsh with static link. But HP-UX's setlocale() depends
/usr/lib/libdld.sl, so I can't.
I think that if zsh doesn't use setlocale(), I can build static linked
zsh. To do this, I added following to zsh.h:
--- zsh.h.orig Fri Oct 22 16:36:11 1999
+++ zsh.h Fri Oct 22 16:36:14 1999
@@ -1414,6 +1414,8 @@
/* Shared header files */
/***********************/
+#undef LC_ALL
+
#include "version.h"
#include "signals.h"
#include "globals.h"
Finally, I got static linked zsh.
Then, I have a question. Is my local change is OK? I am Japanese, so
I set LC_* to ja_JP.SJIS. But as root, I think that root does'nt have
to set locale. So, I think this does't cause any problem.
But I know that changing root's shell may cause serious problem. So I
want to know more information.
--
---------------------------------------------------------------
[(hp)] KID R/D Engeneering Productivity
Tatsuo Furukawa ( Dragon ) tatsuo@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author