mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Set the extension length to 0 if there is no extension (RtlGenerate8dot3Name).
svn path=/trunk/; revision=3345
This commit is contained in:
parent
ea5ed93302
commit
9443ca8347
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: dos8dot3.c,v 1.3 2002/06/06 18:59:50 ekohl Exp $
|
||||
/* $Id: dos8dot3.c,v 1.4 2002/08/17 15:23:50 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -117,6 +117,10 @@ RtlGenerate8dot3Name(IN PUNICODE_STRING Name,
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ExtLength = 0;
|
||||
}
|
||||
DPRINT("ExtBuffer: '%.04S'\n", ExtBuffer);
|
||||
DPRINT("ExtLength: %hu\n", ExtLength);
|
||||
|
||||
|
|
Loading…
Reference in a new issue