search for: size_ptr

Displaying 2 results from an estimated 2 matches for "size_ptr".

2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...::Handle include Windows::Error include Windows::Memory # The buf, buf_size, and flags arguments are ignored, but are # present in order to keep the function parameters identical # to the function defined for Windows Vista and later. # def GetFinalPathNameByHandle(handle, buf, buf_size, flags) size_ptr = [0].pack(''Q'') unless GetFileSizeEx(handle, size_ptr) raise get_last_error end if size_ptr.unpack(''Q'')[0] <= 0 raise ''file size must be greater than zero'' end map = CreateFileMapping(handle, nil, PAGE_REA...
2015 Jan 06
2
[Bug 11035] New: make check failure
...ll -W -c uidlist.c -o uidlist.o uidlist.c:533:44: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getgrouplist(pw->pw_name, pw->pw_gid, gid_list, size_ptr) < 0) ^~~~~~~~ /usr/include/unistd.h:648:43: note: passing argument to parameter here int getgrouplist(const char *, int, int *, int *); ^ 1 warning generated. -- gcc -I. -I. -I./zlib -I./popt -g...