Luck Call made win32 password prompting support backspace
This commit is contained in:
		
							
								
								
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							@@ -7,6 +7,9 @@
 | 
				
			|||||||
                                  Changelog
 | 
					                                  Changelog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Daniel (13 January 2004)
 | 
					Daniel (13 January 2004)
 | 
				
			||||||
 | 
					- Luke Call made the win32 version of the password prompting function support
 | 
				
			||||||
 | 
					  backspace.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Dan Fandrich fixed the hugehelp source file to contain both a compressed and
 | 
					- Dan Fandrich fixed the hugehelp source file to contain both a compressed and
 | 
				
			||||||
  an uncompressed version in the distribution, so that more people easier can
 | 
					  an uncompressed version in the distribution, so that more people easier can
 | 
				
			||||||
  build curl with the compressed version.
 | 
					  build curl with the compressed version.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,6 +19,7 @@ This release includes the following changes:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
This release includes the following bugfixes:
 | 
					This release includes the following bugfixes:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 o the win32 password prompting supports backspace
 | 
				
			||||||
 o builds natively on AmigaOS (without unix emulation)
 | 
					 o builds natively on AmigaOS (without unix emulation)
 | 
				
			||||||
 o ftps:// now uses port 990 by default
 | 
					 o ftps:// now uses port 990 by default
 | 
				
			||||||
 o the "configure --with-spnego" action was improved
 | 
					 o the "configure --with-spnego" action was improved
 | 
				
			||||||
@@ -79,6 +80,6 @@ advice from friends like these:
 | 
				
			|||||||
 W. Rozycki, Nicolas Croiset, Josh Kapell, Gaz Iqbal, Dave May, Markus
 | 
					 W. Rozycki, Nicolas Croiset, Josh Kapell, Gaz Iqbal, Dave May, Markus
 | 
				
			||||||
 Moeller, James Clancy, Giuseppe Attardi, swalkaus at yahoo.com, Steve Green,
 | 
					 Moeller, James Clancy, Giuseppe Attardi, swalkaus at yahoo.com, Steve Green,
 | 
				
			||||||
 Marty Kuhrt, Dominick Meglio, Diego Casorran, David Byron, John McGowan,
 | 
					 Marty Kuhrt, Dominick Meglio, Diego Casorran, David Byron, John McGowan,
 | 
				
			||||||
 David J Meyer, Dan Fandrich, Pierre, Brian R Duffy
 | 
					 David J Meyer, Dan Fandrich, Pierre, Brian R Duffy, Luke Call
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
        Thanks! (and sorry if I forgot to mention someone)
 | 
					        Thanks! (and sorry if I forgot to mention someone)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -203,6 +203,11 @@ char *getpass_r(const char *prompt, char *buffer, int buflen)
 | 
				
			|||||||
      buffer[i] = 0;
 | 
					      buffer[i] = 0;
 | 
				
			||||||
      break;
 | 
					      break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    else
 | 
				
			||||||
 | 
					      if ( buffer[i] == '\b')
 | 
				
			||||||
 | 
					        /* remove this letter and if this is not the first key, remove the
 | 
				
			||||||
 | 
					           previous one as well */
 | 
				
			||||||
 | 
					        i = i - (i>=1?2:1);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  /* if user didn't hit ENTER, terminate buffer */
 | 
					  /* if user didn't hit ENTER, terminate buffer */
 | 
				
			||||||
  if (i==buflen)
 | 
					  if (i==buflen)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user