"Anatoly Lyutin" vostok@etersoft.ru wrote:
--- programs/cmd/builtins.c 23 Jan 2007 12:20:55 -0000 1.5 +++ programs/cmd/builtins.c 26 Jan 2007 09:23:05 -0000 @@ -44,6 +44,13 @@ struct env_stack WCHAR *strings; };
+static inline unsigned int strlenW( const WCHAR *str ) +{
- const WCHAR *s = str;
- while (*s) s++;
- return s - str;
+}
Please use normal lstrlenW instead of introducing a handmade version.