[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 700448] Re: gnetlist succeeds with garbage schematics



This turns out to be a problem with libgeda -- the file loading API
doesn't signal an error. o_read_buffer() needs to be improved to be able
to indicate that parsing input failed.

** Tags added: libgeda
** Tags removed: gnetlist

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/700448

Title:
  gnetlist succeeds with garbage schematics

Status in GPL Electronic Design Automation tools:
  New

Bug description:
   affects geda
 tag gnetlist
 done

gnetlist succeeds even when the input schematics specified contain
unusable garbage.

Steps to reproduce:

  echo GARBAGE > test.sch;
  if gnetlist -ggeda test.sch > /dev/null 2>/dev/null
  then
    echo Succeeded
  else
    echo Failed
  fi

Expected output: 

  Failed

Actual output:

  Succeeded

Thanks to Peter Clifton for pointing out this problem.





_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug