delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/10/13:51:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <1DB8BA4BAC88D3118B2300508B5A552CD92898@mail.fitlinxx.com>
From: David Bolen <db3l AT fitlinxx DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: RE: [solved] _ctype_ not found in cygwin1.dll
Date: Thu, 10 Aug 2000 12:13:56 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Markus Hoenicka [Markus DOT Hoenicka AT uth DOT tmc DOT edu] writes:

> That is, after changing the systemwide PATH these changes affect all
> user accounts, but not the system. When I started my app as
> standalone, it used the new path and picked the correct 1.1.4
> cygwin1.dll. When I tried to run it as a service, it used the old
> path and found the B20.1 cygwin1.dll, which gave me an error. I just
> had to reboot the box and all was fine again.

FYI, the reason this occurred is that all services are started by the
SCM (service control manager, services.exe), and the SCM task starts
when the system does, and thus obtains its environment (including
path) at that point in time.

Although you can "apply" changes to the systemwide path, it's up to
individual applications to watch for notification of such changes and
adopt them.  Most running applications don't pick up these changes
(I'm not even sure if console applications can), so although you
changed your systemwide path for any new processes past the change,
most items that had been running prior to the change - including the
SCM - would have still used the old setting until restarted.  And I
don't believe you can restart the SCM without rebooting (which reminds
me how I continue to be amazed at how many things require a reboot
under Windows)

-- David

/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l AT fitlinxx DOT com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019