-/* $NetBSD: morse.c,v 1.7 1999/09/08 21:17:53 jsm Exp $ */
+/* $NetBSD: morse.c,v 1.10 2000/07/03 03:57:42 matt Exp $ */
/*
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: morse.c,v 1.7 1999/09/08 21:17:53 jsm Exp $");
+__RCSID("$NetBSD: morse.c,v 1.10 2000/07/03 03:57:42 matt Exp $");
#endif
#endif /* not lint */
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int ch;
char *s, *p;
+ /* Revoke setgid privileges */
+ setgid(getgid());
+
while ((ch = getopt(argc, argv, "ds")) != -1)
switch((char)ch) {
case 'd':