[squeak-dev] [Squeak 4.0] Anyone know much about the format of
the sources/changes files?
laza at blobworks.com
Thu Feb 25 09:21:49 UTC 2010
Btw, is there something speaking against #condenseSources asking for
the destination of the new sources file? At least on unix like systems
the assumption, that the sources file encompass the vm file in the
same directory (e.g. /usr/bin) is most likely wrong.
On Thu, Feb 25, 2010 at 09:16, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 25.02.2010, at 02:38, Randal L. Schwartz wrote:
>>>>>>> "Ronald" == Ronald Spengler <ron.spengler at gmail.com> writes:
>> Ronald> Good people of Squeak,
>> Ronald> We need to have a license statement at the top of our sources file for
>> Ronald> the 4.0 release. I've been futsing with it without success.
>> Ronald> I've tried:
>> Ronald> 'foo'!
>> Ronald> 'foo'!!
>> Ronald> !'foo'!
>> (I think) The sources file is always accessed according to byte offsets. Look
>> at the code for #condenseSources, and make sure the first thing it does is
>> write the license before rewriting everything else.
> Randal is right. You can not just add something at the beginning of the sources or changes file. These are *NOT* text files but databases, the offsets are held in the image (each method knows the file position of its source code). The normal way to put a license in the beginning would be via #condenseSources - which we need to do anyway to purge all older versions of methods.
> - Bert -
More information about the Squeak-dev