[asterisk-bugs] [Asterisk 0011659]: v1.4.16.2 - Function STAT() returns 1 if file exists, blank if not found, should return zero
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Dec 31 14:24:33 CST 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11659
======================================================================
Reported By: dcantera
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 11659
Category: Functions/func_env
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: 1.4.16.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 12-31-2007 14:14 CST
Last Modified: 12-31-2007 14:24 CST
======================================================================
Summary: v1.4.16.2 - Function STAT() returns 1 if file
exists, blank if not found, should return zero
Description:
I found the function STAT() does not return a zero but returns a blank on
the condition that a file does not exist.
the conditional jump does not fall through when no :, and when a label is
entered, does not jump to the label, but still goes to the (1) true
condition
see debugging info in add't info.
PS: there is no category for Functions/func_stat()...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-31-07 14:24 Corydon76 Assigned To => Corydon76
12-31-07 14:24 Corydon76 Category Functions/func_shell =>
Functions/func_env
======================================================================
More information about the asterisk-bugs
mailing list