Re: [evlog-dev] Wrong use of _SC_GETPW_R_SIZE_MAX

Benoit Guillon <[email protected]> Thu, 22 Apr 2004 09:27:36 +0200
Newsgroups gmane.linux.kernel.event-logging
Message-ID <[email protected]>
--------------CEF00A1972A6EEB0D3986B17
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: Quoted-Printable

Hello Hien,

Hien Nguyen a =E9crit :

> Thanks for your suggestion. How about change it to something like this
> [...]

Yes, that's easier. The previous proposal was only to respect the origina=
l
idea.
I suggest to define the buffer size in an explicit macro.

By the way, there are other misuses of _SC_* variable name in posix1.c an=
d
normalize.c, so that defined macros like GETPW_R_SIZE_MAX and
GETGR_R_SIZE_MAX could be used by both files.

Bye,

--
Beno=EEt Guillon                [email protected]
TRT/SML                       tel. : 33 (0)4 98 16 33 90
THALES RESEARCH & TECHNOLOGY



--------------CEF00A1972A6EEB0D3986B17
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7Bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello Hien,
<p>Hien Nguyen a &eacute;crit :
<blockquote TYPE=CITE>Thanks for your suggestion. How about change it to
something like this [...]</blockquote>
Yes, that's easier. The previous proposal was only to respect the original
idea.
<br>I suggest to define the buffer size in an explicit macro.
<p>By the way, there are other misuses of _SC_* variable name in posix1.c
and normalize.c, so that defined macros like GETPW_R_SIZE_MAX and GETGR_R_SIZE_MAX
could be used by both files.
<p>Bye,
<pre>--
Beno&icirc;t Guillon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [email protected]&nbsp;
TRT/SML&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tel. : 33 (0)4 98 16 33 90&nbsp;
THALES RESEARCH &amp; TECHNOLOGY</pre>
&nbsp;</html>

--------------CEF00A1972A6EEB0D3986B17--



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click