]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/glibc/glibc-rh688980.patch
Merge remote-tracking branch 'origin/next' into thirteen
[people/teissler/ipfire-2.x.git] / src / patches / glibc / glibc-rh688980.patch
1 2011-05-11 Ulrich Drepper <drepper@gmail.com>
2
3 [BZ #12625]
4 * misc/mntent_r.c (addmntent): Flush the stream after the output
5
6 Index: glibc-2.12-2-gc4ccff1/misc/mntent_r.c
7 ===================================================================
8 --- glibc-2.12-2-gc4ccff1.orig/misc/mntent_r.c
9 +++ glibc-2.12-2-gc4ccff1/misc/mntent_r.c
10 @@ -263,8 +263,8 @@ __addmntent (FILE *stream, const struct
11 mntcopy.mnt_type,
12 mntcopy.mnt_opts,
13 mntcopy.mnt_freq,
14 - mntcopy.mnt_passno)
15 - < 0 ? 1 : 0);
16 + mntcopy.mnt_passno) < 0
17 + || fflush (stream) != 0);
18 }
19 weak_alias (__addmntent, addmntent)
20