rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] stat() on Windows


From: Josh Nisly
Subject: [rdiff-backup-users] stat() on Windows
Date: Sun, 20 Apr 2008 16:34:58 -0500
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Unfortunately, I've found that the stat() function on Windows is pretty broken - there are reports of it getting time stamps wrong, and it doesn't support UNC paths, for example. Because of this, Python's stat() implementation uses native Win32 functions. This patch copies some of those functions into cmodule.c.

Win32 has two sets of APIs - one that supports unicode, and one that doesn't. I've used the latter, since we're interpreting the path as a char* instead of a wchar_t*. Should this be changed to use a wchar_t? It seems like the current (existing) implementation doesn't support all character sets correctly.

Thanks,
JoshN

Attachment: rdiff-backup-stat.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]