NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57773 CVS commit: src/bin/sh



The following reply was made to PR bin/57773; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57773 CVS commit: src/bin/sh
Date: Mon, 25 Dec 2023 04:52:38 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon Dec 25 04:52:38 UTC 2023
 
 Modified Files:
 	src/bin/sh: eval.c
 
 Log Message:
 PR bin/57773
 
 Fix a bug reported by Jarle Fredrik Greipsland in PR bin/57773,
 where a substring expansion where the substring to be removed from
 a variable expansion is itself a var expansion where the value
 contains one (or more) of sh's CTLxxx chars - the pattern had
 CTLESC inserted, the string to be matched against did not.  Fail.
 We fix that by always inserting CTLESC in var assign expansions.
 See the PR for all the gory details.
 
 Thanks for the PR.
 
 XXX pullup to everything.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.190 -r1.191 src/bin/sh/eval.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index