mkpasswd support for current user option (-c)

Corinna Vinschen
Tue Nov 13 02:44:00 GMT 2001

Sorry, but your patch is not against the latest version of
in the CVS repository.  The headline of your patch contains a 
`cygwin-1.3.3-2' directory... has been changed a lot since

Btw., you shouldn't cut-n-paste a diff into your mail client but
instead either add it as an attachment or e.g in vim use `:r filename'.
The below patch is broken (tabs/line breaks).


On Tue, Nov 13, 2001 at 02:05:52PM +1100, Mathew Boorman wrote:
> 2001-11-13  Mathew Boorman  <>
> 	* mkpasswd.c (load_netapi) Add dll entry points to determine current
> user.
> 	Used explicit cast to avoid warnings.
> 	(psx_dir) Fixed const-ness of parameter.
> 	(uni2ansi) dito.
> 	(ansi2uni) New function.
>       (print_user_info) New function refactored from enum_users.
>       (enum_users) Use new function print_user_info.
> 	(print_current_user_info) New function.
> 	(usage) Add current user option.
> 	(main) Add suport for current user option.
> --- /usr/src/cygwin-1.3.3-2/winsup/utils/mkpasswd.c	Thu Sep  6 12:38:49
> 2001
> [...]

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-patches mailing list