Bug #530

LibPrelude does not build with glibc 2.16

Added by Thomas ANDREJAK over 1 year ago. Updated 7 months ago.

Status:New Start:01/17/2013
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future


I have discovered build failure reason - libprelude does not build correctly with glibc 2.16

This is caused by fact, that gets has been declared as a security hole(fgets should be used instead), see http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2012-July/066729.html.

File : libmissing/stdio.in.h
Line : 119

gets is no longer used but Prelude. Maybe update this libmissing ?

530_gets.patch - patch for libmissing/stdio.in.h (804 Bytes) Nourdine AHAMADA, 04/19/2013 10:44 am


Updated by Nourdine AHAMADA about 1 year ago

I've attached a patch that put the unsetting of 'gets' (and the Warning modification) under the same condition than its definition since the ISOC11.
This issue also occurs in libpreludedb, prelude-lml and prelude manager, but the patch should work for them too.

Updated by Jean-Charles ROGEZ 7 months ago

  • Project changed from Prelude-IDS to Libprelude
  • Category deleted (generic)
  • Target version deleted (1.1.0)

Updated by Jean-Charles ROGEZ 7 months ago

  • Target version set to Future

Also available in: Atom PDF