+2004-03-11 Jason Rumney <jasonr@gnu.org>
+
+ * net/ldap.el (ldap-search-internal): Handle file URLs with drive
+ letters on DOS/Windows.
+
2004-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
* server.el (server-name): New var.
(while (looking-at "^\\(\\w*\\)[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$")
(setq name (match-string 1)
value (match-string 3))
+ ;; Need to handle file:///D:/... as generated by OpenLDAP
+ ;; on DOS/Windows as local files.
+ (if (and (memq system-type '(windows-nt ms-dos))
+ (eq (string-match "/\\(.:.*\\)$" value) 0))
+ (setq value (match-string 1 value)))
;; Do not try to open non-existent files
(if (equal value "")
(setq value " ")