]> git.lyx.org Git - features.git/commit
Use getent instead of grepping /etc/passwd.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 13 Jul 2014 12:39:05 +0000 (14:39 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 13 Jul 2014 12:39:05 +0000 (14:39 +0200)
commitff506c8e427e71b36759d09a012076cf59369e7e
tree880829334a8f232f6edcc328b3406e4e221f8ae9
parent2af17f8f89e81b1be98748a354454b079b8b65d3
Use getent instead of grepping /etc/passwd.

Forthcoming versions of cygwin will use a different mechanism for
obtaining passwd/group information based on /etc/nsswitch.conf.
Thus, it will not be guaranteed that the files /etc/passwd and
/etc/group even exist. The recommended way for obtaining those
info is by using the getent command, which already works in
current versions.
development/cygwin/lyxprofile