Re: Switching from CVS to GIT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brian Dessent
Date: Sunday, October 14, 2007 - 5:36 pm

Johannes Schindelin wrote:


You can achieve the same thing on Windows with CreateFile() by setting
the dwShareMode parameter to zero and setting the
FILE_FLAG_DELETE_ON_CLOSE attribute on dwFlagsAndAttributes.  This
results in a file that cannot be opened or read by any other process and
that will be automatically deleted when all open handles are closed.


This just means that you have to consider the drive letter as part of
the filename.


Windows may not call it mmap() but it most certainly has memory-mapped
file IO:
<http://msdn2.microsoft.com/en-us/library/aa366781.aspx#file_mapping_functions>.

Brian
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Switching from CVS to GIT, Brian Dessent, (Sun Oct 14, 5:36 pm)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 6:22 pm)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 6:24 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 9:12 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 11:04 pm)
Re: Switching from CVS to GIT, Steffen Prohaska, (Mon Oct 15, 12:56 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 1:20 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Mon Oct 15, 1:34 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Mon Oct 15, 1:47 am)
Re: Switching from CVS to GIT, Benoit SIGOURE, (Mon Oct 15, 2:02 am)
Re: Switching from CVS to GIT, Steffen Prohaska, (Mon Oct 15, 2:23 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 4:06 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 4:09 am)
Re: Switching from CVS to GIT, Johannes Sixt, (Mon Oct 15, 5:31 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 5:37 am)
Re: Switching from CVS to GIT, Alex Riesen, (Mon Oct 15, 10:56 am)
Re: Switching from CVS to GIT, Paul Smith, (Mon Oct 15, 11:29 am)