This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Bugs in cron-config: filename case and PATH


/usr/bin/cron-config doesn't work when "case_check:strict" is in effect,
as well as not setting the PATH to include /usr/bin.  So, the cron service
can't find cygwin1.dll, unless $PATH in the global system environment
contains 'c:\cygwin\bin'.

There are two ways to fix the first problem (which prevents cron-config
from accessing the registry via /proc/registry): one is to force
relaxed/adjusted case checking in the script (as is done in the attached
patch), and the other is to use the proper case for registry access (not
sure how much it's standardized, though).

As said above, a patch that fixes both issues (for me) is attached.
ChangeLog is below.
	Igor
==============================================================================
2005-10-10  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

	* cron-config: Add check_case:adjust to $CYGWIN.
	(install_service): Add /usr/bin to $PATH when installing as
	service.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

Attachment: cron-config-environment.patch
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]