Changeset 262


Ignore:
Timestamp:
Jun 12, 2009, 4:08:50 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

password prompt fix (by diver) in 3.3 branch

Location:
branches/samba-3.3.x/source/lib/replace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/samba-3.3.x/source/lib/replace/getpass.c

    r259 r262  
    153153        /* Try to write to and read from the terminal if we can.
    154154                If we can't open the terminal, use stderr and stdin.  */
    155 #ifndef __OS2__
    156155        in = fopen ("/dev/tty", "w+");
    157 #else
    158         in = NULL;
    159 #endif
    160156        if (in == NULL) {
    161157                in = stdin;
  • TabularUnified branches/samba-3.3.x/source/lib/replace/system/passwd.h

    r206 r262  
    6868#endif
    6969
    70 #ifdef REPLACE_GETPASS
     70#if defined(REPLACE_GETPASS) && !defined(__OS2__)
    7171#if defined(REPLACE_GETPASS_BY_GETPASSPHRASE)
    7272#define getpass(prompt) getpassphrase(prompt)
Note: See TracChangeset for help on using the changeset viewer.