~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to alpine/osdep/termin.unx.c

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2008-09-23 12:17:56 UTC
  • mfrom: (2.1.8 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080923121756-6u4x8bwq89qlzt32
Tags: 2.00+dfsg-2
Update to package description: note that Alpine is no longer in
alpha. (Closes: #499640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#if !defined(lint) && !defined(DOS)
2
 
static char rcsid[] = "$Id: termin.unx.c 830 2007-11-26 23:45:22Z hubert@u.washington.edu $";
 
2
static char rcsid[] = "$Id: termin.unx.c 1014 2008-03-26 17:27:45Z hubert@u.washington.edu $";
3
3
#endif
4
4
 
5
5
/*
6
6
 * ========================================================================
7
 
 * Copyright 2006-2007 University of Washington
 
7
 * Copyright 2006-2008 University of Washington
8
8
 *
9
9
 * Licensed under the Apache License, Version 2.0 (the "License");
10
10
 * you may not use this file except in compliance with the License.
717
717
 
718
718
    while(return_v == -10) {
719
719
 
720
 
        if(flags && *flags & OE_PASSWD){
 
720
        if(flags && (*flags & (OE_PASSWD | OE_PASSWD_NOAST))){
721
721
            if((pw = getpass(prompt)) != NULL){
722
722
                if(strlen(pw) < string_size){
723
723
                    strncpy(string, pw, string_size);