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

Re: What is this?



On Wed, Jan 15, 2003 at 03:23:32PM -0800, Jason Monroe JC wrote:
> Maybe I'm having a moment, but 
> 
> I'm using RedHat 8 
> I have rpm-devel-4.1-1.06
> 
> Which includes among other things 
> /usr/include/rpm/rpmerr.h
> and 
> /usr/share/doc/rpm-devel-4.1/apidocs/html/rpmerr_8h-source.html
> 
> Now /usr/include/rpm/rpmerr.h
> Has the description for what I think to be status code 126
> ****  RPMERR_DBCONFIG	= _em(126), /*!< */   *****
> 
> Where as 
> file:/usr/share/doc/rpm-devel-4.1/apidocs/html/rpmerr_8h-source.html
> skips 126 
> 00125     RPMERR_REGEXEC      = _em(142), 
> 00127     RPMERR_BADSIGTYPE   = _em(200),   
> 
> 
> Is there evil afoot? 
> 

Because 126 != 142?

Don't worry, both 126 and 142 are equally unused anywhere in rpm code ;-)

Seriously, all that's important is the _em(...) which will set
syslog(3) type flags to determine whether the message is spit
to stdout or stderr, with or without "error: " prefix, and to implement
-v and -vv CLI switches.

Nothing else matters.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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