1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

* nis/nis_table.c (nis_list): Don't fail if __follow_path returned

NIS_NOTFOUND.
This commit is contained in:
Ulrich Drepper
2007-08-22 16:04:18 +00:00
parent 2e0e1a0512
commit 0008163a30
3 changed files with 15 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ strfry (char *string)
{
int32_t j;
__random_r (&rdata, &j);
j = j % len + 1;
j = j % (len - i) + i;
char c = string[i];
string[i] = string[j];