From owner-svn-src-head@FreeBSD.ORG Sun Oct 16 12:44:37 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7993F106566B for ; Sun, 16 Oct 2011 12:44:37 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 06FA28FC14 for ; Sun, 16 Oct 2011 12:44:36 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so2537379bkb.13 for ; Sun, 16 Oct 2011 05:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:organization:message-id:in-reply-to :user-agent; bh=xyd2EtEzpUggw0zfy4uYaPek0m3ExX9YHKvLRSqWR+Y=; b=j2+Yd0LDdS0dQwGrl1Aw8p0ik7ldkgmtx7ycGCM7DxbUMJFXBY8kOQeCcOZ7geWRF0 5DvTTVotThGJHJA/7aexUqFhs4t3Rei+lJt1phiNsId18wn7SoT6zXxFvlAqOH2v7qnJ 0JChZkfvhCKZlhBY0BqEpmc3S1bHazrbsV9oM= Received: by 10.223.16.82 with SMTP id n18mr17252296faa.2.1318767602768; Sun, 16 Oct 2011 05:20:02 -0700 (PDT) Received: from sam.firefly (95-9.195-178.cust.bluewin.ch. [178.195.9.95]) by mx.google.com with ESMTPS id c13sm1620107fai.3.2011.10.16.05.19.59 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 05:20:00 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: svn-src-head@freebsd.org References: <201110140724.p9E7OmMB052118@svn.freebsd.org> Date: Sun, 16 Oct 2011 14:19:57 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tcb Organization: - Message-ID: In-Reply-To: <201110140724.p9E7OmMB052118@svn.freebsd.org> User-Agent: Opera Mail/12.00 (FreeBSD) Subject: Re: svn commit: r226359 - head/usr.bin/look X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2011 12:44:37 -0000 This seems to break portsnap on amd64. As seen in ports/161703 (with error look: file too large). mfg tobias On Fri, 14 Oct 2011 09:24:48 +0200, Ed Schouten wrote: > Author: ed > Date: Fri Oct 14 07:24:48 2011 > New Revision: 226359 > URL: http://svn.freebsd.org/changeset/base/226359 > > Log: > Build look(1) with WARNS=6. > > Modified: > head/usr.bin/look/Makefile > head/usr.bin/look/look.c > > Modified: head/usr.bin/look/Makefile > ============================================================================== > --- head/usr.bin/look/Makefile Fri Oct 14 07:24:23 2011 (r226358) > +++ head/usr.bin/look/Makefile Fri Oct 14 07:24:48 2011 (r226359) > @@ -3,6 +3,4 @@ > PROG= look > -WARNS?= 2 > - > .include > > Modified: head/usr.bin/look/look.c > ============================================================================== > --- head/usr.bin/look/look.c Fri Oct 14 07:24:23 2011 (r226358) > +++ head/usr.bin/look/look.c Fri Oct 14 07:24:48 2011 (r226359) > @@ -134,7 +134,7 @@ main(int argc, char *argv[]) > do { > if ((fd = open(file, O_RDONLY, 0)) < 0 || fstat(fd, &sb)) > err(2, "%s", file); > - if (sb.st_size > SIZE_T_MAX) > + if (sb.st_size > (off_t)SIZE_T_MAX) > errx(2, "%s: %s", file, strerror(EFBIG)); > if (sb.st_size == 0) { > close(fd); > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/