zsh-workers
 help / color / mirror / code / Atom feed
From: Tatsuo Furukawa <tatsuo@kobe.hp.com>
To: zsh-workers@sunsite.auc.dk
Subject: zsh for root
Date: Fri, 22 Oct 1999 16:58:25 +0900 (JST)	[thread overview]
Message-ID: <199910220758.QAA09183@kidrd130.kobe.hp.com> (raw)


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


             reply	other threads:[~1999-10-22  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-22  7:58 Tatsuo Furukawa [this message]
1999-10-22  9:09 ` Zefram
1999-10-22 12:49   ` Tatsuo Furukawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199910220758.QAA09183@kidrd130.kobe.hp.com \
    --to=tatsuo@kobe.hp.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).