mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 12:13:10 +00:00

- TSVN choked repeatedly when attempting to merge ~9000 revs into the branch (tried 3 times on 2 different computers) - If someone wants to delete aicom-network-fixes, they are welcome to - Lesson learned: Letting a branch get thousands of revs out of date is a horrible idea svn path=/branches/aicom-network-branch/; revision=44353
29 lines
269 B
C
29 lines
269 B
C
/* $Id$
|
|
*/
|
|
|
|
#include "tchar.h"
|
|
|
|
.globl _tcslen
|
|
|
|
_tcslen:
|
|
push %edi
|
|
mov 0x8(%esp), %edi
|
|
xor %eax, %eax
|
|
test %edi,%edi
|
|
jz _tcslen_end
|
|
|
|
mov $-1, %ecx
|
|
cld
|
|
|
|
repne _tscas
|
|
|
|
not %ecx
|
|
dec %ecx
|
|
|
|
mov %ecx, %eax
|
|
|
|
_tcslen_end:
|
|
pop %edi
|
|
ret
|
|
|
|
/* EOF */
|