From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B78571F4CC for ; Thu, 9 Jan 2025 17:43:03 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=dPDYr6g5; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=UZ1/jlAR; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1736444550; bh=nwp/ePwv60r/o4HO2O3/LHb4Vmm7bT5pJAcwtFymbzc=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=dPDYr6g511QTWo7AEeR3LQcPkjazjzZ3Qb/h7ckdrbNcd/cOVUlJTQpLvFdRukJKY YmOJaqsk7Vt4jguJMrlXtcfg7s5TXRQ975dCB12sr9eGjTxwDhj6JQ0s3djiejeYKt eOicHrMI18GisYscA9fhUqCbQIsMijg39gIUMyLw= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id CCF29467EE for ; Thu, 9 Jan 2025 17:42:30 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=UZ1/jlAR; dkim-atps=neutral Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 039B1467BC for ; Thu, 9 Jan 2025 17:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=mq/bRV2Z3gBpd+V7sdy6Y0au9aFZrqjSBYU6Dh/f2SQ=; b=UZ1/jlARfKHKajaKD+jzZvKBIa+QlgR9otLJ9H5G4EgPD6wS/knprJzHlSDJU/EMGOI1 /Hg7imdu6WV85oIJ30URr8B2Mx1mz3iC1snjyWJHzANWDCnMPfsr9bsSIuzRXaSu36xnaX 9IASHJlyZu0zlDQjoyvyGtFzUzy6xvdbzcaKstPU9C/KcdUw0stYMTEsiP/KhQFGwCC0YD 71HmNnWv5gbWsFIudV4O9Vgq6FkjPLYyYY6tlCjtgqzwlqxrDiEkztGGptxUGpoyOaoknk DLP5bgv1VKzTLIIdLzDPR7Sj1LDgciXXkKK9JIL1ftTbfYwHtW/8xS5ff5zyey6Q== Received: by recvd-5f54b5d587-kwj6l with SMTP id recvd-5f54b5d587-kwj6l-1-67800A80-4C 2025-01-09 17:42:24.534636316 +0000 UTC m=+4825269.082503970 Received: from herokuapp.com (unknown) by geopod-ismtpd-37 (SG) with ESMTP id L8lX3fLNSPqTYr9Mkk54fw for ; Thu, 09 Jan 2025 17:42:24.449 +0000 (UTC) Date: Thu, 09 Jan 2025 17:42:24 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20971 X-Redmine-Issue-Author: Earlopain X-Redmine-Issue-Assignee: matz X-Redmine-Issue-Priority: Normal X-Redmine-Sender: Earlopain X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 97271 X-SG-EID: =?us-ascii?Q?u001=2EeN8dK4P86Am4z06GVDKdfuyUr=2FYDMIW0L=2F3i+rfu20a8IqvHXr8dkK0nT?= =?us-ascii?Q?JnNCPZBfBfcBXIzVHSukhq0Fst8w76lX7vgcOKR?= =?us-ascii?Q?zLI=2FaLZlFeI1n=2FdN+3OUi+F+=2FhZhBPJh0DgBIdq?= =?us-ascii?Q?o9HvLDojjyV2Jt=2F6vU=2F68dmlZjvS9kp5qyo0xrv?= =?us-ascii?Q?JmsTlD8HYXUGV1RAIu+leACfiRzLkQgVR9Y2hn3?= =?us-ascii?Q?CtPtGg21xXfXdVnJeGEWK5omTjSbEfKr3=2FHbKop?= =?us-ascii?Q?BplsubWzr3mbC8CLRJGIXal3zw=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: R3LF673MDFHKIQJ2FBNAOPNBXWWSXEM4 X-Message-ID-Hash: R3LF673MDFHKIQJ2FBNAOPNBXWWSXEM4 X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:120587] [Ruby master Feature#20971] Deprecate `rb_path_check` List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "Earlopain (Earlopain _) via ruby-core" Cc: "Earlopain (Earlopain _)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20971 has been updated by Earlopain (Earlopain _). PR https://github.com/ruby/ruby/pull/12542 ---------------------------------------- Feature #20971: Deprecate `rb_path_check` https://bugs.ruby-lang.org/issues/20971#change-111412 * Author: Earlopain (Earlopain _) * Status: Assigned * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- With #16131, various code around $SAFE, taint, etc. has been deprecated and removed. GH PR https://github.com/ruby/ruby/pull/2476. Now, [`rb_path_check`] still exists as part of the public API, with Ruby itself never using or testing it. I believe it should have been deprecated and was simply missed. Should it be deprecated today or is that not worth the effort? Docs for it are pretty vague: https://github.com/ruby/ruby/blob/33f95d632dce42fac35da29eaed33f0a5a4f0dcb/include/ruby/internal/intern/hash.h#L289-L297 > This function is mysterious. What it does is not immediately obvious. Also what it does seems platform dependent. [`rb_path_check`]: https://github.com/ruby/ruby/blob/33f95d632dce42fac35da29eaed33f0a5a4f0dcb/file.c#L6427 -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/