From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24791 invoked by alias); 22 Aug 2011 20:14:07 -0000 Received: (qmail 24775 invoked by uid 22791); 22 Aug 2011 20:14:06 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vx0-f169.google.com (HELO mail-vx0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Aug 2011 20:13:51 +0000 Received: by vxj3 with SMTP id 3so5361607vxj.0 for ; Mon, 22 Aug 2011 13:13:51 -0700 (PDT) Received: by 10.52.70.37 with SMTP id j5mr1367252vdu.386.1314044031089; Mon, 22 Aug 2011 13:13:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.150.134 with HTTP; Mon, 22 Aug 2011 13:13:31 -0700 (PDT) In-Reply-To: References: From: Ulrich Drepper Date: Mon, 22 Aug 2011 20:14:00 -0000 Message-ID: Subject: Re: [PATCH] Correct cycle detection during dependency sorting To: Andreas Schwab Cc: libc-hacker@sourceware.org Content-Type: text/plain; charset=UTF-8 Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00012.txt.bz2 Mostly correct. But you cannot blindly increment the counter. There are insane programs out there which will cause an overflow.