From: | "Vadim Kuznetsov (vadimk)" <vadimk@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools/files: wiper-warning-fix.patch |
Date: | Mon, 08 Jun 2009 12:11:02 |
Message-Id: | E1MDdgq-0003r4-Nb@stork.gentoo.org |
1 | vadimk 09/06/08 12:11:00 |
2 | |
3 | Added: wiper-warning-fix.patch |
4 | Log: |
5 | Missing patch. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-emulation/open-vm-tools/files/wiper-warning-fix.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/wiper-warning-fix.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/files/wiper-warning-fix.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wiper-warning-fix.patch |
15 | =================================================================== |
16 | --- a/lib/wiper/wiperPosix.c |
17 | +++ b/lib/wiper/wiperPosix.c |
18 | @@ -998,8 +998,9 @@ |
19 | break; |
20 | } |
21 | } |
22 | - } else { |
23 | - fgets(deviceName, sizeof deviceName, fp); |
24 | + } else if (fgets(deviceName, sizeof deviceName, fp) != deviceName) { |
25 | + Warning("%s: Error reading device name from /proc/devices.", __func__); |
26 | + break; |
27 | } |
28 | } |