#161 closed defect (fixed)
There are times when psError is called but there's no error return code
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | sys | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
E.g. in psList.c, listSetIterator() calls psError, but is a void function so the error will get lost
rel2_2
Change History (4)
comment:1 by , 22 years ago
| Status: | new → assigned |
|---|
comment:2 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Changed return type of psTraceReset, psLogSetFormat, psMetadataSetIterator,
psMetadataItemPrint to return type bool, so that errors won't be lost.
psListSetIterator has gone.
Note:
See TracTickets
for help on using tickets.

We either need to change return type to bool or remove psError from the
following functions. I mark functions (1) to suggest we have them return bool,
or (2) to suggest we remove psError.
psTraceReset (2)
psLogSetFormat (2)
psListSetIterator (1)
psMetadataSetIterator (1)
psMetadataItemPrint (1)