Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2001 21:40:12 -0800 (PST)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exec.c kern_intr.c kern_sema.c subr_witness.c
Message-ID:  <200112100540.fBA5eCl35471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
obrien      2001/12/09 21:40:12 PST

  Modified files:
    sys/kern             kern_exec.c kern_intr.c kern_sema.c 
                         subr_witness.c 
  Log:
  Repeat after me -- "Use of ANSI string concatenation can be bad."
  In this case, C99's __func__ is properly defined as:
  
          static const char __func__[] = "function-name";
  
  and GCC 3.1 will not allow it to be used in bogus string concatenation.
  
  Revision  Changes    Path
  1.146     +1 -1      src/sys/kern/kern_exec.c
  1.64      +17 -17    src/sys/kern/kern_intr.c
  1.2       +8 -8      src/sys/kern/kern_sema.c
  1.91      +13 -13    src/sys/kern/subr_witness.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112100540.fBA5eCl35471>