At 08:13 AM 10/27/2006 +0900, Paolo Bonzini wrote:
J Pfersich wrote:
Here are a few changes for gst. Some are bug fixes, some are additions
that I've been using. The fixes are in CharArray.st and VFS.st. The VFS
bug is the createDir creation of the directory with permissions of 777. I
think that world writable directories are a bad idea.
Wrong, the OS should take into account the umask shouldn't it? 0x777 means
"all bits not set in the umask", not world writable.
Actually, I'm sure that it's the shell that sets the umask. On my machines
(SUSE Linux and MacOSX 10.3.9) Linux sets the umask in /etc/csh.login and
profile; for Apple, I think the OS has 022 built-in (who knows where).
At least I have a process that isn't the child of a shell and it's creating
directories 777 to put its log files into (it's a server). And there's no
method that allows you to modify the umask so that you can make it 022 or
002. I can do that but as a stopgap I changed the permissions to 775 so
that the directories aren't world writable (the write bit is not set for
others) but are writable by others in the group.
VFS.st and File.st have changes made to the isFile method and other
additions I've been using for a while now. I didn't include an isPipe in
File, although it might be useful
Okay.
In the Character Array class, the isNumeric method probably should be in
a "testing" category instead of the "conversion" category. Also, it
should probably be set up to handle fractions and floats with exponents, too.
You're probably right.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk