delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Date: | Sun, 07 Jun 2015 17:59:47 +0300 |
From: | "Eli Zaretskii (eliz AT gnu DOT org)" <djgpp AT delorie DOT com> |
Subject: | Re: Removing GREP_OPTIONS from djgpp.env |
In-reply-to: | <033f7e6d-ff21-40c8-a67e-54eed44d4ec5@googlegroups.com> |
X-012-Sender: | halo1 AT inter DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-id: | <83d217mun0.fsf@gnu.org> |
References: | <55703C4B DOT 4030604 AT gmx DOT de> <201506041612 DOT t54GC1L2014429 AT delorie DOT com> <55709263 DOT 7010902 AT gmx DOT de> <033f7e6d-ff21-40c8-a67e-54eed44d4ec5 AT googlegroups DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Thu, 4 Jun 2015 12:38:19 -0700 (PDT) > From: "rugxulo AT gmail DOT com" <djgpp AT delorie DOT com> > > On a barely related note, can someone give me their opinion on why > _bhist is always in the root dir? Because of this: static char slash [] = "/"; struct passwd * getpwuid(uid_t uid) { static struct passwd rv; ... rv.pw_dir = getenv("HOME"); if (rv.pw_dir == 0) rv.pw_dir = slash; <<<<<<<<<<<<<<<<<<<<<< (Bash calls getpwuid when it needs to expand ~/SOMETHING.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |