delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/21/17:11:01

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57LLB1QJ1926486
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 57LLB1QJ1926486
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=xFhNFfoy
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29F6E385E825
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1755810659;
bh=T0tfH1Zk3EsYS1isb980Q2x4kFU1N30xargwyY706l4=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=xFhNFfoy01oxaPVqI9gUpGoUftUH15DC19ZzVsbhuqjijiolw6mWdWhxjmplwDa8R
I6ZDNxS/+qO7PRtu59bC3ww6iGpbGOZR8WfE2OCEtXvhQ6BOdYUmAqFeVad+uc9I69
LtESUlJqqSSUd2gNZkLMT0kuqCPLHkwowNoBDYpY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 89983385DC3D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 89983385DC3D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755810603; cv=none;
b=ExNYsCqDoNUpEogYBJ1774VkW9FskWhF2mBQwETsrZXRN6OjJdvh7s/kM6GcQDe9BKfXDUUQfQ3K4eJu4NK3MK9gwLOw2QgPqBFcwr3Z7C6via3Ee5BlVh6v2PiBBTmFDa8feg3IKud/5QiPfPCdzT4sRXC/CgXFrKrY3fjLY8Q=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1755810603; c=relaxed/simple;
bh=eT2ELbkFhtsLrCpa0TvB5PrX70a1ZePK0CrU4SD9xGg=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=gn8p15G52kWIIMwUUoj8zvHzBHorWvrhoZBX5/ThBaak3pwIBkk1fp/hR1+LiEoSB7ACK0p5XeESzAZIXpOQ12RiYNgqzuAj9J1d88Czo2LvQI6KRatmNjhwOJNEPkt3hnJkqRjH8ENuSrOdcYkQW5lLjbWMLJrT+pxRsBGdltE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89983385DC3D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1755810602; x=1756415402;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=8AhXcMz0fLkaylk8p+QJtbyQC0Szd1BcIosQsKHMGXs=;
b=uhcErbGgP3Kibamp7ojuNqlJDNC42CAXhRjVKheps10KVdNFmasV3AD+wMfmBeSzxU
q0P7XYMiAGGZuggTJ2nAcargB2RkmNsj0mtXgyHRlPiz1bqVTSxZ62cLXVVkA67ZfK0i
tGXjmL4yFY1y5WmUrHxFd3N3k9rAuXkJhP7qVU3PLTAmmlZlpbwbx1jCBYSqxyXUAid3
zt7e5cZPZzi6ZlF4S2hakBDBOc2r0UCN2waxHBd4LrdFn32nXRZu1NSfGZj5yZ8Lw2MJ
b7PKro8e0AT/MqWHbHWDk4zZC2RtJTTMJIKzQYQ6DXv15AxpGddMsw3G0s8k6cXAuK10
zUMg==
X-Gm-Message-State: AOJu0YywLVQKTbptr5mLPrpkgCMX0ObPRnYMfW0ROheLy5LZ8s6OhTI+
3wLigN7HJnN6YdzQI+qwYYRCQDlTsgnCkbONpK+WWZXNsfOssxuyoNPvJNXeGWv4MRJ3e0skb03
bzcDzVmYOjBhntJzT+pPbNcdSIrBSEGkoh2Rvr+I=
X-Gm-Gg: ASbGncu4uL+rUUnv5NYHuf1N3DNQzRBRC+sBuaa+rwIGC/I3XXPQjxNGp0klEBlpaj8
EcQyGIIDnfjv6Wiof2dee2YWDiEijHXLT1OYRT8IPI5BQwmQjC+N6vbe2JFpiLYzhBONWlpM2lk
giCtm1k2bDWnOvPLcfKYr4Qb/n7CgLIQJB8LsFTdlgT433EkpMLdY1UQvgJY9xj/Zf+dUsXaEGn
lFmBilT
X-Google-Smtp-Source: AGHT+IH2R43k5AVAQlbAeHfi+fQruRkfq6+CB9U8Y/NuLPNp2FAbvQ7mdfZ7ZJUnbAI09dETgZf9ZBt4i0VHP0GGu5s=
X-Received: by 2002:a05:6a20:6a0c:b0:243:78a:8288 with SMTP id
adf61e73a8af0-24340dee58dmr752644637.47.1755810602216; Thu, 21 Aug 2025
14:10:02 -0700 (PDT)
MIME-Version: 1.0
Date: Thu, 21 Aug 2025 23:09:50 +0200
X-Gm-Features: Ac12FXzCrBBHF0pFGvPw95j0BBO3rYUBO52xu73pWZu3H8Yd1URzfDNo1Zo-Drw
Message-ID: <CAJoYywUXEK8=B=v4SqhAELS9aqm4cH9OtRk8NT4VCEPChgVyGg@mail.gmail.com>
Subject: cloc 1.92 shebang (still) broken
To: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Irfan Adilovic via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Irfan Adilovic <irfanadilovic AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

--- cloc.orig   2025-08-21 22:59:41.886334500 +0200
+++ cloc        2025-08-21 22:39:31.481069300 +0200
@@ -1,2 +1,2 @@
-#!/usr/bin/perl perl
+#!/usr/bin/env perl
 # cloc -- Count Lines of Code                  {{{1

This was already reported in (!)
https://cygwin.com/pipermail/cygwin/2012-February/200443.html for cloc
1.55-1 (albeit with a different suggested fix). Upstream shebang has been
`#!/usr/bin/env perl`, unmodified since initial SVN commit in 2006
(available on SourceForge). It seems that there's a Cygwin-specific
maintainer script that needs to be adapted to no longer modify the shebang
when packaging the upstream for Cygwin, as the original unmodified shebang
works out of the box.

-- Irfan

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019