On 09/21/2009 02:31 PM, Joshua Roys wrote:
Hello all,
Attached is a patch to correctly display the number of files, dirs, and
symlinks successfully compared to and differing from Spacewalk.
The second patch makes the diff output sent to Spacewalk (from config
files with differences) appear in a fixed-width font in the webUI.
Also attached is a patch that we're currently using locally to allow us
to have channels that start with "Red Hat" etc.
Thanks,
Joshua Roys
Hello again,
Attached is a patch to plug a fd leak. I relied a little too much on
java to clean up after me - and here's a situation it doesn't.
Thanks,
Joshua Roys
>From 8bc5c136760915e2fa574f81009ee36ff940511d Mon Sep 17 00:00:00 2001
From: Joshua Roys <[email protected]>
Date: Thu, 8 Oct 2009 15:29:44 -0400
Subject: [PATCH] Plug fd leak
This is possibly disastrous if you have a lot of audit files.
---
.../com/redhat/rhn/manager/audit/AuditManager.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/java/code/src/com/redhat/rhn/manager/audit/AuditManager.java
b/java/code/src/com/redhat/rhn/manager/audit/AuditManager.java
index 9e11d01..a94706d 100644
--- a/java/code/src/com/redhat/rhn/manager/audit/AuditManager.java
+++ b/java/code/src/com/redhat/rhn/manager/audit/AuditManager.java
@@ -386,6 +386,8 @@ public class AuditManager /* extends BaseManager */ {
}
}
+ brdr.close();
+
return new AuditReviewDto(machine, new Date(start), new Date(end),
reviewedBy, reviewedOn);
}
--
1.6.4
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel