Hi,

Helpful addition. Might it help people more to make the message point to the 
replacement of the deprecated functionality?

Regards,
Ronald.


Van: Kyle Evans <kev...@freebsd.org>
Datum: maandag, 27 juli 2020 05:13
Aan: src-committ...@freebsd.org, svn-src-...@freebsd.org, 
svn-src-head@freebsd.org
Onderwerp: svn commit: r363595 - head/sys/kern

Author: kevans
Date: Mon Jul 27 03:13:23 2020
New Revision: 363595
URL: https://svnweb.freebsd.org/changeset/base/363595

Log:
  makesyscalls.sh: spit out a deprecation notice to stderr
This has for a while been replaced by makesyscalls.lua in the stock FreeBSD
  build.  Ensure downstreams get some notice that it'a going away if they're
  reliant on it, maybe.

Modified:
  head/sys/kern/makesyscalls.sh

Modified: head/sys/kern/makesyscalls.sh
==============================================================================
--- head/sys/kern/makesyscalls.sh   Mon Jul 27 01:53:27 2020    (r363594)
+++ head/sys/kern/makesyscalls.sh   Mon Jul 27 03:13:23 2020    (r363595)
@@ -60,6 +60,8 @@ case $# in
    ;;
 esac
+1>&2 echo "$0: This script is deprecated and will be removed before FreeBSD 13."
+
 if [ -n "$2" ]; then
    . "$2"
 fi
_______________________________________________
svn-src-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"



_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to