cmd: Make allocation unfailable
Jacek Caban
jacek at codeweavers.com
Thu Nov 15 05:32:21 CST 2012
cmd was quite inconsistent about its OOM error handling. Also fixes heap
corruption that was the original reason I looked at this.
---
programs/cmd/batch.c | 5 +-
programs/cmd/builtins.c | 43 ++++++-----------
programs/cmd/directory.c | 31 ++++--------
programs/cmd/wcmd.h | 18 +++++++-
programs/cmd/wcmdmain.c | 116
++++++++++++++++++++--------------------------
5 files changed, 96 insertions(+), 117 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmd-Make-allocation-unfailable.diff
Type: text/x-patch
Size: 20751 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121115/186c424b/attachment-0001.bin>
More information about the wine-patches
mailing list