diff options
Diffstat (limited to 'web/attachments/80965-check_disk.patch.macosx')
| -rw-r--r-- | web/attachments/80965-check_disk.patch.macosx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/web/attachments/80965-check_disk.patch.macosx b/web/attachments/80965-check_disk.patch.macosx new file mode 100644 index 0000000..11965fd --- /dev/null +++ b/web/attachments/80965-check_disk.patch.macosx | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | --- check_disk.c Fri Jul 11 07:03:47 2003 | ||
| 2 | +++ /tmp/check_disk.c Mon Mar 22 16:57:34 2004 | ||
| 3 | @@ -94,8 +94,9 @@ | ||
| 4 | |||
| 5 | while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process)) { | ||
| 6 | |||
| 7 | - if (!index (input_buffer, '/')) | ||
| 8 | - continue; | ||
| 9 | + if (index (input_buffer, '/') != input_buffer) { | ||
| 10 | + continue; | ||
| 11 | + } | ||
| 12 | |||
| 13 | /* Fixes AIX /proc fs which lists - for size values */ | ||
| 14 | if (strstr (input_buffer, "/proc ") == input_buffer) | ||
| 15 | |||
