Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/sup/source Pull up read_line.c of rev. 1.4 and...
details: https://anonhg.NetBSD.org/src/rev/5f3e04b9998d
branches: netbsd-1-5
changeset: 488626:5f3e04b9998d
user: enami <enami%NetBSD.org@localhost>
date: Sat Jul 22 01:56:32 2000 +0000
description:
Pull up read_line.c of rev. 1.4 and supextern.h of rev. 1.12 (approved by
thorpej):
Use correct argument type in call to "fparseln(3)". Fix supplied by
Motoyuki Konno in PR bin/10645.
diffstat:
usr.sbin/sup/source/read_line.c | 6 +++---
usr.sbin/sup/source/supextern.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r b535b11ceac5 -r 5f3e04b9998d usr.sbin/sup/source/read_line.c
--- a/usr.sbin/sup/source/read_line.c Sat Jul 22 01:47:47 2000 +0000
+++ b/usr.sbin/sup/source/read_line.c Sat Jul 22 01:56:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read_line.c,v 1.2.8.1 2000/07/22 01:40:13 enami Exp $ */
+/* $NetBSD: read_line.c,v 1.2.8.2 2000/07/22 01:56:32 enami Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: read_line.c,v 1.2.8.1 2000/07/22 01:40:13 enami Exp $");
+__RCSID("$NetBSD: read_line.c,v 1.2.8.2 2000/07/22 01:56:32 enami Exp $");
#endif
#include <sys/param.h>
@@ -55,7 +55,7 @@
read_line(fp, size, lineno, delim, flags)
FILE *fp;
size_t *size;
- int *lineno;
+ size_t *lineno;
const char delim[3]; /* unused */
int flags; /* unused */
{
diff -r b535b11ceac5 -r 5f3e04b9998d usr.sbin/sup/source/supextern.h
--- a/usr.sbin/sup/source/supextern.h Sat Jul 22 01:47:47 2000 +0000
+++ b/usr.sbin/sup/source/supextern.h Sat Jul 22 01:56:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: supextern.h,v 1.10.8.1 2000/07/22 01:40:13 enami Exp $ */
+/* $NetBSD: supextern.h,v 1.10.8.2 2000/07/22 01:56:32 enami Exp $ */
struct stat;
@@ -56,7 +56,7 @@
void quit __P((int, char *, ...));
/* read_line.c */
-char *read_line __P((FILE *, size_t *, int *, const char[3], int));
+char *read_line __P((FILE *, size_t *, size_t *, const char[3], int));
/* run.c */
int run __P((char *, ...));
Home |
Main Index |
Thread Index |
Old Index