SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
--- lib/Filesys/DiskSpace.pm.orig Tue Jan 4 12:48:16 2005
|
||||
+++ lib/Filesys/DiskSpace.pm Tue Jan 4 12:48:36 2005
|
||||
@@ -89,7 +89,7 @@ sub df ($) {
|
||||
$res = syscall (&main::SYS_statfs, $dir, $fmt);
|
||||
# statfs...
|
||||
|
||||
- if ($^O eq 'freebsd') {
|
||||
+ if ($^O eq 'freebsd' or $^O eq 'openbsd') {
|
||||
# only tested with FreeBSD 3.0. Should also work with 4.0.
|
||||
my ($f1, $f2);
|
||||
($f1, $bsize, $f2, $blocks, $bfree, $bavail, $files, $ffree) =
|
Loading…
Add table
Add a link
Reference in a new issue