Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-08-03add winsup.hDJ Delorie
2000-08-02* strace.cc (strace::prntf): Make second argument the function name, ratherChristopher Faylor
than use special format options. (strace::vprntf): Ditto. (getfunc): New function. * include/sys/strace.h: Reflect above changes. * smallprint.c (__small_vsprintf): Eliminate '%F' formatting. * pinfo.cc (set_myself): Modify for new strace::prntf parameter. * errno.cc (seterrno_from_win_error): Ditto. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.
2000-08-022000-08-01 Alexandre Oliva <aoliva@redhat.com>DJ Delorie
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr. 2000-07-31 Alexandre Oliva <aoliva@redhat.com> * configure.in (qCXX_FOR_TARGET): Quote `&' characters in CXX_FOR_TARGET for sed. 2000-07-30 Alexandre Oliva <aoliva@redhat.com> * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET): Do not override if already set in the environment or in configure. Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them. (FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.
2000-08-02* regexp/regexp.c: Add winsup.h.Christopher Faylor
2000-08-02* winsup.h: take out protections of environ, errno, allow C useDJ Delorie
* *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__); use cur_environ() instead of just environ * times.cc: remove import protections * glob.c: add winsup.h * localtime.c: ditto * smallprint.c: ditto * Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.
2000-08-02* include/sys/strace.h: Fix strace definition.Christopher Faylor
2000-08-02* strace.h: Add kludgy workarounds to avoid using deprecated methods forChristopher Faylor
variable argument macros when possible. * sigproc.cc: Throughout, use sigproc_printf rather than sip_printf. * strace.cc (strace::prntf): Remove 'active' check, since callers are supposed to ensure this. (__system_printf): Remove. Subsumed by strace::prntf. * winsup.h: Define "NEW_MACRO_VARARGS" to indicate when to use new macro varargs capability.
2000-08-02* libc/include/sys/config.h: define __IMPORT appropriatelyDJ Delorie
* libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto
2000-07-31* passwd.c (main): Initialize oldpwd before beeing used.Corinna Vinschen
2000-07-30* fhandler_console.cc: Remove VK_DIVIDE detection.Christopher Faylor
(get_nonascii_key): Simplify previous patch to return ascii char if it is non-zero. Add a second "temporary buffer" argument to help with thread safety. * select.cc (peek_console): Pass a temporary buffer argument to get_nonascii_key.
2000-07-29Fix formattingNick Clifton
Add copyright notice
2000-07-29* fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if itChristopher Faylor
is not detected and it is less than ' '.
2000-07-29* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we endChristopher Faylor
up with an empty string.
2000-07-29* kill.cc (main): Add '-f' option to force termination of a process.Christopher Faylor
(forcekill): New function. * ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids. (dummyprocessmodules): New function. (GetModuleFileNameEx95): New function. (init_win): New function. (to_time_t): New function.
2000-07-29* include/cygwin/version.h: Bump DLL minor version number to 5 due to all ofChristopher Faylor
the changes below. Redefine process structure to avoid a fixed size table. Redefine pinfo/_pinfo classes. Use these throughout. * dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change. (__api_fatal): Accomodate _pinfo::record_death argument change. * exceptions.cc (really_exit): Ditto. (sig_handle_tty_stop): Use pinfo constructor to access process info. (events_init): Don't create pinfo_mutex since it is no longer required. * external.cc (fillout_pinfo): Use winpids class to iterate over all system pids. (cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops. * fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to access process info. * fork.cc (fork): Reorganize to initialize child info after the child has started since that is when we know the child's winpid, which is necessary to allocate the pinfo shared memory. * mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo. * pinfo.cc: Rename pinfo methods to _pinfo throughout. Eliminate pinfo_list stuff. (set_myself): Accept a pid argument now. Call pinfo initializer to initialize myself. Detect when this is an "execed" process and create an "indirect" pid block. (pinfo_init): Accomodate set_myself arg change. (procinfo): Remove. (pinfo::lock_pinfo): Remove. (pinfo::unlock_pinfo): Remove. (pinfo::init): New method. Allocates shared memory space for process pinfo structure. (pinfo::record_death): Don't call locking functions. (cygwin_winpid_to_pid): Simplify by using new pinfo constructor. (EnumProcessesW95): New function for iterating over processes on Windows 95. (winpids::winpids): New constructor for winpids class. Sets up a list of process ids. (enum_init): Initialize w95/wnt pid enumerators. * shared.cc (shared-info::initialize): Remove pid initialization. * shared.h: Move pinfo stuff into pinfo.h. (class shared_info): Remove pinfo_list element. * signal.cc (kill_worker): Use pinfo constructor to access process info. (kill_pgrp): Ditto. Use winpids methods to access list of processes. * sigproc.cc: Throughout, modify to use _pinfo where appropriate. (proc_exists (pid_t)): New function. Determines if a process exists based on the pid. (proc_exists (_pinfo *p): Use new proc_exists function above. (proc_subproc): Copy pinfo stuff around rather than _pinfo pointers. Try to be careful about releasing shared memory when we don't need it anymore. Remove pinfo locks. (remove_zombies): Remove pinfo memory when zombie is going away. * sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc. * spawn.cc (spawn_guts): Eliminate pinfo *child argument. Reorganize to only initialize child pinfo after process has been started and we know the windows pid. (_spawnve): Reflect spawn_guts changes. * syscalls.cc (setpgid): Use pinfo constructor to access process info. (getpgid): Ditto. (internal_getlogin): Use _pinfo. * winsup.h: Eliminate pinfo_mutex. Eliminate spawn_guts declaration since it is static now. Reflect set_myself argument change. * include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff. * include/cygwin/version.h: Update minor version for cygdrive changes below.
2000-07-29* environ.cc (parse_thing): Make binmode a DWORD.Christopher Faylor
* hinfo.cc (hinfo::init_std_file_from_handle): Use 'binmode' to determine default open mode. * winsup.h: Declare binmode.
2000-07-29* include/cygwin/cygwin_dll.h: Update for modern compilers.Christopher Faylor
* lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers. * fhandler.h (fhandler_console): Add new method. * fhandler.cc (fhandler_console::set_cursor_maybe): New method. (fhandler_console::read): Set cursor if it has moved to make it visible.
2000-07-29Minor formatting change.Christopher Faylor
2000-07-29Fix typo.Christopher Faylor
2000-07-29* utils/mount.cc (main): Add --show-cygdrive-prefixes option.Christopher Faylor
(show_cygdrive_prefixes): New function. * utils/umount.cc (main): Add --remove-cygdrive-prefix option. (error): Change signature from 'char *' to 'const char *'. (remove_cygdrive_prefix): New function.
2000-07-29* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.Christopher Faylor
* external.cc (get_cygdrive_prefixes): New function. (cygwin_internal): Add CW_GET_CYGDRIVE_PREFIXES case. * path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive prefix if user one is undefined. (mount_info::write_cygdrive_info_to_registry): Write cygdrive prefix to the appropriate registry hive. Overwrite in-memory copy of cygdrive, if appropriate. (mount_info::remove_cygdrive_info_from_registry): New method. (mount_info::get_cygdrive_prefixes): New method. (cygwin_umount): Remove cygdrive prefix, if appropriate. * registry.cc (reg_key::killvalue): New method. * shared.h (class reg_key): Add killvalue, remove_cygdrive_info_to_registry, and get_cygdrive_prefixes declarations. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_PREFIXES.
2000-07-292000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt
* opcode/i860.h (btne, bte, bla): Changed these opcodes to use sbroff ('r') instead of split16 ('s'). (J, K, L, M): New operand types for 16-bit aligned fields. (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to use I, J, K, L, M instead of just I. (T, U): New operand types for split 16-bit aligned fields. (st.x): Changed these opcodes to use S, T, U instead of just S. (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not exist on the i860. (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. (pfeq.ss, pfeq.dd): New opcodes. (st.s): Fixed incorrect mask bits. (fmlow): Fixed incorrect mask bits. (fzchkl, pfzchkl): Fixed incorrect mask bits. (faddz, pfaddz): Fixed incorrect mask bits. (form, pform): Fixed incorrect mask bits. (pfld.l): Fixed incorrect mask bits. (fst.q): Fixed incorrect mask bits. (all floating point opcodes): Fixed incorrect mask bits for handling of dual bit. * elf/i860.h: New file. (elf_i860_reloc_type): Defined ELF32 i860 relocations. * dis-asm.h (print_insn_i860): Add prototype.
2000-07-292000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt
* include/opcode/i860.h (btne, bte, bla): Changed these opcodes to use sbroff ('r') instead of split16 ('s'). (J, K, L, M): New operand types for 16-bit aligned fields. (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to use I, J, K, L, M instead of just I. (T, U): New operand types for split 16-bit aligned fields. (st.x): Changed these opcodes to use S, T, U instead of just S. (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not exist on the i860. (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. (pfeq.ss, pfeq.dd): New opcodes. (st.s): Fixed incorrect mask bits. (fmlow): Fixed incorrect mask bits. (fzchkl, pfzchkl): Fixed incorrect mask bits. (faddz, pfaddz): Fixed incorrect mask bits. (form, pform): Fixed incorrect mask bits. (pfld.l): Fixed incorrect mask bits. (fst.q): Fixed incorrect mask bits. (all floating point opcodes): Fixed incorrect mask bits for handling of dual bit. * include/elf/i860.h: New file. (elf_i860_reloc_type): Defined ELF32 i860 relocations. * bfd/cpu-i860.c: Added comments. * bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to bfd_elf32_i860_little_vec. (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". (ELF_MAXPAGESIZE): Changed to 4096. * bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of new target. (bfd_target_vector): Added bfd_elf32_i860_little_vec. * bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added config for little endian elf32 i860. (targ_defvec): Define for the new config above as "bfd_elf32_i860_little_vec". (targ_selvecs): Define for the new config above as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" * bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition of new target vec. * bfd/configure: Regenerated. * opcodes/i860-dis.c: New file. (print_insn_i860): New function. (print_br_address): New function. (sign_extend): New function. (BITWISE_OP): New macro. (I860_REG_PREFIX): New macro. (grnames, frnames, crnames): New structures. * opcodes/disassemble.c (ARCH_i860): Define. (disassembler): Add check for bfd_arch_i860 to set disassemble function to print_insn_i860. * include/dis-asm.h (print_insn_i860): Add prototype. * opcodes/Makefile.in (CFILES): Added i860-dis.c. (ALL_MACHINES): Added i860-dis.lo. (i860-dis.lo): New dependences. * opcodes/configure.in: New bits for bfd_i860_arch. * opcodes/configure: Regenerated.
2000-07-28Declare __infinity as an array to work around problems with small data supportMichael Meissner
2000-07-28* s/sourceware.cygnus.com/sources.redhat.com/ throughoutFrank Ch. Eigler
* added cgen/
2000-07-28* include/cygwin/version.h: Bump DLL minor version number to 4.Christopher Faylor
2000-07-28* Makefile.in (FLAGS_FOR_TARGET): New macro.Alexandre Oliva
(GCC_FOR_TARGET): Use it. (CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined... * configure.in: ... here. (FLAGS_FOR_TARGET): Define. Add ld build dir to -L path. (libstdcxx_flags): Define and append to CXX_FOR_TARGET.
2000-07-28Remove obsolete entries:David Starks-Browning
- 'Why is gcc failing' - 'Why can't bison find bison.simple or bison.hairy?' Remove disclaimer from up-to-date entries (possibly with some minor changes): - 'How is fork() implemented?' - 'How do symbolic links work?' - 'How do I compile a Win32 executable that doesn't use Cygwin?' - 'How do I make the console window go away?' - 'Why does make complain about a "missing separator"?' - 'Why can't we redistribute Microsoft's Win32 headers?' - 'How can I debug what's going on?' - 'Can I use a system trace mechanism instead?' - 'Can I use the gdb debugger to debug programs built by VC++?' - 'Where can I find info on x86 assembly?' - 'Why not use DJGPP?'
2000-07-28Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hangingDavid Starks-Browning
when unpacking tar.gz archives.
2000-07-28Entry 'How should I set my PATH?': Don't omit Windows system directories.David Starks-Browning
2000-07-27Added missing ChangeLog entry.Corinna Vinschen
2000-07-27* testsuite/winsup.api/winsup.exp: ignore stdout by defaultDJ Delorie
* testsuite/winsup.api/crlf.c: non-verbose by default * winsup.h: prune out windows headers we don't normally need * assert.cc: add wingdi.h and winuser.h * fhandler_console.cc: ditto * fhandler_windows.cc: ditto * select.cc: ditto * spawn.cc: ditto * strace.cc: ditto * tty.cc: ditto * window.cc: ditto * hinfo.cc: add winsock.h * syscalls.cc: add winnls.h * uinfo.cc: ditto * include/windows.h: optimize non-inclusion of repeat headers
2000-07-27* libc/include/math.h: Use appropriate dll import linkage for Cygwin.Christopher Faylor
2000-07-27* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeedChristopher Faylor
for files >= 2GB and <= 4GB.
2000-07-27Clarify texinfo/Andrew Cagney
2000-07-27fix typo.Christopher Faylor
2000-07-272000-07-26 Dave Brolley <brolley@redhat.com>Dave Brolley
* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.
2000-07-27Give signal_exit noreturn attribute.Christopher Faylor
2000-07-27* exceptions.cc (signal_exit): Renamed from "really+exit". Always setsChristopher Faylor
EXIT_SIGNAL bit and reorganizes exit value for backwards cygwin handling. (handle_exceptions): Call signal_exit. Set "core dumped" bit. (sig_handle): Call signal_exit. Set "core dumped" bit appropriately.
2000-07-26 * environ.cc (posify): Revert previous patch.Corinna Vinschen
(_addenv): Remove check_null_empty_path from here. (putenv): Call check_nullempty_path. (setenv): Call check_nullempty_path for name as well here. Don't report an error if value is empty string. (environ_init): Revert usage of newp.
2000-07-26* syscalls.cc (stat_worker): Make stat return correct st_blocks for files withChristopher Faylor
size bigger than 2Gb and less than 4Gb
2000-07-26 * security.cc (lookup_name): Search on local machine first ifCorinna Vinschen
myself->domain is not empty.
2000-07-26* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to makeChristopher Faylor
it visible while waiting in WaitForMultipleObjects.
2000-07-26Add missing ChangeLog entry.Christopher Faylor
2000-07-26 * passwd.cc: Change name of passwd_in_memory_p to passwd_state.Corinna Vinschen
Change type to enum. Change storage class to static. Adjust comments. (read_etc_passwd): Set passwd_state to different values when loaded from file in contrast to being emulated. (search_for): Return default passwd entry if passwd is emulated or it's a request for the current user. Otherwise return NULL.
2000-07-26* syscalls.cc (statfs): Use path_conv method to convert input path.Christopher Faylor
2000-07-26* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.Christopher Faylor
2000-07-26New entry (Programming Questions): 'Why doesn't gdb handle signals?'David Starks-Browning
2000-07-26Entry 'Is the Cygwin library multi-thread-safe?': Update for latest release.David Starks-Browning
2000-07-26Entry 'Are mixed-case filenames possible with Cygwin?': Expand slightly,David Starks-Browning
add reference to coolview.