Parent Directory | Revision Log | Patch
revision 1.8 by gary, Wed Aug 27 17:10:12 2003 UTC | revision 1.9 by gary, Thu Sep 11 16:38:12 2003 UTC | |
---|---|---|
# | Line 50 static void search_path_env_init (m4__se | Line 50 static void search_path_env_init (m4__se |
50 | static void | static void |
51 | search_path_add (m4__search_path_info *info, const char *dir) | search_path_add (m4__search_path_info *info, const char *dir) |
52 | { | { |
53 | m4__search_path *path; | NEW (m4__search_path, path); |
54 | ||
55 | if (*dir == '\0') | if (*dir == '\0') |
56 | dir = "."; | dir = "."; |
57 | ||
path = XMALLOC (m4__search_path, 1); | ||
58 | path->next = NULL; | path->next = NULL; |
59 | path->len = strlen (dir); | path->len = strlen (dir); |
60 | path->dir = xstrdup (dir); | path->dir = xstrdup (dir); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |