Module Name: src Committed By: kre Date: Wed Nov 10 18:25:52 UTC 2021
Modified Files: src/bin/sh: builtins.def Log Message: Ensure that all of the POSIX standard utilities are correctly identified with the -u flag (that is, I hope I identified all the ones that were missing it). This change is a no-op (NFC) as the -u flag does nothing. Still, just in case we find a use for it one day, and just as a matter of general principle, we should get this correct. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/bin/sh/builtins.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/builtins.def diff -u src/bin/sh/builtins.def:1.26 src/bin/sh/builtins.def:1.27 --- src/bin/sh/builtins.def:1.26 Thu Feb 14 11:15:24 2019 +++ src/bin/sh/builtins.def Wed Nov 10 18:25:52 2021 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: builtins.def,v 1.26 2019/02/14 11:15:24 kre Exp $ +# $NetBSD: builtins.def,v 1.27 2021/11/10 18:25:52 kre Exp $ # # Copyright (c) 1991, 1993 # The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ bgcmd -j -u bg breakcmd -s break -s continue cdcmd -u cd chdir dotcmd -s . -echocmd echo +echocmd -u echo evalcmd -s eval execcmd -s exec exitcmd -s exit @@ -62,12 +62,12 @@ inputrc inputrc fgcmd -j -u fg fgcmd_percent -j -u % getoptscmd -u getopts -hashcmd hash +hashcmd -u hash jobidcmd jobid jobscmd -u jobs localcmd local #ifndef TINY -printfcmd printf +printfcmd -u printf #endif pwdcmd -u pwd readcmd -u read @@ -82,20 +82,19 @@ specialvarcmd specialvar timescmd -s times trapcmd -s trap truecmd -s : -u true -typecmd type +typecmd -u type umaskcmd -u umask unaliascmd -u unalias unsetcmd -s unset waitcmd -u wait aliascmd -u alias -ulimitcmd ulimit -testcmd test [ +ulimitcmd -u ulimit +testcmd -u test -u [ killcmd -u kill # mandated by posix for 'kill %job' wordexpcmd wordexp #newgrp -u newgrp # optional command in posix +#exprcmd -u expr # not currently built in, but could be #ifdef DEBUG debugcmd debug #endif - -#exprcmd expr