* syscalls.cc (endusershell): Reset shell_fp to NULL to allow
subsequent getusershell calls.
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
2005-08-24  Corinna Vinschen  <corinna@vinschen.de>
 | 
			
		||||
 | 
			
		||||
	* syscalls.cc (endusershell): Reset shell_fp to NULL to allow
 | 
			
		||||
	subsequent getusershell calls.
 | 
			
		||||
 | 
			
		||||
2005-08-24  Christopher Faylor  <cgf@timesys.com>
 | 
			
		||||
 | 
			
		||||
	* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
 | 
			
		||||
 
 | 
			
		||||
@@ -3052,7 +3052,10 @@ extern "C" void
 | 
			
		||||
endusershell ()
 | 
			
		||||
{
 | 
			
		||||
  if (shell_fp)
 | 
			
		||||
    fclose (shell_fp);
 | 
			
		||||
    {
 | 
			
		||||
      fclose (shell_fp);
 | 
			
		||||
      shell_fp = NULL;
 | 
			
		||||
    }
 | 
			
		||||
  shell_index = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user