]> diplodocus.org Git - nmh/log
nmh
9 years agoGet coverage of quite a few of the `ambiguous switch' case.
Ralph Corderoy [Sun, 30 Oct 2016 20:41:29 +0000 (20:41 +0000)]
Get coverage of quite a few of the `ambiguous switch' case.

Typically by adding a `foo -', discarding stdout and stderr, and
expecting it to exit non-zero.  A `# gcov' comment states its purpose,
and makes it easier to see if they can be deleted in time as other
coverage tests improve.

9 years agoSplit gcov target into multiple sub-targets.
Ralph Corderoy [Sun, 30 Oct 2016 20:18:28 +0000 (20:18 +0000)]
Split gcov target into multiple sub-targets.

Allows them to be run individually.

9 years agoClarify trunccpy()'s src and dest must not overlap.
Ralph Corderoy [Sun, 30 Oct 2016 15:55:30 +0000 (15:55 +0000)]
Clarify trunccpy()'s src and dest must not overlap.

9 years agoReplace printf("%s", foo) with fputs(foo, stdout).
Ralph Corderoy [Sun, 30 Oct 2016 15:25:44 +0000 (15:25 +0000)]
Replace printf("%s", foo) with fputs(foo, stdout).

9 years agoReplace strlen(foo) > 0 with *foo.
Ralph Corderoy [Sun, 30 Oct 2016 15:09:55 +0000 (15:09 +0000)]
Replace strlen(foo) > 0 with *foo.

9 years agoAdd outputs from Makefile.am's gcov target.
Ralph Corderoy [Sun, 30 Oct 2016 15:07:41 +0000 (15:07 +0000)]
Add outputs from Makefile.am's gcov target.

*.gcda, *.gcno, and *.gcov.

9 years agoRemove sbr/peekc.c containing unused peekc().
Ralph Corderoy [Sun, 30 Oct 2016 15:04:38 +0000 (15:04 +0000)]
Remove sbr/peekc.c containing unused peekc().

gcov showed it wasn't getting any;  we've all been there.
It didn't check for EOF, nor that the ungetc(3) succeeded.

9 years agoReplace fprintf(fp, "%s", foo) with fputs(foo, fp).
Ralph Corderoy [Sun, 30 Oct 2016 14:46:01 +0000 (14:46 +0000)]
Replace fprintf(fp, "%s", foo) with fputs(foo, fp).

9 years agoReplace printf("%s", foo) with fputs(foo, stdout).
Ralph Corderoy [Sun, 30 Oct 2016 14:44:07 +0000 (14:44 +0000)]
Replace printf("%s", foo) with fputs(foo, stdout).

9 years agoReplace printf("%s\n", foo) with puts(foo).
Ralph Corderoy [Sun, 30 Oct 2016 14:05:16 +0000 (14:05 +0000)]
Replace printf("%s\n", foo) with puts(foo).

9 years agoAdd trunccpy(), and the convenience TRUNCCPY().
Ralph Corderoy [Sun, 30 Oct 2016 13:45:40 +0000 (13:45 +0000)]
Add trunccpy(), and the convenience TRUNCCPY().

truncpy copies at most size - 1 chars from non-NULL src to non-NULL
dst, and ensures dst is NUL terminated.  If size is zero then it
aborts as dst cannot be NUL terminated.

It's to be used when truncation is intended and correct, e.g.
reporting a possibly very long external string back to the user.  One
of its advantages over strncpy(3) is it doesn't pad in the common
case of no truncation.

9 years agoFix test-header-parsing test script.
Ralph Corderoy [Sat, 29 Oct 2016 23:03:34 +0000 (00:03 +0100)]
Fix test-header-parsing test script.

It was using sh's backticks that chomped the last linefeed!
Add comment referencing the commit that fixed the code this is testing.
Have fewer test cases, sticking to just one or two character headers
with empty or one-character bodies.  Avoids slowing the tests too much
and the fixed bug was to do with hashing one-character headers.

9 years agoSimplify folder_exists() to just testing stat(2)'s return value.
Ralph Corderoy [Sat, 29 Oct 2016 22:11:52 +0000 (23:11 +0100)]
Simplify folder_exists() to just testing stat(2)'s return value.

9 years agoReplace printf("...\n") with puts("...").
Ralph Corderoy [Fri, 28 Oct 2016 22:51:41 +0000 (23:51 +0100)]
Replace printf("...\n") with puts("...").

9 years agoReplace v?fprintf(stdout, ...) with v?printf(...).
Ralph Corderoy [Fri, 28 Oct 2016 22:10:55 +0000 (23:10 +0100)]
Replace v?fprintf(stdout, ...) with v?printf(...).

