[squeak-dev] The Trunk: SystemReporter-laza.18.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Feb 21 23:40:59 UTC 2011
Alexander Lazarević uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-laza.18.mcz
==================== Summary ====================
Name: SystemReporter-laza.18
Author: laza
Time: 22 February 2011, 12:06:28.268 am
UUID: 68ae866a-6780-4e2b-b4b4-d2c1cfcd4b01
Ancestors: SystemReporter-laza.17
Show /proc/version in the LinuxOSDetails report
=============== Diff against SystemReporter-laza.17 ===============
Item was changed:
----- Method: SystemReporter>>reportLinuxOSDetails: (in category 'reporting') -----
reportLinuxOSDetails: aStream
self header: 'Operating System Details' on: aStream.
#(
'/etc/issue'
'/etc/lsb-release'
+ '/proc/version'
- "'/proc/version'" "Squeak can't read this?!!"
) do: [:path|
self writeContentsSafelyFromFile: path on: aStream]!
Item was changed:
----- Method: SystemReporter>>writeContentsSafelyFromFile:on: (in category 'private') -----
writeContentsSafelyFromFile: osPath on: aStream
aStream nextPutAll:
([
+ (FileStream readOnlyFileNamed: osPath) upToEnd
- (FileStream readOnlyFileNamed: osPath) contentsOfEntireFile
] on: Error do: [:ex| ex return: ex printString])!
More information about the Squeak-dev
mailing list
|