Bug 135447 - Can't use getpass() since it is obsolete
Summary: Can't use getpass() since it is obsolete
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: glibc
Version: 3.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-12 19:08 UTC by Linda Lee
Modified: 2007-11-30 22:07 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-10-13 12:03:55 UTC


Attachments (Terms of Use)

Description Linda Lee 2004-10-12 19:08:24 UTC
Description of problem:


Version-Release number of selected component (if applicable):

Red Hat AS 3 FCS

SYNOPSIS
       #include <unistd.h>

       char *getpass( const char * prompt );

DESCRIPTION
       This function is obsolete. Do not use it.

...


From the man page,  getpass() is an obsolete function and can NOT be
used, what is its equivalent function available on RHAS3?  If there is
no equivalent, can we still use getpass()?

Comment 1 Jakub Jelinek 2004-10-13 12:03:55 UTC
See http://www.opengroup.org/onlinepubs/007908799/xsh/getpass.html
This function was marked LEGACY since it provides no functionality which a user could not easily implement, and its name
is misleading.
It has been removed in XPG6.


Note You need to log in before you can comment on or make changes to this bug.