pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45869: print/a2ps doesn't check for the existence of mempcpy



>Number:         45869
>Category:       pkg
>Synopsis:       print/a2ps doesn't check for the existence of mempcpy
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 24 22:20:00 +0000 2012
>Originator:     Stathis Kamperis
>Release:        DragonFly 3.1.0
>Organization:
>Environment:
x86_64
>Description:
I don't know whether this is the right place to report a pkgsrc bug. If not 
please feel free to relocate it.

DragonFly has now mempcpy() and print/a2ps doesn't check for it in configure 
phase. Therefore, print/a2ps will only work on systems that don't have 
mempcpy().

>How-To-Repeat:
Try to build print/a2ps in a system that has mempcpy().
>Fix:
The proper fix is to add a check for mempcpy(). It should not be any different 
to the one for memcpy(). The configure script should set HAVE_MEMPCPY if it is 
found so the #define mempcpy(...) in lib/path-concat.c won't take place.



Home | Main Index | Thread Index | Old Index