(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)
commit3e391882aa38108e1227fa2734899aaeb6450800
treeadb12583bfbd4110eabaf0211c1f2b2a231d7fce
parentf68ccb908598334800574c4d8d2dcfdc3bfd5c26
(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