Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A library should avoid calling printf, exit, abort, etc. (with review) #56

Closed
semihalf-berestovskyy-andriy opened this issue Jan 24, 2017 · 0 comments
Labels

Comments

@semihalf-berestovskyy-andriy
Copy link
Contributor

semihalf-berestovskyy-andriy commented Jan 24, 2017

Note: the issue was created automatically with bugzilla2github tool

Bugzilla Bug ID: 56

Date: 2015-10-21 12:02:35 +0200
From: Sorin Vultureanu <sorin.vultureanu@enea.com>
To: Bogdan Pricope <bogdan.pricope@enea.com>
CC: bogdan.pricope@enea.com, ciprian.barbu@enea.com

Last updated: 2015-11-11 12:32:46 +0100

Bugzilla Comment ID: 70

Date: 2015-10-21 12:02:35 +0200
From: Sorin Vultureanu <sorin.vultureanu@enea.com>

Bugzilla Comment ID: 88

Date: 2015-11-02 14:32:52 +0100
From: Ciprian Barbu <ciprian.barbu@enea.com>

After reviewing the odp-fp code I think these should be looked at:

ofp_arp.c:477 - show_arp_entry effectively prints to stdout (fd=1), I think a log function should be used instead.

ofp_arp.c:650 - ofp_arp_alloc_shared_memory calls abort and exit
ofp_arp_ck.c:255 - same thing for ofp_arp_alloc_shared_memory

ofp_arp.c:668 - ofp_arp_lookup_shared_memory also calls abort and exit
ofp_arp_ck.c:272 - same thing

Bugzilla Comment ID: 98

Date: 2015-11-05 09:36:35 +0100
From: Sorin Vultureanu <sorin.vultureanu@enea.com>

*** Bug #55 has been marked as a duplicate of this bug. ***

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant