summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* 2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-02-232-3/+5
| | | | | * syslog.cc (syslog): Do not unlock the file before closing it and remove debug_printf about stream errors.
* 2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-02-232-0/+6
| | | | | * include/winbase.h (EVENTLOG_SUCCESS): Add define. Thanks to: Thomas Weber <thomasweber@sourceforge.net>
* whitespaceChristopher Faylor2003-02-221-1/+1
|
* * cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:Christopher Faylor2003-02-224-1/+25
| | | | Export mallinfo. # malloc_wrapper.cc (mallinfo): New function.
* * syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as anChristopher Faylor2003-02-224-12/+29
| | | | | unsigned decimal. On Win95 print a timestamp and attempt to lock the file up to four times in 3 ms.
* 2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>Danny Smith2003-02-223-0/+19
| | | | | | | * include/wingdi.h (AddFontMemResourceEx[AW]): Add. (RemoveFontMemResourceEx[AW]): Ditto * lib/gdi32.def (AddFontMemResourceEx[AW]): Add. (RemoveFontMemResourceEx[AW]): Ditto.
* 2003-02-22 Bang Jun-Young <junyoung@netbsd.org>Danny Smith2003-02-222-5/+438
| | | | | * lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports. (NtCurrentTeb): Remove.
* * include/wsahelp.h: Remove ';' after closingDanny Smith2003-02-223-2/+8
| | | | | #ifdef __cplusplus brace. * include/ws2spi.h: Likewise.
* * include/winbase.h (MEMORYSTATUSEX): Add structure.Danny Smith2003-02-223-0/+23
| | | | | (GlobalMemoryStatusEx): Add prototype. * lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
* Thanks to David Frasier <davidf@sjsoft.com> who inspired portions ofEarnie Boyd2003-02-218-1871/+66
| | | | | | | | | | | | this patch. * Makefile.in (libmsvcrtd.a): Add target library. (libmoldnamed.a): Ditto. (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in template to create. ($(srcdir)): Remove explicit reference for depencies of object targets. * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def, msvcrt20.def, msvcrt40.def: Remove. * msvcrt.def.in: New file (Copy of previous msvcrt.def).
* various updates to setup entries. Stronger emphasis to use setup, and only ↵David Starks-Browning2003-02-211-14/+11
| | | | | | setup. (no more "work in progres ... ")
* new link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added ↵David Starks-Browning2003-02-211-0/+3
| | | | to Posting Guidelines entry
* remove tired subtitle "(Not completely updated for the latest net release, ↵David Starks-Browning2003-02-211-2/+0
| | | | but still useful!)"
* * fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compilerCorinna Vinschen2003-02-212-11/+13
| | | | | | warning. (fhandler_socket::fstat): Simplify. Set st_uid/st_gid to effective uid/gid of current process in case of open sockets.
* * dtable.cc (dtable::build_fhandler_from_name): Set some fhandlerCorinna Vinschen2003-02-2111-85/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | data on sockets to evaluate AF_LOCAL sockets correctly. (dtable::build_fhandler): Set unit number on sockets. * fhandler.h (fhandler_socket): Add unit number. (fhandler_socket::get_unit): New method. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Set unit number. (fhandler_socket::fstat): Reorganize to return more Linux-like values. * net.cc: include ctype.h. (fdsock): Set unit number when building fhandler. * path.cc (path_conv::check): Set device type to FH_SOCKET if file is a AF_UNIX socket. (get_devn): Evaluate unit for virtual socket devices. (win32_device_name): Set windows path for sockets to unix_path with just backslashes to keep the different names. * syscalls.cc (fstat64): Don't override st_ino, st_dev and st_rdev for sockets. (stat_worker): Ditto. From Pierre Humblet: * autoload.cc (AccessCheck): Add. (DuplicateToken): Add. * security.h (check_file_access): Declare. * syscalls.cc (access): Convert path to Windows, check existence and readonly attribute. Call check_file_access instead of acl_access. * security.cc (check_file_access): Create. * sec_acl (acl_access): Delete.
* * fhandler.cc (fhandler_base::open): Move some filesystem specific stuff.Christopher Faylor2003-02-214-27/+38
| | | | | | (fhandler_disk_file::open): Accept some filesystem specific stuff. * sigproc.cc (wait_for_sigthread): Become slightly more thread safe. (sig_send): Don't assume that signal thread is ready.
* * wincap.h (wincap): Remove unnecessary definition ofCorinna Vinschen2003-02-203-24/+17
| | | | | supports_sparse_files. * wincap.cc: Ditto.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Check descriptorCorinna Vinschen2003-02-205-159/+197
| | | | | | | | | | | | created by cygheap_fdnew constructor. * fhandler_virtual.cc (fhandler_virtual::opendir): Ditto. * fhandler_socket.cc (fhandler_socket::accept): Ditto and move creation of file descriptor behind blocking OS call. * net.cc (cygwin_socket): Ditto. (cygwin_rcmd): Ditto. (cygwin_rresvport): Ditto. (cygwin_rexec): Ditto. (socketpair): Ditto.
* * winsup.api/crlf.c: Fix C signed/unsigned compare warning.Corinna Vinschen2003-02-2024-28/+54
| | | | | | | | | | | | | | | | | | | | | | | | | * winsup.api/mmaptest01.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/fork04.c: Ditto. * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/lseek06.c: Ditto. * winsup.api/ltp/lseek07.c: Ditto. * winsup.api/ltp/lseek08.c: Ditto. * winsup.api/ltp/mmap001.c: Ditto. * winsup.api/ltp/mmap02.c: Ditto. * winsup.api/ltp/mmap03.c: Ditto. * winsup.api/ltp/mmap04.c: Ditto. * winsup.api/ltp/mmap05.c: Ditto. * winsup.api/ltp/mmap06.c: Ditto. * winsup.api/ltp/mmap07.c: Ditto. * winsup.api/ltp/mmap08.c: Ditto. * winsup.api/ltp/pipe11.c: Ditto. * winsup.api/ltp/poll01.c: Ditto. * winsup.api/ltp/sync02.c: Ditto. * winsup.api/ltp/times03.c: Ditto. * winsup.api/ltp/umask03.c: Ditto. * winsup.api/ltp/getpgid01.c: Remove unused obsolete include. * winsup.api/ltp/getpgid02.c: Ditto.
* * autoload.cc (GetCompressedFileSize): Add.Corinna Vinschen2003-02-203-1/+21
| | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Compute st_blocks value from GetCompressedFileSize() if available.
* w32api:Corinna Vinschen2003-02-207-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | * include/winioctl.h (FSCTL_SET_SPARSE): Define. cygwin: * wincap.h (wincaps::supports_sparse_files): New flag. (wincapc::supports_sparse_files): New method. * wincap.cc (wincap_unknown): Define value for the new flag. (wincap_95): Ditto. (wincap_95osr2): Ditto. (wincap_98): Ditto. (wincap_98se): Ditto. (wincap_me): Ditto. (wincap_nt3): Ditto. (wincap_nt4): Ditto. (wincap_nt4sp4): Ditto. (wincap_2000): Ditto. (wincap_xp): Ditto. * path.h (path_conv::fs_flags): New method. * fhandler_disk_file.cc: Include winioctl.h for DeviceIoControl. (fhandler_disk_file::open): Set newly created and truncated files as sparse on platforms that support it.
* * Makefile.in: Make sure libmingwex.a from current build tree is used.Corinna Vinschen2003-02-202-2/+7
|
* * grp.cc (internal_getgroups): Handle properly tokens withCorinna Vinschen2003-02-182-3/+6
| | | | no groups. Fix bug introduced on 2003-02-04.
* * cygwin.din: Export all appropriate newlibc libm functions. Sort.Christopher Faylor2003-02-163-448/+481
| | | | * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export all appropriate newlib functions.Christopher Faylor2003-02-153-3/+82
| | | | * include/cygwin/version.h: Bump API minor number.
* * mmap.cc (mprotect): Add missing break.Corinna Vinschen2003-02-142-0/+5
|
* * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to ensureChristopher Faylor2003-02-142-1/+6
| | | | -mno-cygwin where appropriate. Filter out -O2.
* * exceptions.cc (try_to_debug): Don't reset priority when returning fromChristopher Faylor2003-02-142-3/+6
| | | | non-waitloop call.
* Fix typo in last ChangeLog entry.Danny Smith2003-02-141-1/+1
|
* * profile/Makefile.in (mcount,o): Use -O1 optimizationDanny Smith2003-02-142-0/+10
| | | | switch to compile.
* * fhandler_console.cc (fhandler_console::write_normal): Use MessageBeep forChristopher Faylor2003-02-133-1/+10
| | | | | bell sound. * autoload.cc (MessageBeep): Add.
* * include/cygwin/types.h: Use correct ifdef guard for u_ definitions.Christopher Faylor2003-02-132-8/+12
|
* * environ.cc (environ_init): Use strechr.Christopher Faylor2003-02-131-0/+4
|
* oops.Christopher Faylor2003-02-131-1/+1
|
* * include/cygwin/in.h (sockaddr_in): Fix typo.Christopher Faylor2003-02-133-3/+95
|
* fix typoChristopher Faylor2003-02-131-2/+2
|
* * how.texinfo: Add more w32api words.Christopher Faylor2003-02-132-4/+12
|
* * path.h (path_conv): Reorganize slightly.Christopher Faylor2003-02-132-2/+8
|
* * fhandler_tty.cc (process_input): Add sanity check to ensure that consoleChristopher Faylor2003-02-131-0/+5
| | | | typeahead is cleared on signal.
* * spawn.cc (linebuf::~linebuf): Resurrect commented out (for debugging?) code.Christopher Faylor2003-02-134-3/+10
|
* * MAINTAINERS: Remove out-of-date file.Christopher Faylor2003-02-132-7/+4
|
* * cygpath.cc (doit): Allocate more space for non-path filename.Christopher Faylor2003-02-122-5/+9
|
* 2003-02-12 Roland Schwingel <roland.schwingel@onevision.de>Danny Smith2003-02-123-0/+37
| | | | | | | | | * include/wingdi.h (AddFontResourceEx[AW]): Add. (RemoveFontResourceEx[AW]): Ditto (FR_PRIVATE): Define. (FR_NOT_ENUM): Define. * lib/gdi32.def (AddFontResourceEx[AW]): Add. (RemoveFontResourceEx[AW]): Ditto.
* * include/math.h: Remove _CRTIMP from pow() prototype,Danny Smith2003-02-102-1/+9
| | | | unless __NO_ISOCEXT.
* * include/cygwin/in.h (in_attr_t): Define new type.Christopher Faylor2003-02-108-84/+233
| | | | | | | | | | | | | | | | | | * include/arpa/inet.h (inet_addr): Change return type to in_addr_t. (inet_lnaof): Ditto. (inet_netof): Ditto. (inet_network): Ditto. * include/cygwin/types.h: Move many *_t typedefs here. Protect them with ifdefs. * fhandler_disk_file.cc (fhandler_disk_file::fstat): Change ntsec_atts to mode_t. * security.cc (get_attribute_from_acl): Accept mode_t attribute. (get_nt_attribute): Ditto. (get_file_attribute): Ditto. (get_nt_object_attribute): Ditto. (get_object_attribute): Ditto. * security.h: Reflect above changes. * syscalls.cc (chown_worker): Change attrib to mode_t.
* * mingwex/math/cephes_emath.h: Don't redefine INFINITY.Danny Smith2003-02-102-1/+4
|
* * include/_mingw.h (_CRTIMP): Define for __GNUC__ ifDanny Smith2003-02-1030-1061/+1128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. * include/fenv.h: Likewise. * include/inttypes.h: Likewise. * include/assert.h: Qualify fuctions with __cdecl. Qualify CRT dll imports with _CRTIMP. * include/conio.h: Likewise. * include/ctype.h: Likewise. * include/direct.h: Likewise. * include/dos.h: Likewise. * include/errno.h: Likewise. * include/float.h: Likewise. * include/io.h: Likewise. * include/locale.h: Likewise. * include/malloc.h: Likewise. * include/math.h: Likewise. * include/mbctype.h: Likewise. * include/mbstring.h: Likewise. * include/process.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/time.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/timeb.h: Likewise. * include/sys/utime.h: Likewise. * include/ctype.h: Guard ctype inlines with __NO_INLINE__. * include/wctype.h: Guard wctype inlines with __NO_INLINE__. * include/stdio.h (__VALIST): Guard against prior definition.
* * include/w32api.h: Increment version to 2.3.Earnie Boyd2003-02-103-3/+8
| | | | * Makefile.in: Ditto.
* * include/GL/gl.h: Remove include of glext.h.Earnie Boyd2003-02-091-0/+2
| | | | Thanks to Greg Couch <gregcouch@users.sf.net>
* * include/secext.h: New file. Declare EXTENDED_NAME_FORMAT.Earnie Boyd2003-02-095-2/+46
| | | | | | * include/security.h: Include secext.h. * include/winbase.h: Declare COMPUTER_NAME_FORMAT. Thanks to Dimitri Papadopoulos <dimitri_at@users.sf.net>