From 7c02f861e3512fac608b411cb5be43a41ba8735e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 21 Jun 2002 05:01:17 +0000 Subject: * uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo. (cygheap_user::env_logsrv): Verify env_domain is valid. * environ.cc: Include child_info.h and keep spenvs[] sorted. (environ_init): Check child_proc_info instead of myself->ppid_handle. --- winsup/cygwin/cygheap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/cygheap.cc') diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 9b0a2a24a..0522255f6 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -460,7 +460,7 @@ cygheap_user::set_sid (PSID new_sid) if (new_sid) { if (!psid) - psid = cmalloc (HEAP_STR, MAX_SID_LEN); + psid = cmalloc (HEAP_STR, MAX_SID_LEN); if (psid) return CopySid (MAX_SID_LEN, psid, new_sid); } -- cgit v1.2.3