* miscfuncs.h (NT_readline::close): New function to close handle.
(NT_readline::~NT_readline): Call close. * sec_auth.cc (verify_token): Use constructor to initialize tok_usersid. * security.h (cygsid::cygsid): Add copy constructor taking cygsid as source.
This commit is contained in:
		| @@ -222,6 +222,7 @@ public: | ||||
|   inline cygsid () : cygpsid ((PSID) sbuf), well_known_sid (false) {} | ||||
|   inline cygsid (const PSID nsid) { *this = nsid; } | ||||
|   inline cygsid (const char *nstrsid) { *this = nstrsid; } | ||||
|   inline cygsid (cygsid &nsid) { *this = nsid; } | ||||
|  | ||||
|   inline PSID set () { return psid = (PSID) sbuf; } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user