9 years agoAdded (y|n) domain to a couple of build_nmh config prompts.
David Levine [Sun, 30 Oct 2016 02:24:25 +0000 (22:24 -0400)]
Added (y|n) domain to a couple of build_nmh config prompts.

9 years agoSet first character of name[] buffer in BODY state.
David Levine [Sun, 30 Oct 2016 02:12:37 +0000 (22:12 -0400)]
Set first character of name[] buffer in BODY state.

Fix to 47313b9bc395470311e383b57eb184c830662c4a to prevent
uninitialized read, revealed by test/burst/test-burst-mime
with NMH_VALGRIND=1.

9 years agoRemoved configure options now that it determines them automatically.
David Levine [Wed, 26 Oct 2016 23:08:53 +0000 (19:08 -0400)]
Removed configure options now that it determines them automatically.

9 years agoMoved build_nmh to top level directory.
David Levine [Wed, 26 Oct 2016 15:38:45 +0000 (11:38 -0400)]
Moved build_nmh to top level directory.

9 years agoReworked output handling.
David Levine [Wed, 26 Oct 2016 15:31:49 +0000 (11:31 -0400)]
Reworked output handling.

9 years agoReworked default SASL support to enable if header and lib are found.
David Levine [Tue, 25 Oct 2016 16:10:51 +0000 (12:10 -0400)]
Reworked default SASL support to enable if header and lib are found.

9 years agoAdded -r to gcov invocation.
David Levine [Tue, 25 Oct 2016 15:35:20 +0000 (11:35 -0400)]
Added -r to gcov invocation.

9 years agoAdd -O0 instead of -O2 to CFLAGS with build_nmh -d option.
David Levine [Tue, 25 Oct 2016 15:10:01 +0000 (11:10 -0400)]
Add -O0 instead of -O2 to CFLAGS with build_nmh -d option.

9 years agoDon't add -D_FORTIFY_SOURCE to AM_CPPFLAGS with -O0.
David Levine [Tue, 25 Oct 2016 15:05:54 +0000 (11:05 -0400)]
Don't add -D_FORTIFY_SOURCE to AM_CPPFLAGS with -O0.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/nmh
Ralph Corderoy [Mon, 24 Oct 2016 23:23:49 +0000 (00:23 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/nmh

9 years agoReplace fputc() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 23:04:12 +0000 (00:04 +0100)]
Replace fputc() with putchar().

9 years agoChanged build_nmh sasl and tls defaults to be configure's.
David Levine [Mon, 24 Oct 2016 23:01:14 +0000 (19:01 -0400)]
Changed build_nmh sasl and tls defaults to be configure's.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/nmh
Ralph Corderoy [Mon, 24 Oct 2016 22:49:11 +0000 (23:49 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/nmh

9 years agoReplace putc() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 22:37:50 +0000 (23:37 +0100)]
Replace putc() with putchar().

9 years agoReplace putc() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 22:37:34 +0000 (23:37 +0100)]
Replace putc() with putchar().

9 years agoReplace putc() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 22:36:52 +0000 (23:36 +0100)]
Replace putc() with putchar().

Others already existed.  Not being a macro probably won't hurt.

9 years agoRemoved unnecessary definition of tls_support.
David Levine [Mon, 24 Oct 2016 22:31:27 +0000 (18:31 -0400)]
Removed unnecessary definition of tls_support.

9 years agoReplace puts() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 22:22:06 +0000 (23:22 +0100)]
Replace puts() with putchar().

9 years agoReplace puts() with putchar().
Ralph Corderoy [Mon, 24 Oct 2016 22:21:57 +0000 (23:21 +0100)]
Replace puts() with putchar().

9 years agoReworked default TLS support to enable if header and libs are found.
David Levine [Mon, 24 Oct 2016 22:07:48 +0000 (18:07 -0400)]
Reworked default TLS support to enable if header and libs are found.

Also, fixed AC_CHECK_LIB for libssl.  The crypto lib
needs to be the fifth, not fourth, argument.

9 years agoRemoved OAUTH support detection from because configure does it.
David Levine [Mon, 24 Oct 2016 18:33:23 +0000 (14:33 -0400)]
Removed OAUTH support detection from because configure does it.

9 years agosbr/netsec.c: Add NMH_UNUSED(nsc) twice for if !TLS_SUPPORT.
Ralph Corderoy [Mon, 24 Oct 2016 18:11:07 +0000 (19:11 +0100)]
sbr/netsec.c: Add NMH_UNUSED(nsc) twice for if !TLS_SUPPORT.

