/[inetutils]/inetutils/lib/getusershell.c
ViewVC logotype

Diff of /inetutils/lib/getusershell.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gray, Fri Jul 29 10:52:43 2005 UTC revision 1.3 by ams, Fri Dec 2 14:00:00 2005 UTC
# Line 33  Line 33 
33  # endif  # endif
34  #endif  #endif
35    
 #include <stdio.h>  
36  #include <stdlib.h>  #include <stdlib.h>
37  #include <ctype.h>  #include <ctype.h>
38    
39  #include "stdio-safer.h"  #include "stdio--.h"
40  #include "xalloc.h"  #include "xalloc.h"
41    
42  #if USE_UNLOCKED_IO  #if USE_UNLOCKED_IO
# Line 99  getusershell (void) Line 98  getusershell (void)
98    
99    if (shellstream == NULL)    if (shellstream == NULL)
100      {      {
101        shellstream = fopen_safer (SHELLS_FILE, "r");        shellstream = fopen (SHELLS_FILE, "r");
102        if (shellstream == NULL)        if (shellstream == NULL)
103          {          {
104            /* No shells file.  Use the default list.  */            /* No shells file.  Use the default list.  */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26