[project @ 2003-06-19 13:20:37 by simonmar] Fix reallocBytes: when size is zero, it is supposed to act like free. Which it did, except that we were complaining about the NULL return value from C's realloc and reporting it as an error.
[project @ 2003-06-19 13:20:37 by simonmar]
Fix reallocBytes: when size is zero, it is supposed to act like free.
Which it did, except that we were complaining about the NULL return
value from C's realloc and reporting it as an error.

MERGE TO STABLE

urbanslug/ghc,da-x/ghc,ezyang/ghc,urbanslug/ghc,bitemyapp/ghc,christiaanb/ghc,christiaanb/ghc,ryantm/ghc,fmthoma/ghc,olsner/ghc,oldmanmike/ghc,mcschroeder/ghc,nathyong/microghc-ghc,TomMD/ghc,sgillespie/ghc,tjakway/ghcjvm,shlevy/ghc,mcschroeder/ghc,mfine/ghc,TomMD/ghc,gcampax/ghc,tjakway/ghcjvm,mfine/ghc,snoyberg/ghc,acowley/ghc,AlexanderPankiv/ghc,vTurbine/ghc,nkaretnikov/ghc,ghc-android/ghc,forked-upstream-packages-for-ghcjs/ghc,bitemyapp/ghc,nkaretnikov/ghc,elieux/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,acowley/ghc,mcschroeder/ghc,gridaphobe/ghc,bitemyapp/ghc,vikraman/ghc,sgillespie/ghc,ryantm/ghc,shlevy/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,anton-dessiatov/ghc,sdiehl/ghc,bitemyapp/ghc,olsner/ghc,siddhanathan/ghc,siddhanathan/ghc,siddhanathan/ghc,elieux/ghc,olsner/ghc,siddhanathan/ghc,da-x/ghc,anton-dessiatov/ghc,siddhanathan/ghc,mettekou/ghc,jstolarek/ghc,fmthoma/ghc,lukexi/ghc,shlevy/ghc,nkaretnikov/ghc,ezyang/ghc,nathyong/microghc-ghc,tibbe/ghc,nkaretnikov/ghc,ml9951/ghc,vTurbine/ghc,holzensp/ghc,spacekitteh/smcghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,ezyang/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,vTurbine/ghc,nushio3/ghc,jstolarek/ghc,sdiehl/ghc,holzensp/ghc,sdiehl/ghc,vikraman/ghc,fmthoma/ghc,nathyong/microghc-ghc,ghc-android/ghc,vTurbine/ghc,AlexanderPankiv/ghc,urbanslug/ghc,ml9951/ghc,fmthoma/ghc,oldmanmike/ghc,vikraman/ghc,green-haskell/ghc,ml9951/ghc,anton-dessiatov/ghc,green-haskell/ghc,shlevy/ghc,ezyang/ghc,mcschroeder/ghc,mettekou/ghc,acowley/ghc,gcampax/ghc,gridaphobe/ghc,gridaphobe/ghc,mfine/ghc,nushio3/ghc,sdiehl/ghc,acowley/ghc,oldmanmike/ghc,sdiehl/ghc,tjakway/ghcjvm,christiaanb/ghc,gcampax/ghc,jstolarek/ghc,mcschroeder/ghc,vikraman/ghc,spacekitteh/smcghc,urbanslug/ghc,da-x/ghc,urbanslug/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,christiaanb/ghc,siddhanathan/ghc,vTurbine/ghc,sgillespie/ghc,sgillespie/ghc,sgillespie/ghc,holzensp/ghc,urbanslug/ghc,olsner/ghc,mfine/ghc,snoyberg/ghc,ezyang/ghc,nkaretnikov/ghc,shlevy/ghc,wxwxwwxxx/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,olsner/ghc,AlexanderPankiv/ghc,fmthoma/ghc,oldmanmike/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,nkaretnikov/ghc,vTurbine/ghc,da-x/ghc,frantisekfarka/ghc-dsi,green-haskell/ghc,mettekou/ghc,snoyberg/ghc,olsner/ghc,wxwxwwxxx/ghc,sgillespie/ghc,lukexi/ghc,anton-dessiatov/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,nathyong/microghc-ghc,christiaanb/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,da-x/ghc,ml9951/ghc,anton-dessiatov/ghc,urbanslug/ghc,nathyong/microghc-ghc,olsner/ghc,ml9951/ghc,ghc-android/ghc,tibbe/ghc,TomMD/ghc,shlevy/ghc,ghc-android/ghc,lukexi/ghc,holzensp/ghc,holzensp/ghc,nushio3/ghc,elieux/ghc,tibbe/ghc,shlevy/ghc,elieux/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,mfine/ghc,nushio3/ghc,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,mettekou/ghc,da-x/ghc,elieux/ghc,nathyong/microghc-ghc,gridaphobe/ghc,tjakway/ghcjvm,lukexi/ghc,vTurbine/ghc,wxwxwwxxx/ghc,acowley/ghc,snoyberg/ghc,sgillespie/ghc,siddhanathan/ghc,oldmanmike/ghc,ghc-android/ghc,christiaanb/ghc,oldmanmike/ghc,da-x/ghc,ml9951/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,gridaphobe/ghc,ezyang/ghc,wxwxwwxxx/ghc,lukexi/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,sdiehl/ghc,mfine/ghc,mcschroeder/ghc,gcampax/ghc,ryantm/ghc,ghc-android/ghc,gcampax/ghc,gcampax/ghc,ryantm/ghc,fmthoma/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,frantisekfarka/ghc-dsi,tibbe/ghc,elieux/ghc,sdiehl/ghc,vikraman/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,TomMD/ghc,green-haskell/ghc,AlexanderPankiv/ghc,tibbe/ghc,vikraman/ghc,vikraman/ghc,gridaphobe/ghc,acowley/ghc,spacekitteh/smcghc,spacekitteh/smcghc,mettekou/ghc,gridaphobe/ghc,elieux/ghc,christiaanb/ghc,mcschroeder/ghc,nathyong/microghc-ghc,mettekou/ghc,ml9951/ghc,frantisekfarka/ghc-dsi,ezyang/ghc,green-haskell/ghc,snoyberg/ghc,TomMD/ghc,snoyberg/ghc,mettekou/ghc,AlexanderPankiv/ghc,TomMD/ghc,nushio3/ghc,snoyberg/ghc,tjakway/ghcjvm,ml9951/ghc,acowley/ghc,jstolarek/ghc