]> git.lyx.org Git - features.git/commit
Use getent instead of grepping /etc/passwd.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 3 Aug 2014 16:59:54 +0000 (18:59 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 3 Aug 2014 16:59:54 +0000 (18:59 +0200)
commit64cc8a1c1ee26aff2e51c6126e75d870c5e89bc7
treea6fececba1ed397c5e7ac924c9e2d7fb9e19e30b
parent47e263fa7f58af4da004447257c88a0db9d3a724
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
status.21x