Bug#455427: OPEN_MAX macro removed from linux/limits.h on

2007-12-09 Thread Martin Michlmayr
Package: gpm
Version: 1.19.6-25
Severity: serious

The OPEN_MAX macro was removed from linux/limits.h on amd64, see
#454875.  waldi writes

 OPEN_MAX got removed from the headers because nothing in the kernel
 respects this value any longer as it is a variable limit.

 Automatic build of gpm_1.19.6-25 on em64t by sbuild/amd64 0.53
...
 gcc -I. -DHAVE_CONFIG_H -include headers/config.h -DSYSCONFDIR=\/etc\ 
 -DSBINDIR=\/usr/sbin\ -Wall  -Wall -g -D_REENTRANT -O2  -c -o special.o 
 special.c
 special.c: In function 'processSpecial':
 special.c:158: error: 'OPEN_MAX' undeclared (first use in this function)
 special.c:158: error: (Each undeclared identifier is reported only once
 special.c:158: error: for each function it appears in.)
 make[2]: *** [special.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#455427: OPEN_MAX macro removed from linux/limits.h on

2007-12-09 Thread Peter Samuelson

[Martin Michlmayr]
 The OPEN_MAX macro was removed from linux/limits.h on amd64, see
 #454875.  waldi writes

sysconf(_SC_OPEN_MAX) ... right.  Thanks.
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


signature.asc
Description: Digital signature