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: ll_apr_warn_status: APR: No such file or directory

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

Aleric Inglewood Reviewers
viewer
VWR-24317
None viewer-development
At start up one can get the following “warnings”:

2010-10-23T12:22:44Z WARNING: ll_apr_warn_status: APR: No such file or directory
2010-10-23T12:22:44Z WARNING: remove: Attempting to remove filename: /home/aleric/.imprudence/logs/Imprudence.logout_marker
2010-10-23T12:22:44Z WARNING: ll_apr_warn_status: APR: No such file or directory
2010-10-23T12:22:44Z WARNING: remove: Attempting to remove filename: /home/aleric/.imprudence/logs/Imprudence.llerror_marker
2010-10-23T12:22:44Z WARNING: ll_apr_warn_status: APR: No such file or directory
2010-10-23T12:22:44Z WARNING: remove: Attempting to remove filename: /home/aleric/.imprudence/logs/Imprudence.error_marker

This is nonsense since it is perfectly ok when those files don’t exist. 

 
Ship it!
Posted (Jan. 14, 2011, 1:47 p.m.)
Looks good. Files should only be removed when they actually exists, which this change accomplishes.


Just wondering:
indra/newview/llappviewer.cpp (Diff revision 1)
 
 
 
 


     

  
indra/newview/llappviewer.cpp (Diff revision 1)
 
 
 
 
 


     

  
indra/newview/llappviewer.cpp (Diff revision 1)
 
 
 
 
 
what's the reason for moving the LL_INFOS around?
  1. The last two, in order to print the correct value that gLastExecEvent is being set to: depending on the conditional, the value is set to what was printed, or to another value. The first hunk to have more symmetric code and treat that part the same as the others: first set the variable and then print it's contents.
  2. Makes sense.
Ship it!
Posted (Jan. 20, 2011, 11:40 a.m.)