[syslinux] [PATCH] define _DEFAULT_SOURCE for glibc-2.20

Chanho Park chanho61.park at samsung.com
Thu Sep 25 00:51:39 PDT 2014


Hi,

> -----Original Message-----
> From: Ferenc Wagner [mailto:wferi at niif.hu]
> Sent: Thursday, September 25, 2014 4:42 PM
> To: Chanho Park
> Cc: syslinux at zytor.com
> Subject: Re: [syslinux] [PATCH] define _DEFAULT_SOURCE for glibc-2.20
> 
> Chanho Park <chanho61.park at samsung.com> writes:
> 
> > _BSD_SOURCE was deprecated in favour of _DEFAULT_SOURCE since glibc
> > 2.20[1]. To avoid build warning on glibc2.20, _DEFAULT_SOURCE should
> > also be defined.
> 
> Why exactly is _BSD_SOURCE (or _DEFAULT_SOURCE) needed in the Syslinux
> sources?  Maybe it would be worth pointing out in a comment.

Actually, I tried to remove _BSD_SOURCE because I think it's unnecessary
flags.
However, I'm not sure whether the removing is correct or not.
Please look this mail thread[1].

[1]: http://www.syslinux.org/archives/2014-September/022643.html

Best Regards,
Chanho Park



More information about the Syslinux mailing list