]>
diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/sbr/m_foil.c
1 /* m_foil.c - foil search of .mh_profile */
10 register struct node
*np
;
12 defpath
= context
= "/dev/null";
15 np
= m_defs
= (struct node
*) malloc (sizeof *np
);
17 adios (NULLCP
, "unable to allocate profile storage");
19 np
-> n_name
= getcpy ("Path");
20 np
-> n_field
= getcpy (path
);
24 if (mypath
== NULL
&& (mypath
= getenv ("HOME")) != NULL
)
25 mypath
= getcpy (mypath
);