* path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Never strip trailing dots and spaces. * (path_conv::check): Accomodate above change. * path.h (path_conv::operator=): Ditto * dtable.cc (build_fh_dev): Ditto. * fhandler.h (fhandler_base::set_name): Ditto. * path.cc (transform_chars): Disable converting trailing dots and spaces. * path.cc (path_conv::check): Remove two disabled code snippets.
This commit is contained in:
		| @@ -153,7 +153,7 @@ class fhandler_base | ||||
|   path_conv pc; | ||||
|  | ||||
|   virtual void set_name (path_conv &pc); | ||||
|   virtual void set_name (const char *s) {pc.set_normalized_path (s, false);} | ||||
|   virtual void set_name (const char *s) {pc.set_normalized_path (s);} | ||||
|   int error () const {return pc.error;} | ||||
|   void set_error (int error) {pc.error = error;} | ||||
|   bool exists () const {return pc.exists ();} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user