The Samba-Bugzilla – Attachment 7875 Details for
Bug 9151
HP-UX quota support not available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix quotas on HP-UX
0001-quota-fix-configure-test-for-HP-UX.patch (text/plain), 1.02 KB, created by
Björn Jacke
on 2012-09-10 22:22:21 UTC
(
hide
)
Description:
patch to fix quotas on HP-UX
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2012-09-10 22:22:21 UTC
Size:
1.02 KB
patch
obsolete
>From 3c0f51c62dbdff226c0ff5bc6d09936c1eba4d89 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Tue, 11 Sep 2012 00:07:45 +0200 >Subject: [PATCH] quota: fix configure test for HP-UX > >while HP-UX does have the 4A quota interface our test failed due to a missing >function prototype in HP-UX and our test running in strict mode with >compile warnings be errors. So let's make our own prototype in the test when we >are on HP*UX >--- > source3/tests/sysquotas.c | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c >index 68f8a1c..81d563f 100644 >--- a/source3/tests/sysquotas.c >+++ b/source3/tests/sysquotas.c >@@ -24,6 +24,12 @@ > # include <sys/quota.h> > #endif > >+#ifdef HPUX >+/* HPUX haÑ no prototype for quotactl but we test compile with strict >+ error checks, which would fail without function prototype */ >+extern int quotactl(int cmd, const char *special, uid_t uid, void *addr); >+#endif >+ > #ifndef SYS_DQBLK > #define SYS_DQBLK dqblk > #endif >-- >1.7.11.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9151
: 7875