This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mkpasswd support for current user option (-c)


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

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).

Corinna

On Tue, Nov 13, 2001 at 02:05:52PM +1100, Mathew Boorman wrote:
> 2001-11-13  Mathew Boorman  <mathew.boorman@au.cmg.com>
> 
> 	* 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                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]