9 years agonetsec_set_tls(): Return a value in the !TLS_SUPPORT && !tls case.
Ralph Corderoy [Mon, 24 Oct 2016 17:59:30 +0000 (18:59 +0100)]
netsec_set_tls(): Return a value in the !TLS_SUPPORT && !tls case.

Silences clang.

9 years agoMore enhancements to build_nmh.
David Levine [Mon, 24 Oct 2016 16:58:04 +0000 (12:58 -0400)]
More enhancements to build_nmh.

1) Display failure messages that were hidden.
2) Display location of log file at end, if not in current directory,
   the build failed, or verbose was enabled.
3) Replaced use of showbuildenv with less invasive platform info.
4) Don't colorize tests summary if TERM is unset or dumb.

9 years agonmh.h: Add getline() prototype, conditional on HAVE_GETLINE.
Ralph Corderoy [Mon, 24 Oct 2016 15:34:17 +0000 (16:34 +0100)]
nmh.h: Add getline() prototype, conditional on HAVE_GETLINE.

9 years agoFix flex 2.6.1's output regarding signed/unsigned comparisons.
Ralph Corderoy [Mon, 24 Oct 2016 11:12:29 +0000 (12:12 +0100)]
Fix flex 2.6.1's output regarding signed/unsigned comparisons.

Add comment referencing flex bug.
Note this workaround breaks $(LFLAGS).

9 years agomhical.c: display(): Replace memcpy() with struct assignment.
Ralph Corderoy [Mon, 24 Oct 2016 11:12:09 +0000 (12:12 +0100)]
mhical.c: display(): Replace memcpy() with struct assignment.

9 years agofix_filename_param(): Remove redundant strlen().
Ralph Corderoy [Sun, 23 Oct 2016 23:18:18 +0000 (00:18 +0100)]
fix_filename_param(): Remove redundant strlen().

9 years agofix_filename_param(): Replace strncmp() with HasSuffix().
Ralph Corderoy [Sun, 23 Oct 2016 23:15:33 +0000 (00:15 +0100)]
fix_filename_param(): Replace strncmp() with HasSuffix().

9 years agosbr/utils.c: Add HasSuffix(s, suffix).
Ralph Corderoy [Sun, 23 Oct 2016 23:11:42 +0000 (00:11 +0100)]
sbr/utils.c: Add HasSuffix(s, suffix).

HasSuffix returns true if non-NULL s ends with non-NULL suffix.

9 years agoUse LEN() to save having to consider the -1.
Ralph Corderoy [Sun, 23 Oct 2016 23:03:48 +0000 (00:03 +0100)]
Use LEN() to save having to consider the -1.

9 years agoUse LEN() to save having to consider the -1.
Ralph Corderoy [Sun, 23 Oct 2016 23:03:12 +0000 (00:03 +0100)]
Use LEN() to save having to consider the -1.

9 years agoUse LEN() to save having to consider the -1.
Ralph Corderoy [Sun, 23 Oct 2016 23:02:33 +0000 (00:02 +0100)]
Use LEN() to save having to consider the -1.

