Subject: bin/1724: Warning's during a 'make world'
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 11/03/1995 22:11:15
>Number: 1724
>Category: bin
>Synopsis: There are some warning's during a 'make world'
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 3 16:35:01 1995
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current October 27, 1995
>Environment:
System: NetBSD arresum 1.1_ALPHA NetBSD 1.1_ALPHA (VEEGO) #34: Wed Nov 1 23:09:32 MET 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
There are some warning's when you make some programms.
>How-To-Repeat:
Do an make in:
src/usr.sbin/amd
src/sbin/fsck
src/sbin/dumplfs
src/sbin/fsdb
src/usr.bin/tn3270
>Fix:
*** src/usr.sbin/amd/rpcx/amq_svc.c-orig Sat Oct 14 04:50:59 1995
--- src/usr.sbin/amd/rpcx/amq_svc.c Sat Oct 21 23:24:27 1995
***************
*** 119,125 ****
return;
}
bzero((char *)&argument, sizeof(argument));
! if (!svc_getargs(transp, xdr_argument, &argument)) {
svcerr_decode(transp);
return;
}
--- 119,125 ----
return;
}
bzero((char *)&argument, sizeof(argument));
! if (!svc_getargs(transp, xdr_argument, (caddr_t) &argument)) {
svcerr_decode(transp);
return;
}
***************
*** 127,133 ****
if (result != NULL && !svc_sendreply(transp, xdr_result, result)) {
svcerr_systemerr(transp);
}
! if (!svc_freeargs(transp, xdr_argument, &argument)) {
plog(XLOG_FATAL, "unable to free rpc arguments in amqprog_1");
going_down(1);
}
--- 127,133 ----
if (result != NULL && !svc_sendreply(transp, xdr_result, result)) {
svcerr_systemerr(transp);
}
! if (!svc_freeargs(transp, xdr_argument, (caddr_t) &argument)) {
plog(XLOG_FATAL, "unable to free rpc arguments in amqprog_1");
going_down(1);
}
*** src/sbin/fsck/inode.c-orig Sat Oct 14 02:09:41 1995
--- src/sbin/fsck/inode.c Sat Oct 21 21:50:04 1995
***************
*** 540,546 ****
return (0);
}
dp->di_mode = type;
! (void)time(&dp->di_atime);
dp->di_mtime = dp->di_ctime = dp->di_atime;
dp->di_size = sblock.fs_fsize;
dp->di_blocks = btodb(sblock.fs_fsize);
--- 540,546 ----
return (0);
}
dp->di_mode = type;
! (void)time((time_t *)&dp->di_atime);
dp->di_mtime = dp->di_ctime = dp->di_atime;
dp->di_size = sblock.fs_fsize;
dp->di_blocks = btodb(sblock.fs_fsize);
*** src/sbin/dumplfs/dumplfs.c-orig Sat Oct 14 02:09:09 1995
--- src/sbin/dumplfs/dumplfs.c Sat Oct 21 21:55:17 1995
***************
*** 363,371 ****
"gid ", dip->di_gid,
"size ", dip->di_size);
(void)printf("%s%s%s%s%s%s",
! "atime ", ctime(&dip->di_atime),
! "mtime ", ctime(&dip->di_mtime),
! "ctime ", ctime(&dip->di_ctime));
(void)printf("inum %d\n", dip->di_inumber);
(void)printf("Direct Addresses\n");
for (i = 0; i < NDADDR; i++) {
--- 363,371 ----
"gid ", dip->di_gid,
"size ", dip->di_size);
(void)printf("%s%s%s%s%s%s",
! "atime ", ctime((time_t *)&dip->di_atime),
! "mtime ", ctime((time_t *)&dip->di_mtime),
! "ctime ", ctime((time_t *)&dip->di_ctime));
(void)printf("inum %d\n", dip->di_inumber);
(void)printf("Direct Addresses\n");
for (i = 0; i < NDADDR; i++) {
*** src/sbin/fsdb/fsdbutil.c-orig Sat Oct 14 02:10:03 1995
--- src/sbin/fsdb/fsdbutil.c Sat Oct 21 21:53:10 1995
***************
*** 130,142 ****
break;
}
printf("I=%lu MODE=%o SIZE=%qu", inum, dp->di_mode, dp->di_size);
! p = ctime(&dp->di_mtime);
printf("\n\tMTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
dp->di_mtimensec);
! p = ctime(&dp->di_ctime);
printf("\n\tCTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
dp->di_ctimensec);
! p = ctime(&dp->di_atime);
printf("\n\tATIME=%15.15s %4.4s [%d nsec]\n", &p[4], &p[20],
dp->di_atimensec);
--- 130,142 ----
break;
}
printf("I=%lu MODE=%o SIZE=%qu", inum, dp->di_mode, dp->di_size);
! p = ctime((time_t *)&dp->di_mtime);
printf("\n\tMTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
dp->di_mtimensec);
! p = ctime((time_t *)&dp->di_ctime);
printf("\n\tCTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20],
dp->di_ctimensec);
! p = ctime((time_t *)&dp->di_atime);
printf("\n\tATIME=%15.15s %4.4s [%d nsec]\n", &p[4], &p[20],
dp->di_atimensec);
*** src/usr.bin/tn3270/sys_curses/termout.c-orig Sat Oct 14 04:28:48 1995
--- src/usr.bin/tn3270/sys_curses/termout.c Sat Oct 21 22:31:53 1995
***************
*** 642,648 ****
#if defined(unix)
char KSEbuffer[2050];
char *lotsofspace = KSEbuffer;
! extern int abort();
extern char *tgetstr();
#endif /* defined(unix) */
--- 642,648 ----
#if defined(unix)
char KSEbuffer[2050];
char *lotsofspace = KSEbuffer;
! extern void abort();
extern char *tgetstr();
#endif /* defined(unix) */
***************
*** 655,661 ****
ClearArray(Terminal);
terminalCursorAddress = SetBufferAddress(0,0);
#if defined(unix)
! signal(SIGHUP, (void (*))abort);
#endif
TryToSend = FastScreen;
--- 655,661 ----
ClearArray(Terminal);
terminalCursorAddress = SetBufferAddress(0,0);
#if defined(unix)
! signal(SIGHUP, abort);
#endif
TryToSend = FastScreen;
>Audit-Trail:
>Unformatted: