History log of /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d66ee4d177307ca59f08d242e592ec95a325d26 17-Sep-2014 Stefan Kaeser <stefankaeser@hotmail.com> StdLib: Fix parameter type errors.

Fix casts of parameters to sprintf() so that they have the correct type.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Stefan Kaeser <stefankaeser@hotmail.com>
Reviewed-by: daryl.mcdaniel@intel.com



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16125 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c
0164fc8e76b6ca9023c893940ddb00ef0b6bee5a 11-Sep-2014 daryl.mcdaniel <daryl.mcdaniel@intel.com> 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
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c
7700f0f5c0ab90bf052e33fa0ddd2f2aa7e7893e 18-Feb-2012 lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> * StdLib.dsc was changed to always build the sockets code.
* Fix errors detected by the GCC compiler (pointer conversions and format mismatches).
* Worked around a GCC flow analysis issue in base64.c where the compiler is convinced that there is a path through the code where "input" is used but not initialized.
* Added EFIAPI to the file system operation routines for sockets to match the API declaration.

Note for GCC, the meaning of "l" and "L" are different in printf and sscanf format strings. The lower case "l" indicates a 32-bit value where the capital "L" indicates a 64-bit value. The native (default) integer size may be represented by a size letter of "n".

Signed-off-by: lpleahy


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13023 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c
826f9005c21d61845f64f779bc86c4ca15caa1e6 10-Feb-2012 lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> Fix some errors detected by the GCC 4.4 compiler.

Signed-off-by: lpleahy

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13006 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c
d7ce700605e1af0e455e31ec11f19ff21d26b525 30-Jul-2011 darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> Add Socket Libraries.
Add Posix functions for porting compatibility.
Fix compliance issues with ISO/IEC 9899:199409
New Functions:
setenv(), fparseln(), GetFileNameFromPath(), rename(),
realpath(), setprogname(), getprogname(), strlcat(), strlcpy(),
strsep(), setitimer(), getitimer(), timegm(), getopt(), basename(),
mkstemp(), ffs(), vsnprintf(), snprintf(), getpass(), usleep(), select(),
writev(), strcasecmp(), getcwd(), chdir(), tcgetpgrp(), getpgrp(), gettimeofday(),
bcopy(),


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12061 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ns_print.c