(setusershell): Use rewind rather than
authorJim Meyering <jim@meyering.net>
Tue, 7 Nov 2000 15:35:15 +0000 (15:35 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 7 Nov 2000 15:35:15 +0000 (15:35 +0000)
commit4e2bc789ab5be94f151dea55ba4395218c4f5871
tree789fb12207eb38eb12ff45ff2094bc548f121ed2
parentda0732da37f02057f03e32c31a8d30d8b9a6da98
(setusershell): Use rewind rather than
fseek/fseeko, to avoid configuration hassles with fseeko.
Don't bother opening SHELLS_FILE if shellstream is NULL;
it's not necessary.
lib/getusershell.c