[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49628] copyfile fails to copy source files wi
From: |
Richard Suchland |
Subject: |
[Octave-bug-tracker] [bug #49628] copyfile fails to copy source files with [ or ] characters in the name |
Date: |
Wed, 16 Nov 2016 21:42:13 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<http://savannah.gnu.org/bugs/?49628>
Summary: copyfile fails to copy source files with [ or ]
characters in the name
Project: GNU Octave
Submitted by: suchland
Submitted on: Wed 16 Nov 2016 09:42:10 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
Tried to copy a file with [ and ] characters in the filename and it failed. I
suspect this may be related to Octave bug ##47950.
Here is a sample:
mkdir('c:/','test');
fid = fopen('c:/test/test[1].txt','w')
fputs(fid,"This is a test");
fclose(fid);
[status, msg, msgid] = copyfile('c:/test/test[1].txt','c:/test/test[2].txt');
[status, msg, msgid] =
copyfile('c:/test/test[[]1].txt','c:/test/test[3].txt'); # applying workaround
proposed in bug #47950
Works with the proposed workaround for bug #47950 but not without
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49628>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49628] copyfile fails to copy source files with [ or ] characters in the name,
Richard Suchland <=