CVS commit: src/sys/arch/hpcmips/stand/lcboot
Module Name:src Committed By: dholland Date: Sat Jun 11 06:29:24 UTC 2016 Modified Files: src/sys/arch/hpcmips/stand/lcboot: main.c Log Message: PR 51200 gets in libsa considered harmful: use kgets To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hpcmips/stand/lcboot/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/hpcmips/stand/lcboot/main.c diff -u src/sys/arch/hpcmips/stand/lcboot/main.c:1.6 src/sys/arch/hpcmips/stand/lcboot/main.c:1.7 --- src/sys/arch/hpcmips/stand/lcboot/main.c:1.6 Sat Jan 22 19:19:18 2011 +++ src/sys/arch/hpcmips/stand/lcboot/main.c Sat Jun 11 06:29:24 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.6 2011/01/22 19:19:18 joerg Exp $ */ +/* $NetBSD: main.c,v 1.7 2016/06/11 06:29:24 dholland Exp $ */ /* * Copyright (c) 2003 Naoto Shimazaki. @@ -107,7 +107,7 @@ * */ #include -__KERNEL_RCSID(0, "$NetBSD: main.c,v 1.6 2011/01/22 19:19:18 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: main.c,v 1.7 2016/06/11 06:29:24 dholland Exp $"); #include @@ -833,7 +833,7 @@ bootmenu(void) /* input a line */ input[0] = '\0'; printf("> "); - gets(input); + kgets(input, sizeof(input)); cmd = input; /* skip leading whitespace. */
CVS commit: src/sys/arch/hpcmips/stand/lcboot
Module Name:src Committed By: matt Date: Wed Aug 21 07:27:01 UTC 2013 Modified Files: src/sys/arch/hpcmips/stand/lcboot: Makefile Log Message: Use bsd.klinks.mk To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hpcmips/stand/lcboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/hpcmips/stand/lcboot/Makefile diff -u src/sys/arch/hpcmips/stand/lcboot/Makefile:1.11 src/sys/arch/hpcmips/stand/lcboot/Makefile:1.12 --- src/sys/arch/hpcmips/stand/lcboot/Makefile:1.11 Sat Jan 22 19:19:18 2011 +++ src/sys/arch/hpcmips/stand/lcboot/Makefile Wed Aug 21 07:27:01 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2011/01/22 19:19:18 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2013/08/21 07:27:01 matt Exp $ .include bsd.own.mk ROMICE?= no @@ -37,16 +37,6 @@ LD_SCRIPT= lcboot.ldscript CPPFLAGS+= -DROMICE .endif -.if !make(obj) !make(clean) !make(cleandir) -.BEGIN: - @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine) - @[ -h mips ] || ln -s ${S}/arch/mips/include mips -.NOPATH: machine -.endif -CLEANFILES+= machine mips - -${OBJS}: machine mips - ### find out what to use for libkern .include ${S}/lib/libkern/Makefile.inc LIBKERN= ${KERNLIB} @@ -76,6 +66,7 @@ vers.c: ${VERSIONFILE} CLEANFILES+= ${PROG} ${PROG}: ${OBJS} ${LIBKERN} ${LIBSA} ${LIBZ} + ${_MKTARGET_LINK} ${LD} -o ${PROG} -T ${LD_SCRIPT} ${OBJS} ${LIBLIST} CLEANFILES+= ${SREC} @@ -84,3 +75,4 @@ ${SREC}: ${PROG} ${OBJCOPY} -S -O srec ${PROG} ${SREC} .include bsd.prog.mk +.include bsd.klinks.mk