Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] glibc question also....

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Thomas Orgis <thomas-forum AT orgis.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] glibc question also....
  • Date: Wed, 24 Oct 2007 09:19:08 +0200

Am Tue, 23 Oct 2007 21:35:14 -0700
schrieb "David Brown" <dmlb2000 AT gmail.com>:

> You could make a patch to define INT_MAX in growisofs.c like this
>
> #include <linux/cdrom.h>
> #define INT_MAX ((int)(~0U>>1))

Why not using
#include <limits.h>

That's where INT_MAX is defined for userspace.
I guess linux/cdrom.h should use this...?
At least with glibc that's a standard header... and cdrom.h for sure should
not define a conflicting INT_MAX itself or something.


Thomas.

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page