[Python-bugs-list] [ python-Feature Requests-478407 ] Need Windows os.link() support
SourceForge.net
noreply@sourceforge.net
Mon, 12 May 2003 19:08:40 -0700
Feature Requests item #478407, was opened at 2001-11-05 11:34
Message generated for change (Comment added) made by bcannon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=478407&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need Windows os.link() support
Initial Comment:
NTFS has (always?) had hard link support. This
functionality is now exposed in Win32 starting with
Windows 2000 [see CreateHardLink()]. I've added
Windows support to os.link(). I've tried to support
FAT, NT, 95 by doing a CopyFile(). 2000 support is
enabled by defining _WIN32_WINNT=0x500 in
pythoncore.dsp. When this is done, the redundant
#include <windows.h> in errnomodule.c gives
compilation errors.
----------------------------------------------------------------------
>Comment By: Brett Cannon (bcannon)
Date: 2003-05-12 19:08
Message:
Logged In: YES
user_id=357491
If you would like this to actually be looked at it would be best to create a
patch against CVS and upload a diff file instead of a zip file.
----------------------------------------------------------------------
Comment By: Michael Dubner (dubnerm)
Date: 2003-01-17 21:49
Message:
Logged In: YES
user_id=39274
Also one can create os.symlink() and os.readlink() for all
windows versions after 95 - using shell links (like cygwin
do for symlink emulation).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-11-05 11:35
Message:
Logged In: NO
I think that I forgot to add my email address:
bcox@semio.com
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=478407&group_id=5470