Tony Mechelynck skribis:
> On 29/12/08 20:33, Dominique Pelle wrote:
> [...]
>> I wonder whether the fact that system call rename("foo.pdf", "foo.PDF")
>> does not do anything on FAT-32 can be considered as a bug
>> in FAT-32 implementation on Linux.
>>
>> Regards
>> -- Dominique
>
> I suppose that depending on POV it can be called a bug, a limitation, or
> a feature. What does
>
> ren foo.pdf foo.PDF
>
> do in cmd.exe on a Windows system?
I just got a chance to try it on Windows-XP (NTFS file system):
- In a DOS window "rename foo.pdf foo.PDF" works.
- In a Cygwin shell, "mv foo.pdf foo.PDF" works as well.
- Following C program compiled on Cygwin with gcc can also rename successfully:
$ cat test-rename.c
int main(int argc, char **argv)
{
return rename(argv[1], argv[2]);
}
$ gcc test-rename.c
$ ./a.out foo.pdf foo.PDF # works on Cygwin in NTFS
But the same C program does not do anything (without error) on Linux
in a FAT32 file system.
-- Dominique
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---