fs2open: trunk r10815

Author Committer Branch Timestamp Parent
Echelon9 trunk 2014-06-14 03:31 Pending
Changeset Address Coverity 1093687 Resource leak in os_init_cmdline() that would occur when the -parse_cmdline_only flag was set. Refactored to improve readability at the same time. Order of precedence remains data/cmdline_fso.cfg, per-user cmdline_fso.cfg (on Linux and Mac), then actual commandline. The presence of -parse_cmdline_only will ignore all settings in on-disk cmdline_fso.cfg files
mod - /trunk/fs2_open/code/cmdline/cmdline.cpp Diff File