Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libquota This will need its own compat copy of some of t...
details: https://anonhg.NetBSD.org/src/rev/0671664deb39
branches: trunk
changeset: 773305:0671664deb39
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Jan 30 19:19:55 2012 +0000
description:
This will need its own compat copy of some of the strings from
quotaprop.h even after the latter goes away.
diffstat:
lib/libquota/getufsquota.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r f88d977292e0 -r 0671664deb39 lib/libquota/getufsquota.c
--- a/lib/libquota/getufsquota.c Mon Jan 30 19:19:20 2012 +0000
+++ b/lib/libquota/getufsquota.c Mon Jan 30 19:19:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $ */
+/* $NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $ */
/*-
* Copyright (c) 2011 Manuel Bouyer
@@ -27,17 +27,20 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $");
+__RCSID("$NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $");
#include <string.h>
#include <errno.h>
#include <quota/quota.h>
-#include <quota/quotaprop.h> /* for QUOTADICT_CLASS_* strings */
#include <quota.h>
#include "quotapvt.h"
+/* Some strings passed to getufsquota() and friends */
+#define QUOTADICT_CLASS_USER "user"
+#define QUOTADICT_CLASS_GROUP "group"
+
/*
* Return true if QV contains any actual information.
*
Home |
Main Index |
Thread Index |
Old Index