A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Alex Ionescu 8a80070849 - Fix Symbolic Link implementation:
- Use OBJECT_SYMBOLIC_LINK structure as used by Windows NT (and added the structure to the NDK)
  - Changed code to use the new names in the structure
  - Only free the symlink's name if it has one, to avoid a bugcheck.
  - Optimize parsing: if the new name is actually shorter then the target name, then don't allocate from pool, but re-use the buffer. This improves symlink parsing speed. Also fix a bug which made it depend on the incorrect implementation of NtCreateSymbolicLinkObject
  - Re-align the link target maximum length in NtCreateSymbolicLinkObject if it's odd, and fail if the length is odd, smaller then the maximum, or if the maximum is zero.
  - Originally allocate the symlink name in Paged Pool.
  - Initialize new members of the structure.
  - Fail in no-memory case, instead of continuing.
  - Properly probe the LinkTarget in NtQuerySymbolicLinkObject.
  - Properly handle which length is chosen for the copy and for the return in NtQuerySymbolicObject.
  - Lock the symbolic link object type while querying it. Eventually many more parts of Ob need to do this kind of locking.
  - SymLinkTest now only gives 2 failures.
- Fix some NDK bugs

svn path=/trunk/; revision=22000
2006-05-24 02:45:06 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc Different output for !bug command on the other channels. (#winehackers, #samba-technical) 2006-01-05 21:46:24 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 OS/2: more changes to make it conform to rbuild. 2005-08-12 20:55:07 +00:00
reactos - Fix Symbolic Link implementation: 2006-05-24 02:45:06 +00:00
rosapps - deleted temporary files, generated files, binaries 2006-04-01 15:02:38 +00:00
rosky Make the 'rosky' optional module compile. 2005-08-12 13:46:36 +00:00
vms Modify to conform to the new CSR. 2005-10-02 19:31:30 +00:00