* path.cc (patch_conv::check): Zero path before setting it.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2009-08-04  Christopher Faylor  <me+cygwin@cgf.cx> | ||||||
|  |  | ||||||
|  | 	* path.cc (patch_conv::check): Zero path before setting it. | ||||||
|  |  | ||||||
| 2009-08-04  Christopher Faylor  <me+cygwin@cgf.cx> | 2009-08-04  Christopher Faylor  <me+cygwin@cgf.cx> | ||||||
|  |  | ||||||
| 	* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem | 	* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem | ||||||
|   | |||||||
| @@ -165,8 +165,9 @@ class path_conv | |||||||
| 	      const suffix_info *suffixes = NULL) __attribute__ ((regparm(3))); | 	      const suffix_info *suffixes = NULL) __attribute__ ((regparm(3))); | ||||||
|  |  | ||||||
|   path_conv (const device& in_dev) |   path_conv (const device& in_dev) | ||||||
|   : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0), |   : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path (NULL), | ||||||
|     known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev) |     path_flags (0), known_suffix (NULL), normalized_path (NULL), error (0), | ||||||
|  |     dev (in_dev) | ||||||
|   { |   { | ||||||
|     set_path (in_dev.native); |     set_path (in_dev.native); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user