* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
flags with *pflags to restore original behaviour.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2010-08-24  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize | ||||||
|  | 	flags with *pflags to restore original behaviour. | ||||||
|  |  | ||||||
| 2010-08-21  Corinna Vinschen  <corinna@vinschen.de> | 2010-08-21  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a. | 	* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a. | ||||||
|   | |||||||
| @@ -507,7 +507,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) | |||||||
| 	  else | 	  else | ||||||
| 	    { | 	    { | ||||||
| 	      unsigned *pflags = va_arg (arg, unsigned *); | 	      unsigned *pflags = va_arg (arg, unsigned *); | ||||||
| 	      unsigned flags = 0; | 	      unsigned flags = pflags ? *pflags : 0; | ||||||
| 	      if (fstab_read_flags (option_string, flags, true)) | 	      if (fstab_read_flags (option_string, flags, true)) | ||||||
| 		{ | 		{ | ||||||
| 		  if (pflags) | 		  if (pflags) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user