[Python-bugs-list] [ python-Feature Requests-478407 ] Need Windows os.link() support

SourceForge.net noreply@sourceforge.net
Fri, 17 Jan 2003 21:49:40 -0800


Feature Requests item #478407, was opened at 2001-11-05 22:34
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: Michael Dubner (dubnerm)
Date: 2003-01-18 08: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 22: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