]> git.proxmox.com Git - mirror_edk2.git/commit - StdLib/LibC/Stdio/fvwrite.c
StdLib: Fix issue with Canonical output expansion of NL to CR NL and similar expansions.
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Dec 2012 18:19:41 +0000 (18:19 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Dec 2012 18:19:41 +0000 (18:19 +0000)
commit9f4b48a15d2dce4ae243920cdc83d46cc0eb4896
tree89e990eb5c82dcd6a85b3474a298bcd20d8eb01a
parent05cfd5f286a695ab765231f279527b588e4c460d
StdLib: Fix issue with Canonical output expansion of NL to CR NL and similar expansions.

SysCalls.c: Add IGNSPEC to the "sane" termios settings so that, by default, function keys and other special keys are ignored.

fvwrite.c:
  Line 109: Change test to less-than zero since zero is a valid value.
  Line 113: Change test to greater-than zero since we only want to loop when there are characters available.
  Line 114: Force uio_resid to zero since it might have become negative on line 113.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
Reviewed-by: lee.g.rosenbaum@intel.com
Reviewed-by: jaben.carsey@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14013 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/LibC/Stdio/fvwrite.c
StdLib/LibC/Uefi/SysCalls.c