Thread: Something I don't understand on chkpass.sgml

Something I don't understand on chkpass.sgml

From
Guillaume Lelarge
Date:
I'm currently translating chkpass.sgml and I'm having problems with this
sentence :
  This is currently a stub that does nothing.

According to answers.com, a stub is a "A small software routine placed
into a program that provides a common function." So the sentence itself
is understandable but I don't understand what "the stub" refers to in
this paragraph : the error code routine ? the comparison one ? the cast
one ?

Thanks for any pointers.

Regards.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Re: Something I don't understand on chkpass.sgml

From
Alvaro Herrera
Date:
Guillaume Lelarge wrote:
> I'm currently translating chkpass.sgml and I'm having problems with this
> sentence :
>   This is currently a stub that does nothing.
>
> According to answers.com, a stub is a "A small software routine placed
> into a program that provides a common function." So the sentence itself
> is understandable but I don't understand what "the stub" refers to in
> this paragraph : the error code routine ? the comparison one ? the cast
> one ?

The stub is the function that checks the strength of the password.
Currently it is a lone "return 0", so it does not checking at all (it
has been like that for 6 years).

--
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)

Re: Something I don't understand on chkpass.sgml

From
Guillaume Lelarge
Date:
Alvaro Herrera a écrit :
> Guillaume Lelarge wrote:
>> I'm currently translating chkpass.sgml and I'm having problems with this
>> sentence :
>>   This is currently a stub that does nothing.
>>
>> According to answers.com, a stub is a "A small software routine placed
>> into a program that provides a common function." So the sentence itself
>> is understandable but I don't understand what "the stub" refers to in
>> this paragraph : the error code routine ? the comparison one ? the cast
>> one ?
>
> The stub is the function that checks the strength of the password.
> Currently it is a lone "return 0", so it does not checking at all (it
> has been like that for 6 years).
>

OK, thanks for the information.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com