head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q2:1.1.0.18 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.16 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.14 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.12 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.10 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.8 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.6 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.4 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.2 pkgsrc-2010Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2012.09.26.16.52.38; author christos; state dead; branches; next 1.1; 1.1 date 2010.06.12.19.36.01; author dholland; state Exp; branches; next ; desc @@ 1.2 log @update to latest freerdist-0.94: * use intmax_t instead of long long * Don't limit the size of the environment * Don't leak a directory file descriptor * ansify * dynamically allocate EARGS * use getaddrinfo @ text @$NetBSD: patch-aq,v 1.1 2010/06/12 19:36:01 dholland Exp $ Use NULL, not 0, to terminate execl() args. Otherwise (e.g. on LP64) you might not get a pointer-sized zero value. --- src/common.c.orig 2001-03-12 18:16:36.000000000 +0000 +++ src/common.c @@@@ -859,7 +859,7 @@@@ void runcommand(cmd) (void) dup(fd[PIPE_WRITE]); (void) close(fd[PIPE_READ]); (void) close(fd[PIPE_WRITE]); - (void) execl(_PATH_BSHELL, "sh", "-c", cmd, 0); + (void) execl(_PATH_BSHELL, "sh", "-c", cmd, NULL); _exit(127); } (void) close(fd[PIPE_WRITE]); @ 1.1 log @Update lukem's earlier fixes to use intmax_t for printing/reading time_t values, and also for (perhaps not all) off_t values. And while here, fix an unrelated LP64 bug calling execl(). PKGREVISION -> 4. @ text @d1 1 a1 1 $NetBSD$ @