[Top][All Lists]

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

Re: Bug report for glibc-2.2.5/elf/elf.h

From: Andreas Jaeger
Subject: Re: Bug report for glibc-2.2.5/elf/elf.h
Date: Tue, 01 Oct 2002 09:34:45 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, x86_64-suse-linux)

<address@hidden> writes:

> Hello,
> I think I spotted a bug in the elf/elf.h file of the glibc-2.2.5.
> Namely, line 121 reads:
> #define       ELFMAG          "\177ELF"
> and I believe it should read
> #define       ELFMAG          "\127ELF"
> The first byte in ELF is \0x7F == \127, not \177.
> Hope this helps in some way.

\177 means octal, this 127 decimal - and 0x7f hex has the same value.
So, everything is fine,

 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]