All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

VWR-24317: Incorrect start up warnings: WARNING: remove: Attempting to remove filename: /ramdisk/imprudence/cache/textures/*/*.texture

Review Request #84 - Created Jan. 14, 2011 and submitted

Aleric Inglewood Reviewers
viewer
VWR-24317
None viewer-development
This turned out to be a simple matter of trying to remove non-existant files:
A texture with a 'body size' of 0 doesn't have a texture body file.

 
Review request changed
Updated (Jan. 16, 2011, 6:12 a.m.)
Renamed the variable to 'file_maybe_exists', which should cover its meaning more accurately, thanks!

Changed the warning into

LL_WARNS("TextureCache") << "Entry has body size of zero but file " << filename << " exists. Deleting this file, too." << LL_ENDL;

The second part is the 'resolution' of the problem. Your proposal sounded a bit too much as if the warning was about the fact that the file was being removed...
Ship it!
Posted (Jan. 20, 2011, 11:47 a.m.)