pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/dirmngr/files Fix C99-isms to make this pkg b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98cb216c5bcc
branches: trunk
changeset: 487956:98cb216c5bcc
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sat Jan 22 16:05:37 2005 +0000
description:
Fix C99-isms to make this pkg build with gcc 2.95.
diffstat:
security/dirmngr/files/runDirmngr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a5582a1e6002 -r 98cb216c5bcc security/dirmngr/files/runDirmngr.c
--- a/security/dirmngr/files/runDirmngr.c Sat Jan 22 16:00:58 2005 +0000
+++ b/security/dirmngr/files/runDirmngr.c Sat Jan 22 16:05:37 2005 +0000
@@ -103,6 +103,8 @@
{
/* We're the child */
+ char *args[MAX_ARGS];
+ unsigned int i;
if (!obtainUIDandGID(DIRMNGR_USER, &UID, &GID))
exit(-1);
@@ -127,8 +129,6 @@
}
/* Build calling argv */
- char *args[MAX_ARGS];
- unsigned int i;
args[0] = DIRMNGR_PATH;
for (i=1;i<argc;i++)
{
Home |
Main Index |
Thread Index |
Old Index