summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdntel
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/i4b/isdntel')
-rw-r--r--usr.sbin/i4b/isdntel/alias.c14
-rw-r--r--usr.sbin/i4b/isdntel/alias.h4
-rw-r--r--usr.sbin/i4b/isdntel/defs.h6
-rw-r--r--usr.sbin/i4b/isdntel/display.c6
-rw-r--r--usr.sbin/i4b/isdntel/files.c6
-rw-r--r--usr.sbin/i4b/isdntel/isdntel.812
-rw-r--r--usr.sbin/i4b/isdntel/main.c9
7 files changed, 37 insertions, 20 deletions
diff --git a/usr.sbin/i4b/isdntel/alias.c b/usr.sbin/i4b/isdntel/alias.c
index 7663496..0f4dae7 100644
--- a/usr.sbin/i4b/isdntel/alias.c
+++ b/usr.sbin/i4b/isdntel/alias.c
@@ -27,9 +27,11 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $FreeBSD$
+ * $Id: alias.c,v 1.9 1999/12/13 21:25:26 hm Exp $
*
- * last edit-date: [Mon Apr 26 13:53:13 1999]
+ * $FreeBSD$
+ *
+ * last edit-date: [Mon Dec 13 21:53:37 1999]
*
*----------------------------------------------------------------------------*/
@@ -47,10 +49,10 @@ void
init_alias(char *filename)
{
FILE *fp;
- char buffer[MAXBUFSZ + 1];
- char number[MAXBUFSZ + 1];
- char name[MAXBUFSZ + 1];
- char *s, *d;
+ unsigned char buffer[MAXBUFSZ + 1];
+ unsigned char number[MAXBUFSZ + 1];
+ unsigned char name[MAXBUFSZ + 1];
+ unsigned char *s, *d;
struct alias *newa = NULL;
struct alias *lasta = NULL;
diff --git a/usr.sbin/i4b/isdntel/alias.h b/usr.sbin/i4b/isdntel/alias.h
index 1d9e71c..813d5bd 100644
--- a/usr.sbin/i4b/isdntel/alias.h
+++ b/usr.sbin/i4b/isdntel/alias.h
@@ -27,9 +27,11 @@
* isdn4bsd common alias file handling header
* ==========================================
*
+ * $Id: alias.h,v 1.5 1999/12/13 21:25:26 hm Exp $
+ *
* $FreeBSD$
*
- * last edit-date: [Sun Feb 14 10:19:20 1999]
+ * last edit-date: [Mon Dec 13 21:53:44 1999]
*
*----------------------------------------------------------------------------*/
diff --git a/usr.sbin/i4b/isdntel/defs.h b/usr.sbin/i4b/isdntel/defs.h
index 65109a1..9b5fd69 100644
--- a/usr.sbin/i4b/isdntel/defs.h
+++ b/usr.sbin/i4b/isdntel/defs.h
@@ -27,9 +27,11 @@
* isdntel - isdn4bsd telephone answering support
* ==============================================
*
- * $FreeBSD$
+ * $Id: defs.h,v 1.10 1999/12/13 21:25:26 hm Exp $
*
- * last edit-date: [Mon Apr 26 13:55:35 1999]
+ * $FreeBSD$
+ *
+ * last edit-date: [Mon Dec 13 21:53:50 1999]
*
*----------------------------------------------------------------------------*/
diff --git a/usr.sbin/i4b/isdntel/display.c b/usr.sbin/i4b/isdntel/display.c
index bf0d898..d1f36fe 100644
--- a/usr.sbin/i4b/isdntel/display.c
+++ b/usr.sbin/i4b/isdntel/display.c
@@ -27,9 +27,11 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $FreeBSD$
+ * $Id: display.c,v 1.7 1999/12/13 21:25:26 hm Exp $
*
- * last edit-date: [Mon Apr 26 13:57:08 1999]
+ * $FreeBSD$
+ *
+ * last edit-date: [Mon Dec 13 21:53:57 1999]
*
*----------------------------------------------------------------------------*/
diff --git a/usr.sbin/i4b/isdntel/files.c b/usr.sbin/i4b/isdntel/files.c
index 6c007d3..54b2074 100644
--- a/usr.sbin/i4b/isdntel/files.c
+++ b/usr.sbin/i4b/isdntel/files.c
@@ -27,9 +27,11 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $FreeBSD$
+ * $Id: files.c,v 1.8 1999/12/13 21:25:26 hm Exp $
*
- * last edit-date: [Sun Feb 14 10:19:38 1999]
+ * $FreeBSD$
+ *
+ * last edit-date: [Mon Dec 13 21:54:06 1999]
*
*----------------------------------------------------------------------------*/
diff --git a/usr.sbin/i4b/isdntel/isdntel.8 b/usr.sbin/i4b/isdntel/isdntel.8
index 3c00f64..5dca414 100644
--- a/usr.sbin/i4b/isdntel/isdntel.8
+++ b/usr.sbin/i4b/isdntel/isdntel.8
@@ -22,10 +22,12 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" last edit-date: [Sun Feb 14 10:19:44 1999]
+.\" last edit-date: [Mon Dec 13 23:05:59 1999]
.\"
.\" $FreeBSD$
.\"
+.\" $Id: isdntel.8,v 1.9 1999/12/13 22:11:55 hm Exp $
+.\"
.Dd July 11, 1998
.Dt ISDNTEL 8
.Os
@@ -82,15 +84,15 @@ when there is no keyboard activity.
.Pp
The screen output should be obvious. If in doubt, consult the source.
.Sh SEE ALSO
-.Xr i4btel 4 ,
-.Xr isdnd.rc 5 ,
.Xr isdnd 8
+.Xr isdnd.rc 5
+.Xr i4btel 4
.Sh BUGS
Still two or more left.
-.Sh AUTHORS
+.Sh AUTHOR
The
.Nm
-utility and this manual page were written by
+utility and this manual page were written by
.An Hellmuth Michaelis Aq hm@kts.org .
diff --git a/usr.sbin/i4b/isdntel/main.c b/usr.sbin/i4b/isdntel/main.c
index 4eff3a3..da5ec82 100644
--- a/usr.sbin/i4b/isdntel/main.c
+++ b/usr.sbin/i4b/isdntel/main.c
@@ -27,13 +27,16 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $FreeBSD$
+ * $Id: main.c,v 1.12 1999/12/13 21:25:26 hm Exp $
*
- * last edit-date: [Fri Jul 30 08:16:03 1999]
+ * $FreeBSD$
+ *
+ * last edit-date: [Mon Dec 13 21:54:26 1999]
*
*----------------------------------------------------------------------------*/
#define MAIN
+#include <locale.h>
#include "defs.h"
#include "alias.h"
@@ -60,6 +63,8 @@ main(int argc, char **argv)
int rrtimeout = REREADTIMEOUT;
extern char *optarg;
+
+ setlocale( LC_ALL, "");
while ((i = getopt(argc, argv, "a:d:p:t:")) != -1)
{
OpenPOWER on IntegriCloud