2a50e3df6f* path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdrive == '/'. (mount_info::cygdrive_win32_path): Return 0 if invalid cygdrive path.
Christopher Faylor
2001-12-03 16:47:18 +0000
89ba9b974a.
Christopher Faylor
2001-12-02 07:17:33 +0000
ecd693e3eb.
Christopher Faylor
2001-12-02 07:07:53 +0000
e4f0890073.
Christopher Faylor
2001-12-02 06:41:58 +0000
a3b2171a77.
Christopher Faylor
2001-12-02 06:21:17 +0000
e4cfef02ad.
Christopher Faylor
2001-12-02 06:13:48 +0000
97f4804ec8.
Christopher Faylor
2001-12-02 06:01:16 +0000
cc2c2a36aaminor reformatting.
Christopher Faylor
2001-12-02 05:48:24 +0000
7b80d68f4cminor reformatting.
Christopher Faylor
2001-12-02 05:23:26 +0000
a8e091b0bc* libc/include/dirent.h: Protect against multiple inclusion.
Christopher Faylor
2001-11-30 17:26:47 +0000
1cf0d8510a* debug.cc (makethread): Eliminate unneeded function call. * miscfuncs.cc (tls_ix): Predefine. * perthread.h (set_reent): Eliminate. (get_reent): Ditto. * winbase.h (my_tlsalloc): Use global stack base pointer. Set newly allocated location to NULL. (my_tlssetvalue): Use global stack base pointer. (my_tlsgetvalue): Ditto.
Christopher Faylor
2001-11-30 06:19:58 +0000
20a206afa2* d10v.h (OPERAND_SP): New macro.
Alexandre Oliva
2001-11-29 18:03:50 +0000
f66d193650When build != host, create libiberty for the build machine.
DJ Delorie
2001-11-28 19:55:01 +0000
558f1fb418* winsup.h: Reorganize to avoid use of experimental stuff. * shortcut.cc: Move winsup.h first in include order.
Christopher Faylor
2001-11-28 02:36:32 +0000
0caa03b00aAdd attribution.
Christopher Faylor
2001-11-28 01:54:05 +0000
4d029f3940* cygwin.din (ualarm): New export. * dcrt0.cc (_dll_crt0): Add experimental tls storage declaration. (dll_crt0): Ditto. * debug.cc (thread_stub): Ditto. * thread.cc: Minor cleanup. (__pthread_create): Add experimental tls storage declaration. * miscfuncs.cc: Define tls index. * winsup.h: Declare experimental tls storage. * window.cc (alarm): Use old timer return from setitimer. (ualarm): New function.
Christopher Faylor
2001-11-28 00:06:35 +0000
a6d66c1399* config.sub: Update to version 1.232 on subversion.
Geoffrey Keating
2001-11-26 22:52:00 +0000
505f9ba17aRevert erroneous checkin.
Christopher Faylor
2001-11-26 20:21:27 +0000
94c0e197f0* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding an archive doesn't work the way we want it to.
Christopher Faylor
2001-11-26 20:20:42 +0000
b0fa0e6e0f* net.cc (cygwin_inet_ntoa): Add parameter checking. (cygwin_inet_network): Return INADDR_NONE instead of 0 in case of EFAULT. (cygwin_hstrerror): Add parameter checking. (cygwin_rresvport): Ditto. (socketpair): Ditto. * winsup.h (check_null_str): Add extern declaration.
Corinna Vinschen
2001-11-24 21:10:00 +0000
28d3cc021d* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching trailing component, like other devices.
Christopher Faylor
2001-11-24 21:05:00 +0000
3409763ff3* autoload.cc (IsDebuggerPresent): Make conditional load since it is not available everywhere. * path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be FH_CYGDRIVE, not /cygdrive/x.
Christopher Faylor
2001-11-24 20:57:19 +0000
c7cf3563f0Fix typo.
Christopher Faylor
2001-11-24 03:25:07 +0000
c123b1f3a1fix typo.
Christopher Faylor
2001-11-24 03:12:41 +0000
5a64d86941* dtable.cc (dtable::vfork_parent_restore): Add debugging statement. * exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger attached. * fhandler.h (fhandler_base::set_nohandle): New method. (fhandler_base::get_nohandle): New method. * fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no handle. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on dummy fd. * Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a * fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting since it is no longer used. * miscfuncs.cc (check_null_str): New function. (+check_null_str_errno): Ditto. * net.cc: Add defensive buffer checking throughout. (cygwin_sendto): Protect against invalid fd. (cygwin_recvfrom): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * winsup.h: Declare a new function. * select.cc (set_bits): Fix conditional for setting fd in exceptfds. * dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device type. * path.cc (get_devn): Set correct pipe device type from device name.
Christopher Faylor
2001-11-24 03:11:39 +0000
97a2e0756d* path.cc (conv_path_list): Fix wild indexing into path due to conflicting methods for setting src pointer. * dir.cc (opendir): Only pass path_conv argument to opendir, since name is already part of the fhandler. * dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type. * fhandler.cc (fhandler_base::opendir): Nuke name argument. * fhandler.h: Add FH_CYGDRIVE to "device" enum. (fhandler_base::opendir): Nuke name argument. (fhandler_disk_file::opendir): Ditto. (fhandler_disk_file::fhandler_disk_file): Declare new method which passes devtype through. (fhandler_cygdrive): Add elements for tracking drives. (fhandler_cygdrive::set_drives): Declare new method. (fhandler_cygdrive::iscygdrive_root): Declare new method. (fhandler_cygdrive::opendir): Declare new method. (fhandler_cygdrive::readdir): Declare new method. (fhandler_cygdrive::telldir): Declare new method. (fhandler_cygdrive::seekdir): Declare new method. (fhandler_cygdrive::rewinddir): Declare new method. (fhandler_cygdrive::closedir): Declare new method. (fhandler_cygdrive::fstat): Declare new method. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new method which passes devtype through. (fhandler_disk_file::open): Tweak debug output. (fhandler_disk_file::opendir): Nuke first argument. Use info from path_conv and class rather than calling fstat. (fhandler_cygdrive::set_drives): New method. (fhandler_cygdrive::iscygdrive_root): New method. (fhandler_cygdrive::opendir): New method. (fhandler_cygdrive::readdir): New method. (fhandler_cygdrive::telldir): New method. (fhandler_cygdrive::seekdir): New method. (fhandler_cygdrive::rewinddir): New method. (fhandler_cygdrive::closedir): New method. (fhandler_cygdrive::fstat): New method. * path.cc (iscygdrive_device): Assume cygdriveness is already verified. (path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file attributes as needed. (mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the directory which contains all of the drives on the system". (fillout_mntent): Use cyg_tolower for conversions. (mount_info::cygdrive_win32_path): Replace unused argument with unit number. * shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.
Christopher Faylor
2001-11-22 05:59:07 +0000
53e61a867b* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native paths.
Christopher Faylor
2001-11-22 00:29:04 +0000
87f1a487edPatch by Pierre Muller <muller@ics.u-strasbg.fr>: * w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added.
Corinna Vinschen
2001-11-21 23:13:59 +0000
1d3dc11398Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>: * mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
Corinna Vinschen
2001-11-21 10:39:43 +0000
d37e401ef3* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
Christopher Faylor
2001-11-21 06:57:44 +0000
7903ee6955* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o. * cygheap.h (cygheap_fdnew::operator =): New operator. * dir.cc: Add invalid struct checking throughout. Use methods for all directory manipulation throughout. * fhandler.cc: Move fhandler_disk_file stuff to own file. (fhandler_base::opendir): New method. (fhandler_base::readdir): New method. (fhandler_base::telldir): New method. (fhandler_base::seekdir): New method. (fhandler_base::rewinddir): New method. (fhandler_base::closedir): New method. * fhandler_disk_file.cc: New file. * fhandler.h (fhandler_base): Declare new virtual methods. (fhandler_disk_file): Ditto. (fhandler_cygdrive): New class. * path.cc (conv_path_list): Use strccpy to break apart path.
Christopher Faylor
2001-11-21 06:47:57 +0000
f6a6c2a358Change copyright.
Christopher Faylor
2001-11-21 04:21:36 +0000
57cd47737fUse msgfmt to generate .gmo files from .po files for a distribution.
Nick Clifton
2001-11-20 19:00:47 +0000
8ac90051e6* libc/sys/mmixware/*: Tweak license header in all source files.
Hans-Peter Nilsson
2001-11-18 23:47:59 +0000
9c5cfc400c* COPYING.NEWLIB: Mention preserved notice in specific parts.
Hans-Peter Nilsson
2001-11-18 23:43:02 +0000
9c6a5c6ea8* path.cc (conv_path_list): Copy source paths before modifying them.
Christopher Faylor
2001-11-17 20:19:19 +0000
33f0f67db7* strace.cc (main): Change getopt() to getopt_long(). Add support for help and version info. Use new parse_mask() function for -m/--mask option. (longopts): Add long options structure. (opts): Move options string from getopts call to static var. (usage): Print usage information. (SCCSid): Version info. (version): New function for displaying version info. (parse_mask): New function supporting parsing of mnemonics, hex, and basic expressions in masks. (mnemonic2ul): New mnemonic parsing function. (tag_mask_mnemonic): New type. (mnemonic_table): New table of mnemonics for mnemonic2ul() to search through.
Corinna Vinschen
2001-11-17 09:48:09 +0000
e2b3dc2580* exceptions.cc: Add stdlib.h include for alloca declaration. * poll.cc: Ditto. * termios.cc: Ditto. * syscalls.cc (_write): Only allow zero length when fd is valid.
Christopher Faylor
2001-11-15 03:25:52 +0000
d590035529binutils/ChangeLog * doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
Alan Modra
2001-11-15 01:08:52 +0000
7158264315* fhandler.cc (fhandler_disk_file::fstat): Add setting access time and creation time to last modification time for files on filesystems not supporting multiple timestamps. (fhandler_disk_file::fstat_helper): Set access time and creation time in incoming Windows structure instead of in stat buf to avoid incorrectly overwriting Epoch timestamp.
Corinna Vinschen
2001-11-14 21:47:41 +0000
ac0ac6534d* winsup.h: Remove alloca definition since it's now defined through inclusion of stdlib.h. * lib/cygwin_crt0.c: Ditto.
Corinna Vinschen
2001-11-14 10:47:54 +0000
d7ca37e413* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
Corinna Vinschen
2001-11-14 10:25:35 +0000
7a90b1ef802001-11-13 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb
2001-11-14 06:24:41 +0000
52aedda9da2001-11-13 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb
2001-11-14 05:49:24 +0000
65814395b6* syscalls.cc (_write): Allow zero length as per SUSv2.
Christopher Faylor
2001-11-14 04:12:11 +0000
b83587946bbinutils/ChangeLog * doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
Alan Modra
2001-11-14 03:15:28 +0000
03adcc0fda* dir.cc (mkdir): Add HIDDEN file attribute if file has leading dot and HIDDEN_DOT_FILES is defined. * fhandler.cc (fhandler_base::open): Ditto. * path.cc (symlink): Ditto. * syscalls.cc (_rename): Ditto and remove HIDDEN file attribute if new filename does not begin with a dot.
Corinna Vinschen
2001-11-13 21:49:06 +0000
f513298e18* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to accept WordReg. * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand category instead of Ew.
Alan Modra
2001-11-13 01:03:55 +0000
92dd5f23a52001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
Jeff Johnston
2001-11-12 21:07:42 +0000
8be9b48be62001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
Jeff Johnston
2001-11-12 21:04:41 +0000
5e051b1bf7* cygcheck.cc (dump_sysinfo): Add some more details.
Corinna Vinschen
2001-11-12 20:21:43 +0000
daccfdf9efAdd missing ChangeLog entry.
Christopher Faylor
2001-11-12 18:22:41 +0000
e4087b7526* cygcheck.cc (dump_sysinfo): Print more detailed OS information string using OSVERSIONINFOEX information.
Corinna Vinschen
2001-11-12 17:55:52 +0000
697b8c0c32* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to only honor keydown events.
Christopher Faylor
2001-11-12 17:06:50 +0000
a36ee0b6b9* include/cygwin/version.h: Bump version to 1.3.6.
Christopher Faylor
2001-11-12 00:40:29 +0000
64bd8a83af* path.h: New file.
Christopher Faylor
2001-11-12 00:19:17 +0000
71f90de808* cygcheck.cc (scan_registry): Open registry with read-only access. (main): Reflect argument change for dump_setup. * dump_setup.cc (dump_setup): Add preliminary extra argument for future use. * path.cc (read_mounts): Open registry with read-only access.
Christopher Faylor
2001-11-12 00:14:27 +0000
7d3480deefClarify length reference in comment
Tim Wall
2001-11-11 15:45:34 +0000
fcc8ea58cefix typo.
Christopher Faylor
2001-11-11 06:55:35 +0000
da9e28d0fa* cygcheck.cc (main): Display package info when '-s' is specified. * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output.
Christopher Faylor
2001-11-11 06:16:18 +0000
d0d517913c* dump_setup.cc: New file. * Makefile.in: Add info for dump_setup.o. * cygcheck.cc (main): Recognize '-c' option for checking setup installed base. * path.cc (cygpath): Read mount table if not loaded.
Christopher Faylor
2001-11-11 06:07:36 +0000
2fac517df4* Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable. * path.cc: New file. * cygcheck.cc (init_paths): Use MS-DOS path syntax. (cygwin_info): Properly display cygwin version numbers. Prettify some output. (dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier output.
Christopher Faylor
2001-11-11 03:06:59 +0000
c8b3452829* dtable.cc (dtable::build_fhandler): Don't increment console fd count if new operation fails. Increment fork_fixup field here. (dtable::dup2): Don't increment fork_fixup field here. (fdsock): Ditto.
Christopher Faylor
2001-11-10 19:46:15 +0000
4d2f5ef1da* avr.h: Update for new devices.
Denis Chertykov
2001-11-10 09:40:53 +0000
9a6c0a241b* cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
Corinna Vinschen
2001-11-09 17:18:36 +0000
4d1fdcb6f82001-11-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-11-09 13:23:54 +0000
d0d69f141d2001-11-09 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-11-09 11:34:26 +0000
29c63d063f2001-11-09 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-11-09 08:31:37 +0000
42f9fc4543* configure.in (--enable-languages): Be more permissive about syntax. Check for empty lists better. Warn about $LANGUAGES.
DJ Delorie
2001-11-09 02:21:21 +0000
461903013c* checksignal.c: New testcase.
Corinna Vinschen
2001-11-08 21:04:05 +0000
80a429d20a* select.cc: Set errno using set_sig_errno() throughout. * signal.cc (signal): Always set SA_RESTART flag. * syscalls.cc (_read): Revert previous patch.
Corinna Vinschen
2001-11-08 17:49:52 +0000
036fd823dc* select.cc (fhandler_tty_slave::ready_for_read): Return 0 on EBADF. * syscalls.cc (_read): If ready_for_read() failed, save errno from being overwritten by signal handler call.
Corinna Vinschen
2001-11-08 15:01:44 +0000
418c02db8f2001-11-08 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-11-07 14:11:41 +0000
4cecec6cde2001-11-08 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2001-11-07 14:10:25 +0000