]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 years ago* Makefile.in: Add cygheap.o.
Christopher Faylor [Sun, 3 Sep 2000 04:16:35 +0000 (04:16 +0000)]
* Makefile.in: Add cygheap.o.
* child_info.h: Add specific exec class.
* cygheap.h: New file.  Contains declarations for cygwin heap.
* cygheap.cc: New file.  Implements cygwin heap functions.
* dcrt0.cc (quoted): Simplify due to new method for passing arguments between
cygwin programs.
(alloc_stack_hard_way): Attempt to handle overlapped stack.
(dll_crt0_1): Move child_info processing here.  Accomodate new method for
passing arguments between cygwin programs.  Initialize cygwin heap.  Establish
__argc and __argv variables.
(_dll_crt0): Move most of child_info processing to dll_crt0_1.
(cygwin_dll_init): Remove duplication.
* dtable.cc (dtable::extend): Allocate dtable using cygwin heap.
(dtable::build_fhandler): Ditto for fhandler type being constructed.
(dtable::dup_worker): Free new fhandler from cygwin heap on error.
(dtable::select_*): Don't assume that this == fdtab.
(dtable::linearize_fd_array): Delete.
(dtable::delinearize_fd_array): Delete.
(dtable::fixup_after_exec): New file.
(dtable::vfork_child_dup): Use cygwin heap.
(dtable::vfork_parent_restore): Ditto.
* dtable.h: Remove obsolete methods.  Add new method.
* environ.cc (posify): Eliminate already_posix parameter and logic.
(envsize): New function.
(_addenv): Use envsize.
(environ_init): Accept an argument pointing to an existing environment list.
If supplied, allocate space for this in the the program's heap.
* fhandler.cc (fhandler_base::operator =): Move here from fhandler.h.  Use
cygwin heap to allocate filenames.
(fhandler_base::set_name): Allocate/free names from cygwin heap.
(fhandler_base::linearize): Delete.
(fhandler_base::de_linearize): Delete.
(fhandler_base::operator delete): Free from cygwin heap.
(fhandler_base::~fhandler_base): Ditto.
* fhandler.h: Accomodate elimination of *linearize and other changes above.
* fhandler_console.cc (fhandler_console::fixup_after_exec): Rename from
de_linearize.
* heap.h: New file.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Use cygwin heap for
name.  fhandler_tty::fixup_after_exec): Rename from de_linearize.
* fork.cc (fork): Call cygheap_fixup_in_child.
* heap.cc: Use declarations in heap.h.
* malloc.cc: Sprinkle assertions throughout to catch attempts to free/realloc
something from the cygwin heap.
* path.cc: Throughout, eliminate use of per-thread cache for cwd.  Use cwd_*
functions rather than cwd_* variables to access cwd_win32 and cwd_posix.
(cwd_win32): New function.
(cwd_posix): New function.
(cwd_hash): New function.
(cwd_fixup_after_exec): New function.
* path.h: Accomodate path.cc changes.
* pinfo.cc (pinfo_init): Accept a pointer to an environment table.  Pass this
to environ_init.  Eliminate old 'title' tests.
* pinfo.h: Accomodate above change in argument.
* spawn.cc (struct av): New method for building argv list.
(av::unshift): New method.
(spawn_guts): Allocate everything that the child process needs in the cygwin
heap and pass a pointer to this to the child.  Build argv list using new
method.  Eliminate delinearize stuff.
* thread.h: Eliminate _cwd_win32 and _cwd_posix buffers.
* winsup.h: Eliminate obsolete functions.  Add envsize() declaration.

24 years ago* Makefile.in: Add new goal "check"
Christopher Faylor [Sun, 3 Sep 2000 04:06:38 +0000 (04:06 +0000)]
* Makefile.in: Add new goal "check"
* configure.in: When doing native build do configure in testsuite subdirectory
* configure: Regenerate.

24 years ago* Makefile.in: Remove "make check" support. It is now in winsup/Makefile.in.
Christopher Faylor [Sun, 3 Sep 2000 04:01:56 +0000 (04:01 +0000)]
* Makefile.in: Remove "make check" support.  It is now in winsup/Makefile.in.

