DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55PJ4oJW642858 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55PJ4oJW642858 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=LOvdYV0j X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F9093856DF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1750878288; bh=ah160ggRpdr/ZBUi2qOw4GbiyJIeBv+ppplX68yPRuY=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LOvdYV0jeRYhA1MR88GP7erNaBFf7M5xyZc8aceC/v+m+WZdMJXjsl1fbLuBZgZR8 StdvyfyEl9DSGZ0zz4m3Ut1v5Hl73keP/uirMvo65bzmviT+gmrfbzBNUiX/xfFKJF vYObIH5TlpAiOSt/h7BCE4fMUPq6owIBCjSMZh5U= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A35D385AC32 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8A35D385AC32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750878233; cv=none; b=MLWv/qZg9f7nXqAVj5gLUu3waC5g165FIS5W+Av1dMBnenkpaaO33Y+VsxSUl25XyGpLM8XB4Vzcu46YRgl2NXfRMgXOH5F12smAx5h1IgGGASt5g1sv1/CJdvtvv1zZk1pT0hdoZz7i7gfpqssKajXTpQhd4/RsctLwKoQ89Pk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750878233; c=relaxed/simple; bh=PpRiz3BbMPBQ/eKAE13JljJfj/hJStEU4+fL2KRIBiI=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=BYQBH/96mxHWDmdHDM/VD58jRYPP3bb832ohKeDv1TL6O5KGbrNcxVjioJ9UVTd+5C+yv2VZ3Q3MSxL8kUzYIjajheG8IZNHBvzIiv06NYTivTr87MgwDZj1meSknOh7HXQu3iI1aDBIjWpQW0G4xLGDw4o8HZykE5+jYG6WFpM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A35D385AC32 Message-ID: <18c271ac-8b4e-4b10-9ce2-5bbeff0676e6@SystematicSW.ab.ca> Date: Wed, 25 Jun 2025 13:03:50 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bug report: diff Content-Language: en-CA To: cygwin AT cygwin DOT com References: <116b635e-6604-602a-5f33-3efcdaecc91c AT cs DOT umass DOT edu> Organization: Systematic Software In-Reply-To: <116b635e-6604-602a-5f33-3efcdaecc91c@cs.umass.edu> X-Rspamd-Queue-Id: 7F6AD80017 X-Stat-Signature: u9k4ffzjfghxp1xq6h754cwgpcryfq1f X-Rspamd-Server: rspamout06 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX19XG7l9vCrSEq3VbTgLgQE1P+i0TwLeq8M= X-HE-Tag: 1750878231-733798 X-HE-Meta: U2FsdGVkX1/Ru2IuJXls0NNx2s0Piua2/bODzh7aYMQiDqIixllhO/YSkDlxABhUQgYwH8E+xdh7dwOnEI3fjnKUtPKsLIVP7zwuOMYQ70RD6YRT/86sZRHUVbgI2aC0UVzGrBjpWe4ZpemGD1XUQRNkGFO5nVYqbSGcqLvXSKGu8llnE6yMmKZlaOQ+tD9vQ/nZcF0l2jxjXFy0YRRGCDdru0/AcTeehgmGhArGJQwgRjGTiDzHsxKQwe1fnEQJQJFDTEld8fOOq1miI9BSOeE79Qjo16Ey2EvbBgEaqia3EtNuZgC2NIvVc32bKBkZZaPYgsLBMA97baDvpH1lvWkCx3+qd9Un X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 55PJ4oJW642858 On 2025-06-24 19:46, Eliot Moss via Cygwin wrote: > The following used to work, but now does not: > diff -q --to-file=old foo.tex bar.tex > where old is a sub-directory of the current directory. > This always reports: > diff: old: No such file or directory > It's ok when only one file is listed: > diff -q --to-file=old foo.tex Do you have entries ./old/{foo,bar}.tex, do each differ from respective ./{foo,bar}.tex, and are there any other entries or directories under ./old/? Are there are any file name case differences or symlinks in paths? It is often more useful to ls -l (-gG) and diff (-q) actual directories ./{,old/} so we can see all relevant information (maybe sanitize info if necessary). > cygcheck -c diffutils > indicates version 3.12-1. > cygwin is 3.6.3-1 > Let me know if there is more info I can offer. Any reason why you chose --to-file option for your old directory rather than the more conventional --from-file option? Note: 3.11 update was huge with ~250 commits, compared to normal ~50 commits per release, and right now getting (frequent 502 Bad Gateway) problems accessing source repo, but noticing that same file tests get a lot of optimizations, which may cause problems in our environment as we support, for example, birth time. If you could check whether the issue appeared in 3.11 and worked okay in 3.10 or point to the failing version that would be useful. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple