zsh-workers
 help / color / mirror / code / Atom feed
* zsh for root
@ 1999-10-22  7:58 Tatsuo Furukawa
  1999-10-22  9:09 ` Zefram
  0 siblings, 1 reply; 3+ messages in thread
From: Tatsuo Furukawa @ 1999-10-22  7:58 UTC (permalink / raw)
  To: zsh-workers


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@kobe.hp.com


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

end of thread, other threads:[~1999-10-22 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-22  7:58 zsh for root Tatsuo Furukawa
1999-10-22  9:09 ` Zefram
1999-10-22 12:49   ` Tatsuo Furukawa

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).