<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>> <span style="font-size:12pt">I am attaching a proposed test based on Tony's example.</span></p>
<div><br>
</div>
<div>+1! Are there any objections or shall we integrate this change into Squeak-FileSystem?</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
<p></p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob@resfarm.de><br>
<b>Gesendet:</b> Freitag, 6. November 2020 12:31:03<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] (FSPath / 'foo.bar.zot') extension = 'bar.zot'</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Am Do., 5. Nov. 2020 um 19:41 Uhr schrieb Thiede, Christoph<br>
<Christoph.Thiede@student.hpi.uni-potsdam.de>:<br>
><br>
> Good catch! That's clearly a bug IMO. #extension should use #copyAfterLast: rather than #copyAfter:.<br>
><br>
<br>
Pharo has it like this as well, so it is also an unnecessary incompatibility:<br>
<br>
extension<br>
    "Return the extension of path basename i.e., /foo/gloops.taz<br>
extension is 'taz'"<br>
    ^ self basename copyAfterLast: self extensionDelimiter<br>
<br>
><br>
> On the other, FSReferenceTest >> #testBaseAndExtension explicitly defines a test where it says:<br>
><br>
> "Note that the extension of a complex extension starts from the first period up until the end"<br>
><br>
<br>
The original author might either have just documented that status quo,<br>
or thought of something like .tar.gz. Again Pharo has changed this to<br>
"Note that the extension of a complex extension starts after the last<br>
extension delimiter".<br>
<br>
</div>
</span></font>
</body>
</html>