[BUG]DosFileDirectory does not allow renaming of files with spaces
in their names
ned at bike-nomad.com
ned at bike-nomad.com
Wed Jun 25 00:43:08 UTC 2003
I tried to rename a file called 'a RefactoryInfo.8.sar' in the current
directory to 'Refactory.8.sar' and it failed.
24 June 2003 4:40:55 pm
VM: Win32 - Squeak3.5 of '11 April 2003' [latest update: #5180]
Image: Squeak3.5 [latest update: #5180]
DosFileDirectory(Object)>>error:
Receiver: DosFileDirectory on 'C:\Squeak'
Arguments and temporary variables:
aString: 'Failed to rename file'
Receiver's instance variables:
pathName: 'C:\Squeak'
DosFileDirectory(FileDirectory)>>rename:toBe:
Receiver: DosFileDirectory on 'C:\Squeak'
Arguments and temporary variables:
oldFileName: 'a RefactoryInfo.8.sar'
newFileName: 'Refactory.8.sar'
selection: nil
oldName: 'C:\Squeak\a RefactoryInfo.8.sar'
newName: 'C:\Squeak\Refactory.8.sar'
result: nil
Receiver's instance variables:
pathName: 'C:\Squeak'
FileList2(FileList)>>renameFile
Receiver: a FileList2
Arguments and temporary variables:
newName: 'Refactory.8.sar'
response: 'Refactory.8.sar'
item: nil
Receiver's instance variables:
dependents: #(a SystemWindow(998) a PluggableTextMorph(2842) a
SimpleHierarchic...etc...
contents: 'File ''a RefactoryInfo.8.sar'' is 997419 bytes long.
You may use the...etc...
fileName: 'a RefactoryInfo.8.sar'
directory: DosFileDirectory on 'C:\Squeak'
volList: #('[]' ' C:' ' Squeak')
volListIndex: 3
list: #('(2003.06.24 16:39:31 4,192) SqueakDebug.log' '(2003.06.24
16:27:59 8,1...etc...
listIndex: 8
pattern: '*'
sortMode: #date
brevityState: #briefFile
showDirsInFileList: false
currentDirectorySelected: a FileDirectoryWrapper
fileSelectionBlock: [] in FileList2>>initialize
dirSelectionBlock: [] in FileList2>>initialize
optionalButtonSpecs: nil
modalView: nil
directoryChangeBlock: nil
ok: nil
SimpleServiceEntry>>performServiceFor:
Receiver: Service: (a FileList2 --- renameFile
Arguments and temporary variables:
anObject: 'C:\Squeak\a RefactoryInfo.8.sar'
Receiver's instance variables:
dependents: #(a FileList2)
provider: a FileList2
label: 'rename'
selector: #renameFile
useLineAfter: nil
stateSelector: #none
description: 'rename file'
argumentGetter: nil
buttonLabel: nil
--- The full stack ---
DosFileDirectory(Object)>>error:
DosFileDirectory(FileDirectory)>>rename:toBe:
FileList2(FileList)>>renameFile
SimpleServiceEntry>>performServiceFor:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in MenuItemMorph>>invokeWithEvent:
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess
More information about the Squeak-dev
mailing list
|