app-emulation/open-vm-tools: add gcc 4.4 patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1293 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
14
app-emulation/open-vm-tools/files/wiper-warning-fix.patch
Normal file
14
app-emulation/open-vm-tools/files/wiper-warning-fix.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/lib/wiper/wiperPosix.c
|
||||
+++ b/lib/wiper/wiperPosix.c
|
||||
@@ -998,8 +998,9 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
- } else {
|
||||
- fgets(deviceName, sizeof deviceName, fp);
|
||||
+ } else if (fgets(deviceName, sizeof deviceName, fp) != deviceName) {
|
||||
+ Warning("%s: Error reading device name from /proc/devices.", __func__);
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user