9 years agoRemove unused NCWD and NPWD #defines.
Ralph Corderoy [Sun, 23 Oct 2016 23:01:54 +0000 (00:01 +0100)]
Remove unused NCWD and NPWD #defines.

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:45:34 +0000 (23:45 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:44:58 +0000 (23:44 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:44:38 +0000 (23:44 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:43:41 +0000 (23:43 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:43:19 +0000 (23:43 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:20:58 +0000 (23:20 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:20:45 +0000 (23:20 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:20:31 +0000 (23:20 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:02:49 +0000 (23:02 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 22:02:01 +0000 (23:02 +0100)]
Use HasPrefix() instead of strncmp().

9 years agonmh_command_generator(): Fix indentation.
Ralph Corderoy [Sun, 23 Oct 2016 21:59:57 +0000 (22:59 +0100)]
nmh_command_generator(): Fix indentation.

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 21:51:24 +0000 (22:51 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 21:49:25 +0000 (22:49 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 21:48:49 +0000 (22:48 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 21:47:08 +0000 (22:47 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 21:36:26 +0000 (22:36 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 17:56:58 +0000 (18:56 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoUse HasPrefix() instead of strncmp().
Ralph Corderoy [Sun, 23 Oct 2016 17:56:33 +0000 (18:56 +0100)]
Use HasPrefix() instead of strncmp().

9 years agoAlter HasSuffixC()'s char * to be const.
Ralph Corderoy [Sun, 23 Oct 2016 11:08:31 +0000 (12:08 +0100)]
Alter HasSuffixC()'s char * to be const.

9 years agoutils.c: Add HasPrefix(s, prefix).
Ralph Corderoy [Sun, 23 Oct 2016 11:02:55 +0000 (12:02 +0100)]
utils.c: Add HasPrefix(s, prefix).

HasPrefix returns true if non-NULL s starts with non-NULL prefix.

9 years agoRename EndsWithC() to HasSuffixC().
Ralph Corderoy [Sun, 23 Oct 2016 00:18:49 +0000 (01:18 +0100)]
Rename EndsWithC() to HasSuffixC().

9 years agomh-folders.man: Remove empty `.I' immediately followed by `.IR'.
Ralph Corderoy [Sun, 23 Oct 2016 00:13:57 +0000 (01:13 +0100)]
mh-folders.man: Remove empty `.I' immediately followed by `.IR'.

9 years agobuild_nmh: If cloning with git, make a shallow clone.
Ralph Corderoy [Mon, 24 Oct 2016 08:59:44 +0000 (09:59 +0100)]
build_nmh: If cloning with git, make a shallow clone.

9 years agoshowbuildenv: Drop lsb_release(1); /etc/lsb_release tested earlier.
Ralph Corderoy [Mon, 24 Oct 2016 08:46:52 +0000 (09:46 +0100)]
showbuildenv: Drop lsb_release(1);  /etc/lsb_release tested earlier.

9 years agobuild_nmh: Use `gzip -d' rather than assume tar has -z.
Ralph Corderoy [Mon, 24 Oct 2016 08:33:56 +0000 (09:33 +0100)]
build_nmh: Use `gzip -d' rather than assume tar has -z.

9 years agobuild_nmh: Have a silent curl still show errors.
Ralph Corderoy [Mon, 24 Oct 2016 08:31:00 +0000 (09:31 +0100)]
build_nmh: Have a silent curl still show errors.

Arguably, -sS should be curl's defaults!

9 years agoFixed output of commit hash by git log command.
David Levine [Sun, 23 Oct 2016 21:16:31 +0000 (17:16 -0400)]
Fixed output of commit hash by git log command.

9 years agoCheck for existence of tools/showbuildenv.
David Levine [Sun, 23 Oct 2016 21:12:04 +0000 (17:12 -0400)]
Check for existence of tools/showbuildenv.

9 years agoRedirect verbose build_nmh messages so they're visible while running.
David Levine [Sun, 23 Oct 2016 20:25:00 +0000 (16:25 -0400)]
Redirect verbose build_nmh messages so they're visible while running.

9 years agoEnhanced build_nmh to support standalone use.
David Levine [Sun, 23 Oct 2016 20:03:11 +0000 (16:03 -0400)]
Enhanced build_nmh to support standalone use.

1) If not in nmh directory, download the nmh sources from savannah
   using git clone, wget, or curl.
2) Added -b branch option, for use when downloading.
3) Support -l -.
4) Capture build environment with tools/showbuildenv.

9 years agoman: Use lowercase for command name at start of sentence.
Ralph Corderoy [Sun, 23 Oct 2016 00:10:58 +0000 (01:10 +0100)]
man: Use lowercase for command name at start of sentence.

`Inc' is a different command to `inc'.

9 years agouprf(): Rewrite, using types rather than masking ints.
Ralph Corderoy [Sat, 22 Oct 2016 23:08:17 +0000 (00:08 +0100)]
uprf(): Rewrite, using types rather than masking ints.

9 years agoAdd comment describing uprf().
Ralph Corderoy [Sat, 22 Oct 2016 22:37:19 +0000 (23:37 +0100)]
Add comment describing uprf().

9 years agoUse ToLower() instead of loop.
Ralph Corderoy [Sat, 22 Oct 2016 18:56:52 +0000 (19:56 +0100)]
Use ToLower() instead of loop.

9 years agoUse ToUpper() instead of loop.
Ralph Corderoy [Sat, 22 Oct 2016 18:53:01 +0000 (19:53 +0100)]
Use ToUpper() instead of loop.

9 years agoUse ToUpper() instead of loop.
Ralph Corderoy [Sat, 22 Oct 2016 18:52:42 +0000 (19:52 +0100)]
Use ToUpper() instead of loop.

9 years agoAdd ToLower(s) and ToUpper(s).
Ralph Corderoy [Sat, 22 Oct 2016 18:43:12 +0000 (19:43 +0100)]
Add ToLower(s) and ToUpper(s).

9 years agoputcomp(): Use local to avoid repeating tautological ternary.
Ralph Corderoy [Sat, 22 Oct 2016 18:33:24 +0000 (19:33 +0100)]
putcomp(): Use local to avoid repeating tautological ternary.

9 years agoAlter netrc permissions error message to match code. Add test.
Ralph Corderoy [Sat, 22 Oct 2016 18:18:15 +0000 (19:18 +0100)]
Alter netrc permissions error message to match code.  Add test.

The code wants `go=', but the error message, and FAQ, said to clear read
permission from group and other.  Add test to inc/test-pop as that is
the existing netrc test location, but it might be better in its own test
file as other tests for netrc parsing could be added.

9 years agoFix netrc's token()'s bug if backslash escapes EOF.
Ralph Corderoy [Sat, 22 Oct 2016 17:09:02 +0000 (18:09 +0100)]
Fix netrc's token()'s bug if backslash escapes EOF.

Discard the whole token so the user hopefully investigates.

9 years agoFix netrc's token() bug of first character being backslash.
Ralph Corderoy [Sat, 22 Oct 2016 17:01:16 +0000 (18:01 +0100)]
Fix netrc's token() bug of first character being backslash.

9 years agoMerge .netrc's token() file-reading loops; quoted and not.
Ralph Corderoy [Sat, 22 Oct 2016 16:47:06 +0000 (17:47 +0100)]
Merge .netrc's token() file-reading loops;  quoted and not.

Check for ferror(3) as well as feof(3) on entry.
Comment on lack of definition of quoted-string syntax, e.g. «"foo""bar"»
is two tokens without needing a separator.
Add comments on bugs for first non-quote character of a token being
backslash, and if a backslash escapes EOF.

9 years agoHave ruserpass() return TOK_EOF and put "" in the token table.
Ralph Corderoy [Sat, 22 Oct 2016 15:17:42 +0000 (16:17 +0100)]
Have ruserpass() return TOK_EOF and put "" in the token table.

Gives 0 a name and removes a little logic.

9 years agoReplace getcpy() with mh_xstrdup() where the string isn't NULL.
Ralph Corderoy [Sat, 22 Oct 2016 15:04:58 +0000 (16:04 +0100)]
Replace getcpy() with mh_xstrdup() where the string isn't NULL.

9 years agoCheck advertise()'s iob[] isn't too short with assert(3).
Ralph Corderoy [Sat, 22 Oct 2016 14:53:51 +0000 (15:53 +0100)]
Check advertise()'s iob[] isn't too short with assert(3).

Using DIM(a) added to h/mh.h

9 years agoUse macros in advertise() to simplify source.
Ralph Corderoy [Sat, 22 Oct 2016 14:36:40 +0000 (15:36 +0100)]
Use macros in advertise() to simplify source.

Happens to remove strlen() of literals at the same time.

9 years agoDocument advise(), adios(), admonish(), and advertise().
Ralph Corderoy [Sat, 22 Oct 2016 13:43:11 +0000 (14:43 +0100)]
Document advise(), adios(), admonish(), and advertise().

It doesn't make their design any better.  Their "ad" prefix goes against
common advice of having distinguishable identifiers to avoid mix-ups,
and seems to be a theme that got out of hand.  The out-of-order
parameters to advertise seem due to lack of strerror(3) that's no longer
a problem.

Before:
    advertise("open", "continuing...", "couldn't read profile: %s",
        path);
Could be:
    error("couldn't read profile: %s: open: %s, continuing...\n",
        path, strerror(errno));
And the "open" is typically dropped as superfluous so there's a
repetitive leading NULL passed a lot.

9 years agoPOSIX, 2016 Ed, removes bcopy(3). Stop referring to it.
Ralph Corderoy [Sat, 22 Oct 2016 12:58:43 +0000 (13:58 +0100)]
POSIX, 2016 Ed, removes bcopy(3).  Stop referring to it.

Even though it's in a comment, it shows up in searches.

9 years agoDon't need to cast to `char *' for free(3) these days.
Ralph Corderoy [Sat, 22 Oct 2016 12:45:35 +0000 (13:45 +0100)]
Don't need to cast to `char *' for free(3) these days.

9 years agoDon't need to cast to `char *' for free(3) these days.
Ralph Corderoy [Sat, 22 Oct 2016 12:45:24 +0000 (13:45 +0100)]
Don't need to cast to `char *' for free(3) these days.

9 years agoDon't need to cast to `char *' for free(3) these days.
Ralph Corderoy [Sat, 22 Oct 2016 12:45:22 +0000 (13:45 +0100)]
Don't need to cast to `char *' for free(3) these days.