The asc2g code looks at the first line of the input file to
determine if the file is the current ascii version (i.e., a tcl script)
or the old ascii version. It is looking for a "title" or "put" command
on the first line to identify tcl input. This could be easily changed to
do this check on the first non-comment line.
-John
On 01/06/2011 06:15 PM, Tom Browder wrote:
> As an experiment I added a tcl comment as the first line in my
> hitherto working ascii file which makes a valid .g with
>
> asc2g t.asc t.g
>
> Now it bombs with:
>
> ERROR: _bu_alloc size=0 (cnt=0, sz=8) botbld: vertices
>
> ERROR: bu_malloc(0)
>
> ERROR: bu_malloc(0)
>
> Saving stack trace to (unknown)-14268-bomb.log
> Causing intentional core dump due to debug flag
> Causing intentional core dump due to debug flag
> Causing intentional core dump due to debug flag
> Aborted (core dumped)
>
> Should I not expect comments to work?
>
> Thanks,
>
> -Tom
>
> Thomas M. Browder, Jr.
> Niceville, Florida
> USA
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel