* complete copyright information.
*/
-#include <h/mh.h>
-#include <h/aliasbr.h>
-#include <h/addrsbr.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "sbr/concat.h"
+#include "sbr/vfgets.h"
+#include "sbr/getcpy.h"
+#include "h/aliasbr.h"
+#include "h/addrsbr.h"
+#include "h/utils.h"
#include <pwd.h>
static int akvis;
while (vfgets (fp, &ap) == OK) {
bp = ap;
switch (*(pp = scanp (bp))) {
- case '<': /* recurse a level */
+ case '<': /* recurse a level */
if (!*(cp = getp (pp + 1))) {
akerrst = "'<' without alias-file";
fclose (fp);
return i;
}
continue;
- case ':': /* comment */
- case ';':
+ case ':': /* comment */
+ case ';':
case '#':
case 0:
continue;
}
switch (*(pp = scanp (ap))) {
- case 0: /* EOL */
+ case 0: /* EOL */
fclose (fp);
return AK_ERROR;
- case '<': /* read values from file */
+ case '<': /* read values from file */
if (!*(cp = getp (pp + 1))) {
fclose (fp);
return AK_ERROR;
}
break;
- default: /* list */
+ default: /* list */
while ((cp = getalias (pp)))
add_aka (ak, cp);
break;