summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * select.cc (cygwin_select): Correct logic for "always_ready" fds or when thereChristopher Faylor2000-08-243-10/+18
| | | | | is no wait specified. * syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it.
* Change attribution.Christopher Faylor2000-08-242-2/+2
|
* * Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.Christopher Faylor2000-08-242-2/+13
|
* * Makefile.in: Add dumper.exe target and associated mechanisms for building it.Christopher Faylor2000-08-248-3/+1120
| | | | | | | * dumper.cc: New file. * dumper.h: New file. * module_info.cc: New file. * parse_pe.cc: New file.
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-2414-4/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdlib/abort.c: changed description: uses "raise" instead of "getpid" and "kill"; added: uses "write" and "_exit". Also included unistd.h for "_exit" prototype. * libc/stdlib/system.c: included unistd.h for "execve" prototype, reent.h for "_fork_r" and "_wait_r" prototypes. (do_system): changed extern char *environ[] to POSIX-friendly extern char **environ. * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp" prototypes. * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype. * libc/reent/execr.c: included sys/wait.h for "wait" prototype. * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype. * libc/reent/openr.c: included fcntl.h for "open" prototype. * libc/reent/signalr.c: included signal.h for "kill" prototype, unistd.h for "getpid" prototype. * libc/reent/statr.c: included sys/stat.h for "stat" prototype. * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype. * libc/unix/getut.c (utmpname): removed local, incorrect "strdup" prototype. Also included stdlib.h for "abort", string.h for "strdup" and "strncmp" prototypes. * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and "strncpy", unistd.h for "read" and "close" prototypes. * libc/posix/execvp.c: included string.h for "strchr", "strlen", and "strcat" prototypes.
* * include/cygwin/core_dump.h: New file, contains structures used in cygwin coreChristopher Faylor2000-08-243-0/+91
| | | | | | core files. * include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps support in bfd.
* * environ.cc (parse_thing): nobinmode should force O_TEXT.Christopher Faylor2000-08-244-5/+18
| | | | | | | | (regopt): Use correct path to find LOCAL_MACHINE registry options. * fhandler.cc (fhandler_base::open): Set binary mode only when binmode == O_BINARY. * pipe.cc (pipe): Pipe handling should rely on binmode not _fmode now that the two are different.
* * include/sys/cygwin.h (strace_printf_wrap): Force printing whenChristopher Faylor2000-08-242-2/+8
| | | | | _STRACE_SYSTEM. (strace_printf_wrap1): Ditto.
* * debug.h: Allow some debug defines for use in header files.Christopher Faylor2000-08-242-1/+6
|
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-246-7/+23
| | | | | | | | | | | | | * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-244-8/+26
| | | | | | | | | | | | * libc/stdlib/envlock.c: changed documented "__env_lock" and "__env_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. Also added include of envlock.h. * libc/stdlib/mlock.c: changed documented "__malloc_lock" and "__malloc_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock" prototypes (for getenv_r.c and setenv_r.c).
* * dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier inChristopher Faylor2000-08-247-24/+81
| | | | | | | | | | | | | | the process. Use new second argument to set_myself. (cygwin_dll_init): Initialize exception list and constructor stuff here. (_dll_crt0): And here. Also, deal with inherited pinfo shared memory region from parent. * pinfo.cc (set_myself): Accept a second argument signifying the a shared memory region, passed from an execing parent. (pinfo_init): Ditto. * pinfo.h: Ditto. * shared.h (child_info): Add a handle field to pass to child. * spawn.cc (spawn_guts): Create a shared handle to pass to an execed child. * winsup.h: Remove extraneous declaration.
* Revert previous erroneous checkin.Christopher Faylor2000-08-236-36/+12
|
* * include/sys/cygwin.h: Protect class definitions.Christopher Faylor2000-08-238-12/+42
|
* * libc/unix/getut.c (utmpname): added _CONST to reflect common useDJ Delorie2000-08-222-1/+7
| | | | and prototype in cygwin's utmp.h
* * path.cc (symlink_info::check): Clear error on each iteration of extensionChristopher Faylor2000-08-222-1/+7
| | | | check.
* * Makefile.in: Don't include '.d' file if there are none generated yet.Christopher Faylor2000-08-222-3/+9
|
* * include/sys/cygwin.h: Declare some thread classes.Christopher Faylor2000-08-223-0/+10
| | | | * include/mntent.h: Avoid declaring functions.
* * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h filesChristopher Faylor2000-08-2263-209/+281
| | | | | only in sources which require them. * Makefile.in: Generate dependencies with -MD option.
* * config-ml.in (CC, CXX): Avoid trailing whitespace.Alexandre Oliva2000-08-222-3/+42
| | | | | (LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to sub-configures.
* * cygerrno.h: New file. Use this throughout whenever errno manipulation isChristopher Faylor2000-08-2245-133/+203
| | | | | | | | | | | | | | | required. * errno.cc: Use DWORD to hold Windows errors. (geterrno_from_win_error): New function. (seterrno_from_win_error): Use geterrno_from_win_error to convert supplied windows error (suggested by Corinna Vinschen). * path.cc (symlink_info): Add error element. * path.cc (path_conv::check): Remove errno setting. Use new symlink_info errno element to set path_conv error, where appropriate. (symlink_info::check): Set error element rather than attempting to manipulate errno. Add more checks for trailing / and /.. even though they are currently useless. Avoid setting EINVAL. * path.cc (normalize_posix_path): Correct check for trailing /.
* Update copyright.Christopher Faylor2000-08-211-3/+3
|
* * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,DJ Delorie2000-08-212-6/+6
| | | | not handle. (reverse of previous diff)
* * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,DJ Delorie2000-08-212-1/+6
| | | | not hinstance.
* * Makefile.in (ALL_MODULES): Add all-cgen.Doug Evans2000-08-203-3/+22
| | | | | | | | (CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily. (all-cgen): New target. (all-opcodes,all-sim): Depend on all-cgen. * configure.in (host_tools): Add cgen. Only configure cgen if --enable-cgen-maint.
* * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionIdCorinna Vinschen2000-08-192-1/+17
| | | | | to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type.
* * Makefile.in: hinfo.o -> dtable.o.Christopher Faylor2000-08-181-11/+10
|
* * fhandler-tut.txt: hinfo -> dtable.Christopher Faylor2000-08-182-2/+6
|
* hinfo -> dtableChristopher Faylor2000-08-182-17/+18
|
* * dtable.cc (dtable::dup2): Extend fdtab if newfd is out of currentCorinna Vinschen2000-08-182-0/+11
| | | | allocated bounds.
* * config-ml.in (CC, CXX): Don't introduce a leading space.Alexandre Oliva2000-08-172-6/+10
|
* Fix 3 DV bugs, and a few minor cleanups.Jim Wilson2000-08-162-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | gas/ * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle postincrement modified registers. Handle IA64_OPND_R3_2 addl source registers. (note_register_values): Handle IA64_OPND_R3_2 operands. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. * gas/ia64/dv-raw-err.l: Likewise. * gas/ia64/dv-waw-err.l: Update sed pattern. * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. include/opcode/ * ia64.h (IA64_OPCODE_POSTINC): New. opcodes/ * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete break, mov-immediate, nop. * ia64-opc-f.c: Delete fpsub instructions. * ia64-opc-m.c: Add POSTINC to all instructions with postincrement address operand. Rewrite using macros to avoid long lines. * ia64-opc.h (POSTINC): Define. * ia64-asmtab.c: Regenerate.
* * configure.in (libstdcxx_flags): UseAlexandre Oliva2000-08-162-1/+6
| | | | libstdc++-v3/src/libstdc++.INC.
* 2000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston2000-08-162-3/+9
| | | | * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
* 2000-08-15 H.J. Lu <hjl@gnu.org>H.J. Lu2000-08-162-2/+7
| | | | | * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the IgnoreSize change.
* * configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.Alexandre Oliva2000-08-152-1/+5
|
* Add support for IA-64 specific elf header flags.Jim Wilson2000-08-142-1/+13
| | | | | | | | | | | | | | | | | | bfd/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. (elf64_ia64_print_private_bfd_data): Likewise. Also handle EF_IA_64_ABSOLUTE. gas/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. (md_begin): Change assignment to md.flag to OR in the new bit. include/elf/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
* * mkvers.sh: Properly trap exit removal of temp file. Remove debuggingChristopher Faylor2000-08-122-3/+6
| | | | statement.
* Correct order in include files.Christopher Faylor2000-08-121-1/+1
|
* * poll.cc: Make winsup.h the first include file, re 2000-08-02 change.Christopher Faylor2000-08-122-1/+5
|
* * winsup.h: Split out dtable definitions into separate header file.Christopher Faylor2000-08-1243-44/+106
| | | | | | * dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it.
* * Makefile.in: Use dtable.o rather than hinfo.o.Christopher Faylor2000-08-122-5/+9
|
* Rename hinfo -> dtable. Name the former dtable array 'fdtab'.Christopher Faylor2000-08-1222-179/+183
|
* * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,Jason Merrill2000-08-122-18/+12
| | | | | | CXX_FOR_TARGET): Add -B$$r/gcc/ here. (FLAGS_FOR_TARGET): Not here. (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
* * poll.cc: Allow any descriptor and any number of descriptors.Corinna Vinschen2000-08-112-20/+39
| | | | Allocate fd_set struct sdynamically.
* Fix premature use of fdtab.Christopher Faylor2000-08-111-1/+1
|
* * poll.cc: Add bounds checking for file descriptors. Return POLLNVALCorinna Vinschen2000-08-113-20/+30
| | | | | | if fd is invalid. Return POLLERR for each valid fd if cygwin_select returned with error. include/sys/poll.h: Change POLLERR comment according to above change.
* * syslog.cc (syslog): Use a less malloc-intensive method for allocating theChristopher Faylor2000-08-112-31/+28
| | | | buffer. Also fix a buffer overrun.
* DJ is sole setup maintainer now.Christopher Faylor2000-08-101-2/+1
|
* Change comment.Christopher Faylor2000-08-101-1/+1
|