2b72bc6e2f
resolve_tilde() function by Christopher Zimmermann (madroach AT zakweb DOT de): thanks! OK landry@
17 lines
555 B
Plaintext
17 lines
555 B
Plaintext
$OpenBSD: patch-include_config_h,v 1.1 2010/09/14 08:54:18 dcoppa Exp $
|
|
--- include/config.h.orig Wed Jun 9 09:58:15 2010
|
|
+++ include/config.h Thu Jul 15 14:43:03 2010
|
|
@@ -126,9 +126,11 @@ struct Config {
|
|
|
|
/**
|
|
* This function resolves ~ in pathnames.
|
|
+ * It may resolve wildcards in the first part of the path, but if no match
|
|
+ * or multiple matches are found, it just returns a copy of path as given.
|
|
*
|
|
*/
|
|
-char *glob_path(const char *path);
|
|
+char *resolve_tilde(const char *path);
|
|
|
|
/**
|
|
* Checks if the given path exists by calling stat().
|