Commit Graph

  • b8838e6f75 2003-01-21 Anita Kulkarni <anitak@kpit.com> Jeff Johnston 2003-01-21 19:37:04 +0000
  • 57394495e2 * grp.cc: Call gr.refresh() rather than doing isunitialized tests throughout. (gr): Use constructor (sigh). (pwdgrp::parse_group): Rename from parse_grp. (pwdgrp::read_group): Rename from read_etc_group. Just call gr.load with a single argument. * passwd.cc: Call pr.refresh() rather than doing isunitialized tests throughout. (pr): Use constructor (sigh). (pwdgrp::parse_passwd): Rename from "parse_pwd". (pwdgrp::read_passwd): Rename from read_etc_passwd. Just call pr.load with a single argument. * pwdgrp.h (pwdgrp_state): Eliminate. (pwdgrp): Reflect above renamings. (pwdgrp::etc_ix): Rename from pwd_ix. (pwdgrp::read): New element. (pwdgrp::lock): New element. (pwdgrp::refresh): New function. (pwdgrp::load): Eliminate variations which take buffer arguments. (pwdgrp::pwdgrp): New constructors. Initialize mutex here. * uinfo.cc (pwdgrp::load): Accommodate pwd_ix -> etc_ix renaming. (pwdgrp::load): Set initialized state to true rather than setting state to loaded. Christopher Faylor 2003-01-21 06:58:11 +0000
  • 984864e9ce * include/cygwin/version.h: Bump DLL minor number. Christopher Faylor 2003-01-21 05:13:42 +0000
  • b99b804bb0 Fix ChangeLog entry. Christopher Faylor 2003-01-21 05:09:48 +0000
  • 2386c7825f add missing ChangeLog entry. Christopher Faylor 2003-01-21 05:09:20 +0000
  • 33de631bf2 add missing ChangeLog entry. Christopher Faylor 2003-01-21 05:08:55 +0000
  • d8cde3a3ee * path.h (etc::change_possible): Revert the type to bool. (etc::set_last_modified): Remove obsolete function. * path.cc (etc::change_possible): Revert type to bool. (etc::test_file_change): Do not test for negative values of change_possible and do not set it to -res. (etc::dir_changed): When the handle is NULL, call memset instead of test_file_changed. When the handle is invalid, return true. (etc::file_changed): Remove unneeded check for !fn[n]. Christopher Faylor 2003-01-21 05:07:28 +0000
  • 14d304da97 Updates for fixing tic4x arch tagging of its object files. Svein Seldal 2003-01-20 22:34:39 +0000
  • f9e41155f0 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin. Christopher Faylor 2003-01-20 15:28:02 +0000
  • d52cfbfdd8 * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff, gotplt and pltoff relocations. Martin Schwidefsky 2003-01-20 11:51:38 +0000
  • 7905c4f158 * pwdgrp.h (etc): Move to path.h. (pwdgrp::max_lines): New field. (pwdgrp::curr_lines): New field. (pwdgrp::pwdgrp_buf): Ditto. (pwdgrp_buf_elem_size): Ditto. (pwdgrp_parse): Ditto. (pwdgrp::gets): Just declare here. (pwdgrp::load): Ditto. Just take one argument. (pwdgrp::load): Define overloaded function accepting passwd buf. (pwdgrp::load): Define overloaded function accepting group buf. * grp.cc: Use pwdgrp elements rather than standalone static variables throughout. (curr_lines): Eliminate. (max_lines): Ditto. (add_grp_line): Ditto. (parse_grp): Define as returning boolean. Accept void * arg and line count. Coerce first argument into __group32 buf reference. Increment curr_line as appropriate. (read_etc_group): Pass pwdgrp buffer to gr.load. * passwd.cc: Use pwdgrp elements rather than standalone static variables throughout. (curr_lines): Eliminate. (max_lines): Ditto. (add_grp_line): Ditto. (parse_passwd): Define as returning boolean. Accept void * arg and line count. Coerce first argument into passwd buf reference. Increment curr_line as appropriate. (read_etc_group): Pass pwdgrp buffer to pr.load. * path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero. (etc::last_modified): Ditto. (etc::change_possible): Ditto. Renamed from sawchange. Change to signed char since elements are now tri-state. (etc::init): Assume "handle" is 1 based rather than 0. (etc::test_file_change): New function. Sets change_possible based on file date comparison. (etc::dir_changed): Check file states immediately after changed_h is initialized to avoid a race. (etc::file_changed): Use test_file_change to detect if file needs to be updated. * path.h (etc): Move class here from pwdgrp.h. * uinfo.cc: Move etc:: functions to path.cc. Move pwdgrp functions here. (pwdgrp::gets): Eliminate buf checks. Just check eptr and set lptr. (pwdgrp::add_line): New function. (pwdgrp::load): Call generic add_line function which will call correct parser. Christopher Faylor 2003-01-20 02:57:54 +0000
  • 6f2480fbf7 * configure.in: Add missing \. * configure: Rebuilt. Nathanael Nerode 2003-01-19 23:45:39 +0000
  • 6b5a79886d Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K. Nick Clifton 2003-01-18 08:55:07 +0000
  • 97d2bc794d fix typo Christopher Faylor 2003-01-18 03:43:48 +0000
  • 4c6a3e500e * cygheap.cc: Change most 'int's to 'unsigned's. (_cmalloc): Only check for size of malloced region when calculating budget. Add overhead when performing the sbrk. Previous change broke _crealloc. Christopher Faylor 2003-01-18 03:26:07 +0000
  • e915243911 * dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator. * grp.cc: Change most statics to NO_COPY throughout. * passwd.cc: Ditto. * pwdgrp.h: Change some BOOLs to bools. (pwdgrp::pwdgrp): Remove unneeded constructor. * passwd.cc: Change BOOL to bool throughout. Christopher Faylor 2003-01-17 18:05:32 +0000
  • afa378e74a * cygwin.din: Add strerror_r. * include/cygwin/version.h: Bump API minor number. Corinna Vinschen 2003-01-17 13:08:06 +0000
  • c4f94f48e3 * configure.in (baseargs): Avoid using \| in sed regular expressions. * configure: Rebuilt. Jakub Jelinek 2003-01-17 08:00:16 +0000
  • abbaa3a0e6 update copyright Christopher Faylor 2003-01-17 05:43:43 +0000
  • 0c0eec3f43 whitespace Christopher Faylor 2003-01-17 05:33:52 +0000
  • 5304bcdf6c correct pwdgroup::load entry Christopher Faylor 2003-01-17 05:29:23 +0000
  • 1de6f431aa * uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless debugging. Christopher Faylor 2003-01-17 05:24:28 +0000
  • 14ea50290a * grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name "unknown" to "mkgroup". (internal_getgrgid): Do not return default in nontsec case. (internal_getgroups): Add argument srchsid and look for it in groups if not NULL. * passwd.cc (read_etc_passwd): On NT, add a line for uid = -1. Use same default uid for Win95 and NT. Call cygheap_user::ontherange to initialize HOME. * cygheap.cc (init_cygheap::etc_changed): Move to uinfo.cc. * cygheap.h (init_cygheap::etc_changed_h): Remove. (init_cygheap::etc_changed): Ditto. * grp.cc (group_state): Remove. Use gr instead throughout. (gr): Define as class pwdgrp. (read_etc_group): Remove gr definition. Remove calls to set_last_modified and close. Pass add_grp to gr.load to load file. * passwd.cc (passwd_state): Remove. Use pr instead, throughout. (pr): Define as class pwdgrp. (read_etc_passwd): Remove pr definition. Remove calls to set_last_modified and close. Pass add_pwd_line to pr.load to load file. * pwdgrp.h (etc): New helper class for pwdgrp. (pwdgrp): Combine pwdgrp_check and pwdgrp_read into one class. Remove file_w32 and last_modified fields. (pwdgrp::set_last_modified): Remove. (pwdgrp::isinitializing): Remove FindFirstFile stuff. Move to etc::file_changed. (pwdgrp::load): Rename from 'open'. Call etc::init to initialize etc scanning. Close file handle after reading buffer into memory. Parse buffer by calling second argument. (pwdgrp::gets): Reorganize slightly to rely on eptr starting at beginning of buffer. Free buffer when memory exhausted. (pwdgrp::close): Remove. * uinfo.cc (etc::dir_changed): New function. (etc::init): Ditto. (etc::file_changed): Ditto. (etc::set_last_modified): Ditto. Christopher Faylor 2003-01-17 05:18:30 +0000
  • d4d80d8c65 missed changelog entry Alan Modra 2003-01-17 01:33:13 +0000
  • 8c228f4b0f * common.h: Formatting, typo fixes. (DT_ENCODING): Correct value. Alan Modra 2003-01-17 01:32:46 +0000
  • c3e92877a9 2003-01-16 Joel Sherrill <joel@OARcorp.com> Jeff Johnston 2003-01-16 22:37:54 +0000
  • 92febe6b7a * configure.in (baseargs): Remove all supported forms of --cache-file, --srcdir, --host, --build and --target options from argument lists. * configure: Rebuilt. Jakub Jelinek 2003-01-16 16:27:51 +0000
  • 41429bc99b * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of ReadProcessMemory() error codes that trigger a retry with temporary PAGE_READONLY access. Note that this can occur on NT 4.0. Corinna Vinschen 2003-01-16 14:11:10 +0000
  • 0036d6bdaa * ppc.h: Split out ppc64 definitions to.. * pcc64.h: ..here. New file. (R_PPC64_REL30): Rename from R_PPC64_ADDR30. Alan Modra 2003-01-16 04:08:47 +0000
  • df9b825c9f remove errnoneously added files Christopher Faylor 2003-01-16 01:57:08 +0000
  • 188132541b * path.cc (normalize_posix_path): Convert win32 path separators to slashes when full path is specified. Christopher Faylor 2003-01-16 01:49:14 +0000
  • ce9eeb04a6 merge from trunk Christopher Faylor 2003-01-16 01:27:30 +0000
  • 845102177a * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions. Christopher Faylor 2003-01-15 18:52:02 +0000
  • 77cb0c56ef * cmalloc.cc (_cmalloc): Fix memory leak. Christopher Faylor 2003-01-15 17:27:20 +0000
  • 53a6fe6ac5 * configure.in (noconfigdirs): Don't skip gas on IRIX 6. * configure: Rebuilt. Alexandre Oliva 2003-01-15 11:24:47 +0000
  • ce542f7867 * autoload.cc: Fix copyright date. * fhandler_dsp.cc: Ditto. * mmap.cc: Ditto. * net.cc: Ditto. * ntdll.h: Ditto. * signal.cc: Ditto. * syscalls.cc: Ditto. * uname.cc: Ditto. * wait.cc: Ditto. Corinna Vinschen 2003-01-15 10:21:23 +0000
  • 3903b47b79 * mkgroup.c: Fix copyright date. * mkpasswd.c: Ditto. * setfacl.c: Ditto. Corinna Vinschen 2003-01-15 10:08:37 +0000
  • 8735f49f2f fix minor typo. Christopher Faylor 2003-01-15 04:39:34 +0000
  • 15996b6f08 * mmap.cc (fixup_mmaps_after_fork): Copy protection to child process. Change ambiguous debug output. Corinna Vinschen 2003-01-14 21:01:43 +0000
  • 857b65ddba * mmap.cc (mmap_record::access): Change argument type to caddr_t for strictness. (mprotect): Protect against calling VirtualProtect() for shared pages on 9x/Me. (fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to change protection of parent page to PAGE_READONLY, then try again. Revert protection afterwards. Corinna Vinschen 2003-01-14 20:40:09 +0000
  • 9a47ce7f74 spacing cleanup Christopher Faylor 2003-01-14 20:31:47 +0000
  • ee8d419fd4 Add winsup.api/pthread/cancel10.c Thomas Pfaff 2003-01-14 20:22:20 +0000
  • e14328f4f7 Apply system_cancel patch Thomas Pfaff 2003-01-14 20:19:27 +0000
  • 17f422866a Add winsup.api/pthread/cancel9.c Thomas Pfaff 2003-01-14 20:15:58 +0000
  • 4a3584c84b Apply wait_cancel patch Thomas Pfaff 2003-01-14 20:13:09 +0000
  • 35dbe79943 Add winsup.api/pthread/cancel7.c and winsup.api/pthread/cancel8.c Thomas Pfaff 2003-01-14 20:09:13 +0000
  • 7ec66a2c28 Apply sleep_cancel patch Thomas Pfaff 2003-01-14 20:05:49 +0000
  • d83b482409 Add winsup.api/pthread/cancel6.c Thomas Pfaff 2003-01-14 20:03:41 +0000
  • 3457ce4d88 Apply handle_sigsuspend patch Thomas Pfaff 2003-01-14 19:55:42 +0000
  • 2673d5f209 * fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for SNDCTL_DSP_GETFMTS. Christopher Faylor 2003-01-14 02:08:35 +0000
  • bd14387749 update link for commercial inquiries David Starks-Browning 2003-01-13 22:17:01 +0000
  • c901fafc73 Change location. Christopher Faylor 2003-01-13 21:11:19 +0000
  • 337e9503bb Reformatting. New location for Open Source Definition. David Starks-Browning 2003-01-13 21:06:12 +0000
  • d3939f963a cygcheck output should be attached, not pasted (diff thanks to Igor Pechtchanski) David Starks-Browning 2003-01-13 20:51:49 +0000
  • cb95f738e9 update commercial references from Cygnus to Red Hat, Inc. David Starks-Browning 2003-01-13 20:44:05 +0000
  • 948039cf4a Change EM_MSP430 value to new, officially assigned number. Nick Clifton 2003-01-13 16:37:47 +0000
  • 9f0d3f37f3 * ntdll.h: Fix typo. Christopher Faylor 2003-01-13 03:55:00 +0000
  • 7f129d8753 * uname.cc (uname): Use cygwin_gethostname() to retrieve hostname. Corinna Vinschen 2003-01-12 11:45:54 +0000
  • ab2dbccc11 * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard. (setacl): Start the search for a matching default at the next entry. Invalidate the type of merged entries instead of clearing it. Use well_known_creator for default owner and owning group and do not try to merge non-default and default entries in these cases. (getacl): Recognize well_known_creator for default owner and group. (acl_worker): Improve errno settings and streamline the nontsec case. * security.cc (write_sd): Remove the call to set_process_privilege. (alloc_sd): If the owner changes, call set_process_privilege and return immediately on failure. Change inheritance rules: on new directories add inherit only allow ACEs for creator_owner, creator_group and everyone. Preserve all inheritances through chmod and chown calls. Introduce isownergroup to implement the uid == gid case, to keep the inheritance code simple. Do not initialize owner_sid and group_sid and stop using the variable psd. Corinna Vinschen 2003-01-12 11:38:51 +0000
  • a545b16de6 * mingwex/math/llround.c: Correct function name and change return value to long long. Danny Smith 2003-01-11 10:52:20 +0000
  • c3e8272116 * include/winnt.h (IMAGE_FILE_AGGRESIVE_WS_TRIM IMAGE_FILE_LARGE_ADDRESS_AWARE): Add defines. Danny Smith 2003-01-11 06:06:46 +0000
  • 18d821e186 * include/accctrl.h (enum _SE_OBJECT_TYPE): Add SE_REGISTRY_WOW64_32KEY. Danny Smith 2003-01-11 04:08:15 +0000
  • 82409119c0 * include/commctrl.h (HDN_GETDISPINFO[AW]: Add defines. (tagNMHDDISPINFO[AW}: Add structures and typedefs. Danny Smith 2003-01-11 03:43:14 +0000
  • 68115c74c5 * net.cc: Use gethostname define from winsock2.h. Christopher Faylor 2003-01-11 01:29:18 +0000
  • 7ba5067f87 * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection. Christopher Faylor 2003-01-11 01:28:37 +0000
  • 6309c9315a * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS. * Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc. * Makefile.in: Regenerate. * configure: Regenerate. Nathanael Nerode 2003-01-10 21:43:31 +0000
  • e3abf9861a * path.cc: Unrevert below reversion except for mount_info::conv_to_posix_path part. Christopher Faylor 2003-01-10 21:24:04 +0000
  • df2caa88ca * path.cc: Revert patch from 2003-01-09 to normalize a windows path rather than converting to posix. Corinna Vinschen 2003-01-10 20:25:47 +0000
  • dc8d11f52e * autoload.cc (gethostname): Make call optional, return 1 if function can't get loaded. * net.cc (cygwin_gethostname): Call GetComputerName if return value of gethostname is non-zero. Corinna Vinschen 2003-01-10 12:55:47 +0000
  • e136dbc297 Split ChangeLog, create ChangeLog-2002. Fix copyright dates. Corinna Vinschen 2003-01-10 12:32:49 +0000
  • 70d61f30fe * cygwin.din: add asprintf and vasprintf, as well as the reentrant versions and underscore variants. * include/cygwin/version.h: bump CYGWIN_VERSION_API_MINOR. Corinna Vinschen 2003-01-10 12:19:17 +0000
  • a771176720 * net.cc (cygwin_gethostname): Fix call to wsock function gethostname. Corinna Vinschen 2003-01-10 11:58:52 +0000
  • e410614acf * setfacl (usage): Remove double ":" for mask and other. Corinna Vinschen 2003-01-10 11:39:19 +0000
  • be99c75bd8 merge from gcc DJ Delorie 2003-01-10 03:27:26 +0000
  • d5223b2b0a * cygthread.cc (cygthread::cygthread): Be more noisy about odd condition. * miscfuncs.cc (low_priority_sleep): Sleep in regular priority if that's what we're currently running at. Christopher Faylor 2003-01-10 03:13:45 +0000
  • 65f207e8b9 Apply pthread_types_patch Thomas Pfaff 2003-01-09 21:14:33 +0000
  • 09cbb9d6b7 Apply pthread_cancel_patch Thomas Pfaff 2003-01-09 20:57:54 +0000
  • 72fcbc3ee6 Add pthread_mutex tests Thomas Pfaff 2003-01-09 20:51:55 +0000
  • 8ccfe116d0 * Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR. (install-info, dir.info): Prepend $(DESTDIR) to $(infodir). * Makefile.in: Regenerate. DJ Delorie 2003-01-09 20:50:25 +0000
  • 5d68d1de45 Applied pthread_mutex patch Thomas Pfaff 2003-01-09 20:50:23 +0000
  • a54470c774 * configure.in: Remove Makefile in build, host and target modules unless configure was run with --no-recursion. * configure: Rebuilt. Alexandre Oliva 2003-01-09 20:45:29 +0000
  • ed9fe4559c Applied cond_init patch Thomas Pfaff 2003-01-09 20:40:44 +0000
  • 93353aee63 * fhandler_disk_file.cc (num_entries): Return 2 as link count if directory unreadable. Corinna Vinschen 2003-01-09 17:15:44 +0000
  • 3eb27a4e9e * security.cc (get_nt_attribute): Always return -1 when read_sd() fails. (get_file_attribute): Set permissions to 0 and owner/group to -1 if security descriptor is unreadable. Corinna Vinschen 2003-01-09 11:44:17 +0000
  • 85ba109de7 Use isdirsep rather than SLASH_P throughout. * path.cc (iscygdrive): Disallow /cygdrive\x. (normalize_posix_path): "Normalize" a windows path, if detected, rather than converting to posix. * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and capability checking for B230400 bitrate. (fhandler_serial::tcgetattr): Add support for B230400 bitrate. * include/sys/termios.h: Add B230400 definition for Posix support of 230.4Kbps. Christopher Faylor 2003-01-09 08:22:05 +0000
  • 9f05d3a44a [ ChangeLog ] 2003-01-08 Chris Demetriou <cgd@broadcom.com> Chris Demetriou 2003-01-08 22:09:30 +0000
  • f1c9046a57 * mkpasswd.cc (current_user): Create. (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_user. Add username in gecos field on Win95/98/ME. * mkgroup.cc (enum_groups): Print gid with %u. (print_win_error): Create from passwd.cc. (current_group): Create. (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_group. Corinna Vinschen 2003-01-08 17:38:11 +0000
  • afa53b05b0 * mips/crt0.S (_start): Allocate 64 bytes of stack instead of 32. Pass an empty argv and envp to main(). Richard Sandiford 2003-01-08 12:54:29 +0000
  • c4c533c962 * mips/configure.in (mips64vr-elf, mips64vrel-elf): New config. * mips/configure: Regenerate. Richard Sandiford 2003-01-08 12:52:49 +0000
  • b3934ab3cc * configure.host (mips64vr-elf, mips64vrel-elf): New config. Richard Sandiford 2003-01-08 12:51:23 +0000
  • 5e1b786d38 * lib/dxguid.c: Don't #include <objbase.h>. * include/unknwn.h: Partially revert change of 2002-12-26. Don't include <ole2.h>. Danny Smith 2003-01-08 10:55:02 +0000
  • 4961ecb3d9 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net> Danny Smith 2003-01-08 09:15:53 +0000
  • f981849c93 2003-01-07 Chris Demetriou <cgd@broadcom.com> Chris Demetriou 2003-01-08 07:36:47 +0000
  • 2c98f8247d * configure: Regenerate with proper autoconf 2.13. Christopher Faylor 2003-01-08 01:19:55 +0000
  • ea20b7ebe5 * configure.in: Add AC_PREREQ for consistency. * configure: Regenerate. Christopher Faylor 2003-01-07 21:58:19 +0000
  • 0978efa066 2002-01-07 Chris Demetriou <cgd@broadcom.com> Jeff Johnston 2003-01-07 21:10:54 +0000
  • 68dea33819 * include/ctype.h (__isascii): Don't cast arg to unsigned. (iswascii): Likewise. Correct mask. * include/wctype.h (iswascii): Don't cast arg to unsigned. Correct mask Danny Smith 2003-01-07 21:05:13 +0000
  • be9c60e52e 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu> Jeff Johnston 2003-01-07 20:02:33 +0000
  • d4c3a750e7 2003-01-07 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2003-01-07 19:52:27 +0000
  • b2294aaa30 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu> Jeff Johnston 2003-01-07 01:45:32 +0000