From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1926 invoked by alias); 24 May 2006 09:31:31 -0000 Received: (qmail 1917 invoked by uid 22791); 24 May 2006 09:31:30 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 May 2006 09:31:28 +0000 Received: from mail.artimi.com ([192.168.1.3]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 24 May 2006 10:28:42 +0100 Received: from rainbow ([192.168.1.165]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 24 May 2006 10:28:42 +0100 From: "Dave Korn" To: "Thread TITTTL'd!" Subject: RE: Re: Handling special characters (\/:*?"<>|) gracefully Date: Wed, 24 May 2006 09:31:00 -0000 Message-ID: <04c401c67f14$72545240$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4C89134832705D4D85A6CD2EBF38AE0F3E0956@PAUMAILU03.ags.agere.com> Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Cygwin-Talk Maiming List X-SW-Source: 2006-q2/txt/msg00306.txt.bz2 On 23 May 2006 22:02, Williams, Gerald S (Jerry) wrote: > Another approach would have been to provide replacements for > certain Windows library functions that use native NT functions > internally to get around the limitations. I believe the total > list of needed replacements is: > > CopyFile CopyFileEx > CreateDirectory CreateDirectoryEx > CreateFile DeleteFile > FindFirstFile FindFirstFileEx > GetFileAttributes GetFileAttributesEx > GetFullPathName GetLongPathName > GetShortPathName GetBinaryType > MoveFile MoveFileEx > MoveFileWithProgress RemoveDirectory > ReplaceFile SearchPath > SetCurrentDirectory SetFileAttributes > SetFileSecurity FindFirstChangeNotification > > Of course, this would have been an NT-specific solution. > > I actually use a version of such a library to create some of > the otherwise-uncreatable files in a /dev directory (which is > not on a managed mount). That way, I can do: Is this code public? cheers, DaveK -- Can't think of a witty .sigline today....