24 years agoImporting Egor's testsuite.
Christopher Faylor [Sun, 3 Sep 2000 03:58:18 +0000 (03:58 +0000)]
Importing Egor's testsuite.

24 years agoImporting Egor's testsuite.
Christopher Faylor [Sun, 3 Sep 2000 03:52:30 +0000 (03:52 +0000)]
Importing Egor's testsuite.

24 years agoRemove everything
Christopher Faylor [Sun, 3 Sep 2000 03:42:01 +0000 (03:42 +0000)]
Remove everything

24 years agoRemove README
Christopher Faylor [Sun, 3 Sep 2000 03:41:19 +0000 (03:41 +0000)]
Remove README

24 years agoremove everything and move it up a level.
Christopher Faylor [Sun, 3 Sep 2000 03:40:29 +0000 (03:40 +0000)]
remove everything and move it up a level.

24 years ago* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
Alexandre Oliva [Sat, 2 Sep 2000 07:24:51 +0000 (07:24 +0000)]
* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
crosses, but add gcc/include to the header search path for them.

24 years ago* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
Alexandre Oliva [Sat, 2 Sep 2000 02:24:02 +0000 (02:24 +0000)]
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs.
(R_SH_FIRST_INVALID_RELOC): Adjust.

24 years ago* sigproc.cc (mychild): New function.
Christopher Faylor [Sat, 2 Sep 2000 01:19:58 +0000 (01:19 +0000)]
* sigproc.cc (mychild): New function.
(proc_subproc): Use mychild() to determine if a specific pid is valid for
wait()ing.

24 years ago* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
Christopher Faylor [Fri, 1 Sep 2000 21:04:34 +0000 (21:04 +0000)]
* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
potential races.
(init_child_info): Avoid unneeded test.

24 years ago* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
Christopher Faylor [Fri, 1 Sep 2000 20:54:22 +0000 (20:54 +0000)]
* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
* shared.h: Split out "child_info" stuff into a new header file and use where
necessary.  Declare pid_exists.
* child_info.h: New file.

24 years ago* Makefile.in: More normalization.
Christopher Faylor [Fri, 1 Sep 2000 14:20:30 +0000 (14:20 +0000)]
* Makefile.in: More normalization.

24 years ago* Makefile.in: Normalize 'pwd' based on location of winsup.
Christopher Faylor [Thu, 31 Aug 2000 20:39:32 +0000 (20:39 +0000)]
* Makefile.in: Normalize 'pwd' based on location of winsup.

24 years ago* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
Christopher Faylor [Thu, 31 Aug 2000 20:07:53 +0000 (20:07 +0000)]
* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.

