mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Only use internal wcsndup implementation of no external one exists
darcs-hash:20051225220329-ac50b-8ab5165f227112bb28406168d6c88e45a74fc7bc.gz
This commit is contained in:
parent
b37eeb92ef
commit
b069489792
1 changed files with 2 additions and 1 deletions
3
common.c
3
common.c
|
@ -393,7 +393,7 @@ wchar_t **strv2wcsv( const char **in )
|
|||
}
|
||||
|
||||
|
||||
|
||||
#ifndef HAVE_WCSNDUP
|
||||
wchar_t *wcsndup( const wchar_t *in, int c )
|
||||
{
|
||||
c3++;
|
||||
|
@ -407,6 +407,7 @@ wchar_t *wcsndup( const wchar_t *in, int c )
|
|||
res[c] = L'\0';
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
||||
long convert_digit( wchar_t d, int base )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue