]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib: Fix some build problems and obscure bugs.
authordaryl.mcdaniel <daryl.mcdaniel@intel.com>
Thu, 11 Sep 2014 21:42:26 +0000 (21:42 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Sep 2014 21:42:26 +0000 (21:42 +0000)
commit0164fc8e76b6ca9023c893940ddb00ef0b6bee5a
treeed7da11bee1340f5e26c102ea15b7dea24b61a4f
parent9fc9f4d8b4c828e9164c48279422f69a214a3bcf
StdLib: Fix some build problems and obscure bugs.

StdLib\
  BsdSocketLib\
    ns_print.c
      Use "%lu" format instead of "%Lu".  A capital 'L' specifies (long double) in print formats.
      Add a cast from char to (unsigned int) to match its sprintf format.
    res_debug.c
      Use "%lu" format instead of "%Lu".  A capital 'L' specifies (long double) in print formats.
  EfiSocketLib\
    Socket.c
      Update copyright & correct formatting
  Include\
    sys\
      EfiCdefs.h
        Update copyright date
        Change type of LONGN and ULONGN to INTN and UINTN, respectively.
      errno.h
        Update copyright date
        Add enum member '__ESUCCESS = 0'
      fcntl.h
        Update copyright date
        Improve comment for O_EXCL
      stat.h
        Update copyright date
        Reorder the S_* flags
        Put the S_* predicate macros in the same order as their flag definitions
        Add a function header comment to the stat() function declaration.
    errno.h
      Update copyright date
      Define new ESUCCESS error code
    wchar.h
      Update copyright date
      Correct the description of the Nptr parameter to the wcstol, wcstoll, wcstoul, and wcstoull functions.
    x86\float.h
      Update copyright date
      Define 'long double' limits for non-Microsoft compilers
  LibC\
    Containers\Queues\Fifo.c
      Rewrite to make more robust and secure (zeros out old data)
    StdLib\realpath.c
      Update copyright date
      Reformat descriptive comment for realpath()
      Add terminating CRLF

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16096 6f19259b-4bc3-4df7-8a09-765794883524
12 files changed:
StdLib/BsdSocketLib/ns_print.c
StdLib/BsdSocketLib/res_debug.c
StdLib/EfiSocketLib/Socket.c
StdLib/Include/errno.h
StdLib/Include/sys/EfiCdefs.h
StdLib/Include/sys/errno.h
StdLib/Include/sys/fcntl.h
StdLib/Include/sys/stat.h
StdLib/Include/wchar.h
StdLib/Include/x86/float.h
StdLib/LibC/Containers/Queues/Fifo.c
StdLib/LibC/StdLib/realpath.c