24 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
Alexandre Oliva [Thu, 31 Aug 2000 09:25:11 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

24 years ago* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
DJ Delorie [Wed, 30 Aug 2000 22:37:24 +0000 (22:37 +0000)]
* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
conversion
(FACTOR): correct value
(genf): set milliseconds to zero, DOW to 4.

24 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
Jeff Johnston [Wed, 30 Aug 2000 22:17:17 +0000 (22:17 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.

24 years ago2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Wed, 30 Aug 2000 18:34:53 +0000 (18:34 +0000)]
2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
        everywhere else.

24 years agoCorrect for missing patch
Geoffrey Keating [Wed, 30 Aug 2000 18:31:59 +0000 (18:31 +0000)]
Correct for missing patch

24 years ago * libc/string/swab.c: Specify that it's defined in <unistd.h>.
Geoffrey Keating [Wed, 30 Aug 2000 18:30:16 +0000 (18:30 +0000)]
* libc/string/swab.c: Specify that it's defined in <unistd.h>.
* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution.  Don't declare
swab(), it is properly declared in unistd.h.

24 years ago* grp.cc (getgroups): fail with EINVAL if array is not large
DJ Delorie [Tue, 29 Aug 2000 18:59:26 +0000 (18:59 +0000)]
* grp.cc (getgroups): fail with EINVAL if array is not large
enough to hold all supplementary group IDs.

24 years ago2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Tue, 29 Aug 2000 18:09:15 +0000 (18:09 +0000)]
2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
        (broken) support for non-existent /etc/passwd field "comment".

24 years ago* signal.cc (_raise): New function.
Christopher Faylor [Tue, 29 Aug 2000 02:06:49 +0000 (02:06 +0000)]
* signal.cc (_raise): New function.
* exceptions.cc (unused_sig_wrapper): Remove _raise.
* sigproc.h (class sigframe): Default frames to skip to zero or suffer from
exuberant optimization.
* fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile
to pipe fails.

24 years ago* kill.c (main): Avoid skipping next argument when a signal number is
Christopher Faylor [Tue, 29 Aug 2000 01:58:00 +0000 (01:58 +0000)]
* kill.c (main): Avoid skipping next argument when a signal number is
specified.
* Makefile.in: Always clean dumper.exe.

24 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 20:06:54 +0000 (20:06 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
        only if _DIRENT_HAVE_D_NAMLEN is defined.
        (alphasort): aligned prototype with
        libc/sys/cygwin/sys/dirent.h and simplified function body.
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
        long telldir (DIR *) as mentioned in annex B of POSIX.1

24 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 17:50:06 +0000 (17:50 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
        Added __CLI and __STI macros (controlled via
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
        for all global entry points.
        * libc/machine/i386/setjmp.S: removed code replicated in
        libc/machine/i386/i386mach.h and included i386mach.h instead;
        Use __CLI and __STI instead of cli and sti.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Mon, 28 Aug 2000 17:45:56 +0000 (17:45 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

24 years ago* pinfo.h (pinfo): Un-inline release.
Christopher Faylor [Sat, 26 Aug 2000 03:48:37 +0000 (03:48 +0000)]
* pinfo.h (pinfo): Un-inline release.
* pinfo.cc (pinfo::release): Move here from pinfo.h.
* sigproc.cc (proc_terminate): Remove bogus 'pinfo child' which caused strange
destruction of random regions of memory when destructor was invoked.

24 years ago* dcrt0.cc (dll_crt0_1): Move set_os_type.
Christopher Faylor [Sat, 26 Aug 2000 01:36:20 +0000 (01:36 +0000)]
* dcrt0.cc (dll_crt0_1): Move set_os_type.
(_dll_crt0): To here.
(cygwin_dll_init): And here.
* external.cc (fillout_pinfo): Use more foolproof method for scanning for pids.
* pinfo.cc (set_myself): Eliminate myself_identity.init.
* sigproc.cc (wait_sig): Do it here instead to reduce the amount of time where
there could potentially be two processes with the same pid.
* spawn.cc (spawn_guts): Eliminate duplicate initialization.
* include/sys/cygwin.h: Mark unused PID_* elements.

24 years ago* libc/include/sys/unistd.h (environ): this one isn't from the
DJ Delorie [Fri, 25 Aug 2000 20:14:45 +0000 (20:14 +0000)]
* libc/include/sys/unistd.h (environ): this one isn't from the
DLL, no __IMPORT

24 years ago * exec.cc (_execve): Change definition according to declaration in
Corinna Vinschen [Fri, 25 Aug 2000 19:52:04 +0000 (19:52 +0000)]
    * exec.cc (_execve): Change definition according to declaration in
        newlib/libc/include/sys/unistd.h.

24 years ago* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
Christopher Faylor [Fri, 25 Aug 2000 17:39:06 +0000 (17:39 +0000)]
* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environ
when compiling under cygwin since it is already declared in unistd.h.

24 years ago* Makefile.in: Only build dumper.exe when all of its library and include
Christopher Faylor [Fri, 25 Aug 2000 16:50:08 +0000 (16:50 +0000)]
* Makefile.in: Only build dumper.exe when all of its library and include
dependencies are available.

24 years agoAdd entry "How do I uninstall Cygwin?"
David Starks-Browning [Fri, 25 Aug 2000 16:35:16 +0000 (16:35 +0000)]
Add entry "How do I uninstall Cygwin?"

24 years ago* Makefile.in: Make failure to build dumper.exe a non-error.
Christopher Faylor [Fri, 25 Aug 2000 15:45:42 +0000 (15:45 +0000)]
* Makefile.in: Make failure to build dumper.exe a non-error.

24 years agominor formatting fixes
David Starks-Browning [Fri, 25 Aug 2000 13:33:38 +0000 (13:33 +0000)]
minor formatting fixes

24 years agoMajor re-write of "Installation using the setup.exe program".
David Starks-Browning [Fri, 25 Aug 2000 13:15:10 +0000 (13:15 +0000)]
Major re-write of "Installation using the setup.exe program".

24 years agoMinor changes.
David Starks-Browning [Fri, 25 Aug 2000 12:57:19 +0000 (12:57 +0000)]
Minor changes.

24 years ago* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
Christopher Faylor [Fri, 25 Aug 2000 02:27:42 +0000 (02:27 +0000)]
* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
exception handling on threads not created by cygwin.
* sigproc.cc (proc_terminate): Don't release pinfo structs since we are
exiting.
* include/sys/cygwin.h: Add CW_INIT_EXCEPTIONS.

24 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
Christopher Faylor [Fri, 25 Aug 2000 02:25:52 +0000 (02:25 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 22:32:38 +0000 (22:32 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).

24 years ago* ps.cc (main): Always print a cygwin process using cygwin paths.
Christopher Faylor [Thu, 24 Aug 2000 22:04:29 +0000 (22:04 +0000)]
* ps.cc (main): Always print a cygwin process using cygwin paths.

24 years ago* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
Christopher Faylor [Thu, 24 Aug 2000 21:19:14 +0000 (21:19 +0000)]
* select.cc (cygwin_select): Correct logic for "always_ready" fds or when there
is no wait specified.
* syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it.

24 years agoChange attribution.
Christopher Faylor [Thu, 24 Aug 2000 19:07:29 +0000 (19:07 +0000)]
Change attribution.

24 years ago* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.
Christopher Faylor [Thu, 24 Aug 2000 19:05:38 +0000 (19:05 +0000)]
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.

24 years ago* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
Christopher Faylor [Thu, 24 Aug 2000 19:03:12 +0000 (19:03 +0000)]
* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 18:51:09 +0000 (18:51 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * 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.

24 years ago* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
Christopher Faylor [Thu, 24 Aug 2000 18:39:27 +0000 (18:39 +0000)]
* include/cygwin/core_dump.h: New file, contains structures used in cygwin core
core files.
* include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps
support in bfd.

24 years ago* environ.cc (parse_thing): nobinmode should force O_TEXT.
Christopher Faylor [Thu, 24 Aug 2000 17:54:43 +0000 (17:54 +0000)]
* environ.cc (parse_thing): nobinmode should force O_TEXT.
(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.

24 years ago* include/sys/cygwin.h (strace_printf_wrap): Force printing when
Christopher Faylor [Thu, 24 Aug 2000 17:23:35 +0000 (17:23 +0000)]
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM.
(strace_printf_wrap1): Ditto.

24 years ago* debug.h: Allow some debug defines for use in header files.
Christopher Faylor [Thu, 24 Aug 2000 16:33:03 +0000 (16:33 +0000)]
* debug.h: Allow some debug defines for use in header files.

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 16:25:36 +0000 (16:25 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * 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"

24 years ago2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
Jeff Johnston [Thu, 24 Aug 2000 16:11:59 +0000 (16:11 +0000)]
2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * 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).

24 years ago* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
Christopher Faylor [Thu, 24 Aug 2000 04:07:50 +0000 (04:07 +0000)]
* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in
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.

24 years agoRevert previous erroneous checkin.
Christopher Faylor [Wed, 23 Aug 2000 14:56:28 +0000 (14:56 +0000)]
Revert previous erroneous checkin.

24 years ago* include/sys/cygwin.h: Protect class definitions.
Christopher Faylor [Wed, 23 Aug 2000 14:53:25 +0000 (14:53 +0000)]
* include/sys/cygwin.h: Protect class definitions.

24 years ago* libc/unix/getut.c (utmpname): added _CONST to reflect common use
DJ Delorie [Tue, 22 Aug 2000 19:04:49 +0000 (19:04 +0000)]
* libc/unix/getut.c (utmpname): added _CONST to reflect common use
and prototype in cygwin's utmp.h

24 years ago* path.cc (symlink_info::check): Clear error on each iteration of extension
Christopher Faylor [Tue, 22 Aug 2000 17:59:53 +0000 (17:59 +0000)]
* path.cc (symlink_info::check): Clear error on each iteration of extension
check.

24 years ago* Makefile.in: Don't include '.d' file if there are none generated yet.
Christopher Faylor [Tue, 22 Aug 2000 15:25:25 +0000 (15:25 +0000)]
* Makefile.in: Don't include '.d' file if there are none generated yet.

24 years ago* include/sys/cygwin.h: Declare some thread classes.
Christopher Faylor [Tue, 22 Aug 2000 15:12:29 +0000 (15:12 +0000)]
* include/sys/cygwin.h: Declare some thread classes.
* include/mntent.h: Avoid declaring functions.

24 years ago* winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files
Christopher Faylor [Tue, 22 Aug 2000 05:10:20 +0000 (05:10 +0000)]
* winsup.h: Eliminate inclusion of most of the cygwin .h files.  Use .h files
only in sources which require them.
* Makefile.in: Generate dependencies with -MD option.

24 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
Alexandre Oliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

24 years ago* cygerrno.h: New file. Use this throughout whenever errno manipulation is
Christopher Faylor [Tue, 22 Aug 2000 03:58:47 +0000 (03:58 +0000)]
* cygerrno.h: New file.  Use this throughout whenever errno manipulation is
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 /.

24 years agoUpdate copyright.
Christopher Faylor [Mon, 21 Aug 2000 18:27:38 +0000 (18:27 +0000)]
Update copyright.

24 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
DJ Delorie [Mon, 21 Aug 2000 18:15:50 +0000 (18:15 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,
not handle. (reverse of previous diff)

24 years ago* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
DJ Delorie [Mon, 21 Aug 2000 17:47:52 +0000 (17:47 +0000)]
* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,
not hinstance.

24 years ago * Makefile.in (ALL_MODULES): Add all-cgen.
Doug Evans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(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.

24 years ago* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
Corinna Vinschen [Sat, 19 Aug 2000 00:20:00 +0000 (00:20 +0000)]
* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId
to TOKEN_INFORMATION_CLASS type.
Add QUOTA_LIMITS type.

24 years ago* Makefile.in: hinfo.o -> dtable.o.
Christopher Faylor [Fri, 18 Aug 2000 20:01:04 +0000 (20:01 +0000)]
* Makefile.in: hinfo.o -> dtable.o.

24 years ago* fhandler-tut.txt: hinfo -> dtable.
Christopher Faylor [Fri, 18 Aug 2000 19:52:31 +0000 (19:52 +0000)]
* fhandler-tut.txt: hinfo -> dtable.

24 years agohinfo -> dtable
Christopher Faylor [Fri, 18 Aug 2000 19:51:02 +0000 (19:51 +0000)]
hinfo -> dtable

24 years ago* dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current
Corinna Vinschen [Fri, 18 Aug 2000 18:14:08 +0000 (18:14 +0000)]
* dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current
allocated bounds.

24 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
Alexandre Oliva [Thu, 17 Aug 2000 15:18:39 +0000 (15:18 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

24 years agoFix 3 DV bugs, and a few minor cleanups.
Jim Wilson [Wed, 16 Aug 2000 23:20:14 +0000 (23:20 +0000)]
Fix 3 DV bugs, and a few minor cleanups.
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.

24 years ago* configure.in (libstdcxx_flags): Use
Alexandre Oliva [Wed, 16 Aug 2000 18:37:42 +0000 (18:37 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.

24 years ago2000-08-16 Eric Fifer <efifer@sanwaint.com>
Jeff Johnston [Wed, 16 Aug 2000 18:30:40 +0000 (18:30 +0000)]
2000-08-16  Eric Fifer  <efifer@sanwaint.com>

        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1

24 years ago2000-08-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 16 Aug 2000 17:29:23 +0000 (17:29 +0000)]
2000-08-15  H.J. Lu  <hjl@gnu.org>

* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.

24 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

24 years agoAdd support for IA-64 specific elf header flags.
Jim Wilson [Mon, 14 Aug 2000 20:13:39 +0000 (20:13 +0000)]
Add support for IA-64 specific elf header flags.
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.

24 years ago* mkvers.sh: Properly trap exit removal of temp file. Remove debugging
Christopher Faylor [Sat, 12 Aug 2000 05:48:51 +0000 (05:48 +0000)]
* mkvers.sh: Properly trap exit removal of temp file.  Remove debugging
statement.

24 years agoCorrect order in include files.
Christopher Faylor [Sat, 12 Aug 2000 05:47:12 +0000 (05:47 +0000)]
Correct order in include files.

24 years ago* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.
Christopher Faylor [Sat, 12 Aug 2000 05:39:41 +0000 (05:39 +0000)]
* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.

24 years ago* winsup.h: Split out dtable definitions into separate header file.
Christopher Faylor [Sat, 12 Aug 2000 05:35:42 +0000 (05:35 +0000)]
* winsup.h: Split out dtable definitions into separate header file.
* dtable.h: New file.
* sigproc.h: Eliminate pinfo.h usage here.  Use it in source files that need
it.

24 years ago* Makefile.in: Use dtable.o rather than hinfo.o.
Christopher Faylor [Sat, 12 Aug 2000 05:09:27 +0000 (05:09 +0000)]
* Makefile.in: Use dtable.o rather than hinfo.o.

24 years agoRename hinfo -> dtable. Name the former dtable array 'fdtab'.
Christopher Faylor [Sat, 12 Aug 2000 04:48:44 +0000 (04:48 +0000)]
Rename hinfo -> dtable.  Name the former dtable array 'fdtab'.

24 years ago * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
Jason Merrill [Sat, 12 Aug 2000 00:49:39 +0000 (00:49 +0000)]
    * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        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.

24 years ago * poll.cc: Allow any descriptor and any number of descriptors.
Corinna Vinschen [Fri, 11 Aug 2000 20:34:24 +0000 (20:34 +0000)]
    * poll.cc: Allow any descriptor and any number of descriptors.
        Allocate fd_set struct sdynamically.

24 years agoFix premature use of fdtab.
Christopher Faylor [Fri, 11 Aug 2000 13:49:42 +0000 (13:49 +0000)]
Fix premature use of fdtab.

24 years ago * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
Corinna Vinschen [Fri, 11 Aug 2000 12:51:47 +0000 (12:51 +0000)]
    * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL
        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.

24 years ago* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
Christopher Faylor [Fri, 11 Aug 2000 01:56:05 +0000 (01:56 +0000)]
* syslog.cc (syslog): Use a less malloc-intensive method for allocating the
buffer.  Also fix a buffer overrun.

24 years agoDJ is sole setup maintainer now.
Christopher Faylor [Thu, 10 Aug 2000 23:51:25 +0000 (23:51 +0000)]
DJ is sole setup maintainer now.

24 years agoChange comment.
Christopher Faylor [Thu, 10 Aug 2000 22:24:58 +0000 (22:24 +0000)]
Change comment.

24 years agocomment changes.
Christopher Faylor [Thu, 10 Aug 2000 22:22:09 +0000 (22:22 +0000)]
comment changes.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 22:04:38 +0000 (22:04 +0000)]
Minor change.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 22:02:41 +0000 (22:02 +0000)]
Minor change.

24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 21:54:44 +0000 (21:54 +0000)]
Minor change.

24 years ago* winsup.h: Change strchr inline for strange gcc problem.
Christopher Faylor [Thu, 10 Aug 2000 19:33:54 +0000 (19:33 +0000)]
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.

24 years ago* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
Christopher Faylor [Thu, 10 Aug 2000 19:20:11 +0000 (19:20 +0000)]
* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
filenames.
* fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno,
making it effective for the whole function.

This page took 0.070245 seconds and 5 git commands to generate.