commit | 1cad5c0d543d567787c2b13e782e620ac91211cb | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Mon May 19 13:37:14 2008 +0000 |
committer | subrata_modak <subrata_modak> | Mon May 19 13:37:14 2008 +0000 |
tree | 9a1ad6ad34da0dd5f0bacbebcc632223afc83d88 | |
parent | 5c7ad45b9d7d04cf6f053fd4fff7ca9f9110e2b2 [diff] |
The "pan/pan" would failed in segmentation fault with a wrong option "-f command-file". Among the options, the "/tmp/test" does not exist. The solution is to add condition judgements before use the pointer. To execute pan/pan with option "-p" will occurs Segmentation fault. The reason is that it not appends the "-l" option to pan to open the "logfile" for writing log. Just add a condition judgement to fix it. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.