This program uses fparseln's default delimiters, which can be replaced by NULL.
WARNING: I only compiled with this patch applied, I didn't actually run the resulting binary. Index: makemap.c =================================================================== RCS file: /cvs/src/usr.sbin/smtpd/makemap.c,v retrieving revision 1.50 diff -u -p -u -r1.50 makemap.c --- makemap.c 25 Oct 2014 18:48:30 -0000 1.50 +++ makemap.c 24 Dec 2014 16:56:02 -0000 @@ -234,7 +234,6 @@ parse_map(char *filename) char *line; size_t len; size_t lineno = 0; - char delim[] = { '\\', '\\', '#' }; if (strcmp(filename, "-") == 0) fp = fdopen(0, "r"); @@ -254,7 +253,7 @@ parse_map(char *filename) return 0; } - while ((line = fparseln(fp, &len, &lineno, delim, 0)) != NULL) { + while ((line = fparseln(fp, &len, &lineno, NULL, 0)) != NULL) { if (! parse_entry(line, len, lineno)) { free(line); fclose(fp);