* path.h (path_conv::add_ext_from_sym): Declare.
* path.cc (path_conv::add_ext_from_sym): Convert to pure inline method.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | Tue Apr 17 19:05:44 2001  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
|  | 	* path.h (path_conv::add_ext_from_sym): Declare. | ||||||
|  | 	* path.cc (path_conv::add_ext_from_sym): Convert to pure inline method. | ||||||
|  |  | ||||||
| Tue Apr 17 18:50:00 2001  Corinna Vinschen <corinna@vinschen.de> | Tue Apr 17 18:50:00 2001  Corinna Vinschen <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* path.cc (windows_device_names): Add missing NULL element. | 	* path.cc (windows_device_names): Add missing NULL element. | ||||||
|   | |||||||
| @@ -177,11 +177,8 @@ pathmatch (const char *path1, const char *path2) | |||||||
|   				      : strcasematch (path1, path2); |   				      : strcasematch (path1, path2); | ||||||
| } | } | ||||||
|  |  | ||||||
| #define add_ext_from_sym(s) \ |  | ||||||
| 		(add_ext_from_sym_ (this->path, this->known_suffix, s)) |  | ||||||
|  |  | ||||||
| inline void | inline void | ||||||
| add_ext_from_sym_ (char *path, char *known_suffix, symlink_info &sym) | path_conv::add_ext_from_sym (symlink_info &sym) | ||||||
| { | { | ||||||
|   if (sym.ext_here && *sym.ext_here) |   if (sym.ext_here && *sym.ext_here) | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -52,9 +52,11 @@ enum path_types | |||||||
|   PATH_HASACLS =      0x80000000 |   PATH_HASACLS =      0x80000000 | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | class symlink_info; | ||||||
| class path_conv | class path_conv | ||||||
| { | { | ||||||
|   char path[MAX_PATH]; |   char path[MAX_PATH]; | ||||||
|  |   void add_ext_from_sym (symlink_info&); | ||||||
|  public: |  public: | ||||||
|  |  | ||||||
|   unsigned path_flags; |   unsigned path_flags; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user