]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years agomerge from gcc
DJ Delorie [Sat, 10 Mar 2001 22:23:16 +0000 (22:23 +0000)]
merge from gcc

23 years ago* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
Christopher Faylor [Sat, 10 Mar 2001 20:25:19 +0000 (20:25 +0000)]
* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).  Also set EACCES when directory
is not writable.

23 years ago* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
Egor Duda [Sat, 10 Mar 2001 16:45:28 +0000 (16:45 +0000)]
* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
isn't declared as a constant.

23 years ago* config/default.exp: Remove unneeded debugging output.
Egor Duda [Fri, 9 Mar 2001 15:39:28 +0000 (15:39 +0000)]
* config/default.exp: Remove unneeded debugging output.
* Makefile.in: Use correct path to find dejagnu in local tree.

23 years ago * rs6000/simulator.S (dup): New syscall.
Geoffrey Keating [Fri, 9 Mar 2001 07:31:34 +0000 (07:31 +0000)]
* rs6000/simulator.S (dup): New syscall.

23 years ago2001-03-07 Richard Sandiford <rsandifo@redhat.com>
Jeff Johnston [Thu, 8 Mar 2001 21:39:32 +0000 (21:39 +0000)]
2001-03-07  Richard Sandiford  <rsandifo@redhat.com>

        * (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a
        jmpbuf on MIPS64 targets.
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.

23 years ago* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
Alexandre Oliva [Thu, 8 Mar 2001 05:50:03 +0000 (05:50 +0000)]
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.

23 years ago* libc/include/sys/config.h: Use ssize_t for read/write declarations.
Christopher Faylor [Wed, 7 Mar 2001 21:03:43 +0000 (21:03 +0000)]
* libc/include/sys/config.h: Use ssize_t for read/write declarations.

23 years ago* syscalls.cc (_read): Change definition to return ssize_t to be consistent
Christopher Faylor [Wed, 7 Mar 2001 20:52:33 +0000 (20:52 +0000)]
* syscalls.cc (_read): Change definition to return ssize_t to be consistent
with read.
(_write): Change definition to return ssize_t to be consistent with write.

23 years agoUpdate copyright.
Christopher Faylor [Wed, 7 Mar 2001 17:45:03 +0000 (17:45 +0000)]
Update copyright.

23 years ago* sigproc.h (sigthread): Declare new methods. Create new winapi_lock field.
Christopher Faylor [Wed, 7 Mar 2001 06:19:34 +0000 (06:19 +0000)]
* sigproc.h (sigthread): Declare new methods.  Create new winapi_lock field.
(sigframe:;set): Call get_winapi_lock after frame is set so that signal handler
thread knows not to call SuspendThread.
(sigframe::~sigframe): Release winapi_lock.
* exceptions.cc (sigthread::get_winapi_lock): New method.
(sigthread::release_winapi_lock): New method.
(setup_handler): Use get_winapi_lock to ensure that signalled thread is not
blocked in a Windows API.
* path.h (path_types): Avoid broken GCC warning.

23 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2001 18:26:32 +0000 (18:26 +0000)]
merge from gcc

23 years ago * path.cc (suffix_scan::has): Change order of conditionals
Corinna Vinschen [Tue, 6 Mar 2001 13:05:56 +0000 (13:05 +0000)]
    * path.cc (suffix_scan::has): Change order of conditionals
        to allow checking for .lnk suffixes even if in_suffixes is empty.

23 years ago * autoload.c (cygwin_premain0): Add missing parameter.
Corinna Vinschen [Tue, 6 Mar 2001 12:05:45 +0000 (12:05 +0000)]
    * autoload.c (cygwin_premain0): Add missing parameter.
        * binmode.c (cygwin_premain0): Ditto.
        * textmode.c (cygwin_premain0): Ditto.

Patch contributed by Jason Tiller <jtiller@sjm.com> :
        * auto_load.cc: Add "GetKeyboardLayout" entry in the list of
        Win32 User32.DLL exports to provide.
        * fhandler.h (class fhandler_console): Add meta_mask private
        member to remember which keystroke modifiers should generate
        META.
        * fhandler_console.cc (fhandler_console::read): Modify code that
        tests a keystroke for a META-escaped key to use the 'meta_mask'
        variable.
        (fhandler_console::fhandler_console): Add definition for
        variable "meta_mask" used to determine if a keystroke should be
        preceded by META in the client console stream.  Set meta_mask
        based on whether or not user's keyboard language is English -
        non-English keyboards pass AltGr (right <ALT>) unmolested,
        whereas English keyboards now interpret left- and right-<ALT>
        as META.

23 years agoMon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
Jeff Johnston [Tue, 6 Mar 2001 01:04:43 +0000 (01:04 +0000)]
Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>

        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
        For RTEMS, define to be ssize_t.  Default to int if not defined.
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
        * libc/stdio/local.h (__sread, __swrite): Likewise.
        * libc/include/sys/reent.h (_read, _write): Likewise.
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
        * libc/syscalls/sysread.c (read): Likewise.
        * libc/syscalls/syswrite.c (write): Likewise.

23 years ago * include/a.out.h: Add copyright hint.
Corinna Vinschen [Mon, 5 Mar 2001 21:29:24 +0000 (21:29 +0000)]
    * include/a.out.h: Add copyright hint.
        * include/fcntl.h: Ditto.
        * include/lastlog.h: Ditto.
        * include/memory.h: Ditto.
        * include/mntent.h: Ditto.
        * include/paths.h: Ditto.
        * include/poll.h: Ditto.
        * include/syslog.h: Ditto.
        * include/termio.h: Ditto.
        * include/tzfile.h: Ditto.
        * include/arpa/inet.h: Ditto.
        * include/asm/byteorder.h: Ditto.
        * include/asm/socket.h: Ditto.
        * include/asm/types.h: Ditto.
        * include/cygwin/if.h: Ditto.
        * include/cygwin/mtio.h: Ditto.
        * include/cygwin/rdevio.h: Ditto.
        * include/cygwin/socket.h: Ditto.
        * include/net/if.h: Ditto.
        * include/netinet/in.h: Ditto.
        * include/netinet/in_systm.h: Ditto.
        * include/netinet/ip.h: Ditto.
        * include/netinet/ip_icmp.h: Ditto.
        * include/netinet/tcp.h: Ditto.
        * include/sys/cdefs.h: Ditto.
        * include/sys/cygwin.h: Ditto.
        * include/sys/ioctl.h: Ditto.
        * include/sys/mman.h: Ditto.
        * include/sys/mount.h: Ditto.
        * include/sys/mtio.h: Ditto.
        * include/sys/procfs.h: Ditto.
        * include/sys/resource.h: Ditto.
        * include/sys/smallprint.h: Ditto.
        * include/sys/socket.h: Ditto.
        * include/sys/strace.h: Ditto.
        * include/sys/syslog.h: Ditto.
        * include/sys/sysmacros.h: Ditto.
        * include/sys/termio.h: Ditto.
        * include/sys/termios.h: Ditto.
        * include/sys/uio.h: Ditto.
        * include/sys/un.h: Ditto.
        * include/sys/utsname.h: Ditto.
        * include/sys/vfs.h: Ditto.
        * include/sys/wait.h: Ditto.
        * regexp/regerror.c: Ditto.
        * regexp/regexp.h: Ditto.
        * regexp/regmagic.h: Ditto.

23 years ago2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 5 Mar 2001 21:07:20 +0000 (21:07 +0000)]
2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.

23 years ago * getfacl.c: Add copyright hint.
Corinna Vinschen [Mon, 5 Mar 2001 17:55:23 +0000 (17:55 +0000)]
    * getfacl.c: Add copyright hint.
        * setfacl.c: Ditto.
        * strace.cc: Ditto.

23 years ago* dlopen.c (dlopen): Return NULL when name is NULL (suggested by
Christopher Faylor [Mon, 5 Mar 2001 06:28:25 +0000 (06:28 +0000)]
* dlopen.c (dlopen): Return NULL when name is NULL (suggested by
chrisiasci@aol.com).
* cygwin.din: Add a new, internally used export - _check_for_executable.
* dcrt0.cc (dll_crt0_1): Set _check_for_executable for older binaries.  Pass
user_data to premain functions.
* fhandler.cc (fhandler_disk_file::open): Only check for executable if the
linked program is intereested in the executable bit.
(fhandler_disk_file::check_execable_p): Delete.
* fhandler.h (executable_states): New enumeration of various states of
executable bit caring.
(fhandler_base::set_execable_p): New method.
* fhandler_termios.cc (fhandler_termios::line_edit): Flag when a signal has
been sent to the tty.  Return -1 when this is so.
* fhandler_console.cc (fhandler_console::read): Return -1 when signal sending
character encountered.
* path.cc (path_conv::check): Record when path refers to a disk device.  Move
executable extension check here.
(check_sysfile): Accomodate new EXEC path states.
(has_suffix): Remove.
(next_suffix): Remove.
(class suffix_scan): New clas.
(suffix_scan::has): New method.
(suffix_scan:next): New method.
(symlink_info::check): Use suffix_scan method to control for scanning for
suffixes.
* path.h (path_conv::exec_state): New method.
* perprocess.h: Make "C" friendly.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_S_IEXEC.  Bump
CYGWIN_VERSION_API_MINOR.
* include/sys/cygwin.h: Change premain declarations.
* winsup.h: Move __cplusplus test to after builtin defines.

23 years ago* libc/include/sys/stat.h: Use special defines for executable stat bits when
Christopher Faylor [Mon, 5 Mar 2001 05:13:06 +0000 (05:13 +0000)]
* libc/include/sys/stat.h: Use special defines for executable stat bits when
compiling for Cygwin.
* libc/include/sys/unistd.h: Use special define for X_OK when compiling for
Cygwin.

23 years ago* fhandler.h (class fhandler_tty_common): New mutex and event to
Egor Duda [Sun, 4 Mar 2001 15:34:25 +0000 (15:34 +0000)]
* fhandler.h (class fhandler_tty_common): New mutex and event to
syncronize input on master tty with slave tty.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Use them to
syncronize with slave.
* fhandler_tty.cc (fhandler_tty_slave::read): Use input mutex and
event to syncronize with master. Do not limit amount of data read
from master to vmin value. Interrupt on signal and return already
read data, if any.
* fhandler_tty.cc (fhandler_tty_slave::open): Handle input mutex and
event.
* fhandler_tty.cc (fhandler_tty_common::close): Ditto.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Ditto.
* fhandler_tty.cc (fhandler_tty_common::dup): Ditto.
* tty.h (tty::open_input_mutex): New function.
* tty.cc (tty::common_init): Create input mutex and event.

23 years ago*** empty log message ***
Christopher Faylor [Sat, 3 Mar 2001 03:56:34 +0000 (03:56 +0000)]
*** empty log message ***

23 years ago2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Mar 2001 23:16:33 +0000 (23:16 +0000)]
2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
        of strtok_r is always defined.

23 years ago2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Mar 2001 23:13:04 +0000 (23:13 +0000)]
2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ansi.h: New dummy header file.

23 years ago * dir.cc (readdir): Fix creating path in symlink check.
Corinna Vinschen [Fri, 2 Mar 2001 12:33:50 +0000 (12:33 +0000)]
    * dir.cc (readdir): Fix creating path in symlink check.

23 years ago * cygwinenv.sgml: Add text for `winsymlinks' option.
Corinna Vinschen [Fri, 2 Mar 2001 12:05:31 +0000 (12:05 +0000)]
    * cygwinenv.sgml: Add text for `winsymlinks' option.
        * how-api.texinfo: Add text to explain new symlinks==shortcuts
        and the CYGWIN setting `(no)winsymlinks'.
        * how-using.texinfo: Add text that Cygwin now treats shortcuts
        as symlinks.

23 years ago * dir.cc (readdir): Fix shortcut==symlink condition.
Corinna Vinschen [Fri, 2 Mar 2001 11:41:09 +0000 (11:41 +0000)]
    * dir.cc (readdir): Fix shortcut==symlink condition.
        * environ.cc: Add extern decl for `allow_winsymlinks'.
        (struct parse_thing): Add entry for `[no]winsymlinks'.
        * path.cc (symlink): Change to be able to create both,
        symlink==shortcut and symlink==systemfile, dependent of
        the setting of `allow_winsymlinks'.
        * security.cc (cygwin_logon_user): Add debug output.
        * shortcut.c: Add defines from path.h.
        (has_exec_chars): Copy from path.h.
        (check_shortcut): Check for executable file condition if not a
        shortcut.

23 years agomerge from gcc
DJ Delorie [Fri, 2 Mar 2001 02:12:03 +0000 (02:12 +0000)]
merge from gcc

23 years ago* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
Christopher Faylor [Fri, 2 Mar 2001 02:09:40 +0000 (02:09 +0000)]
* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
started by non-cygwin parent.

23 years ago* select.cc (peek_console): Don't report read_ready on mouse events unless we
Christopher Faylor [Fri, 2 Mar 2001 01:55:21 +0000 (01:55 +0000)]
* select.cc (peek_console): Don't report read_ready on mouse events unless we
are looking for mouse events.
* fhandler.h (fhandler_console::mouse_aware): New method.

23 years ago2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
Earnie Boyd [Thu, 1 Mar 2001 20:32:34 +0000 (20:32 +0000)]
2001-03-01  Earnie Boyd  <earnie@users.sourceforge.net

* Makefile.in: (snapshot): Add target.
* lib/Makefile.in: (install-headers): Use installdir variable.
(installdir): Set value based on target-alias.

23 years agonew defines for Coldfire V4.
Nick Clifton [Wed, 28 Feb 2001 23:47:10 +0000 (23:47 +0000)]
new defines for Coldfire V4.

23 years ago2001-02-28 Will Cohen <wcohen@redhat.com>
Jeff Johnston [Wed, 28 Feb 2001 18:41:57 +0000 (18:41 +0000)]
2001-02-28  Will Cohen  <wcohen@redhat.com>

        * src/libgloss/m68k/Makefile.in: Updated copyright and
         added rules to build simulator related libraries.
        (SIM_SCRIPTS): New variable.
        (SIM_LDFLAGS): New variable.
        (SIM_BSP): New variable.
        (SIM_CRT0): New variable.
        (SIM_OBJS): New variable.
        (SIM_TEST): New variable.
        (SIM_INSTALL): new variable.
        * src/libgloss/m68k/sim-abort.c: New file.
        * src/libgloss/m68k/sim-crt0.S: New file.
        * src/libgloss/m68k/sim-errno.c: New file.
        * src/libgloss/m68k/sim-funcs.c: New file.
        * src/libgloss/m68k/sim-inbyte.c: New file.
        * src/libgloss/m68k/sim-print.c: New file.
        * src/libgloss/m68k/sim-sbrk.c: New file.
        * src/libgloss/m68k/sim.ld: New file.
        * src/libgloss/m68k/simulator.S: New file.

23 years ago * uinfo.cc: Eliminate `#include <wchar.h>'.
Corinna Vinschen [Wed, 28 Feb 2001 14:14:03 +0000 (14:14 +0000)]
    * uinfo.cc: Eliminate `#include <wchar.h>'.

23 years ago2001-02-27 Philip Blundell <pb@futuretv.com>
Phil Blundell [Wed, 28 Feb 2001 10:11:36 +0000 (10:11 +0000)]
2001-02-27  Philip Blundell  <pb@futuretv.com>

* arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
(EF_PIC, et al.): Rename to EF_ARM_xx.

23 years ago* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Determine
Egor Duda [Wed, 28 Feb 2001 09:59:54 +0000 (09:59 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Determine
drive geometry or partition size to allow seeking from the end of
raw floppy device. Don't allow positioning past the end of media or
to offsets bigger then max off_t.

23 years ago* fhandler.h (class fhandler_console): Make all variables that
Egor Duda [Tue, 27 Feb 2001 09:14:35 +0000 (09:14 +0000)]
* fhandler.h (class fhandler_console): Make all variables that
describe "state" of console to be members of fhandler_console.
default_color is now the color which is set when console recieves
reset command.
* fhandler_console.cc (fhandler_console::fhandler_console): Turn
mouse handling and raw keyboard mode off by default. Initialize
state information.
* fhandler.cc (fhandler_console::set_raw_win32_keyboard_mode): New
function.
* fhandler_console.cc (fhandler_console::set_default_attr): New
function. Reset console attributes to default values.
* fhandler_console.cc (fhandler_console::open): Reset attributes.
* fhandler_console.cc (fhandler_console::get_win32_attr): New function.
Calculate win32-style console attribute based on terminal attributes.
* fhandler_console.cc (fhandler_console::set_cursor_maybe): Use
member variable.
* fhandler_console.cc (fhandler_console::read): If in raw-win32
keyboard mode, encode win32 keyboard events in \033{x;y;z;t;u;wK
sequences.
* fhandler_console.cc (fhandler_console::dup): Copy all state
information to the dup()ed handle.
* fhandler_console.cc (fhandler_console::scroll_screen): Use current
fill-in attribute.
* fhandler_console.cc (fhandler_console::clear_screen): Ditto.
* fhandler_console.cc (fhandler_console::char_command): Check if we
saw '?' symbol by member variable. Set terminal attributes on \033[Xm
commands. \033[24m - turn off underline mode, \033[27m - turn off
reverse mode, \033[39m - restore default foreground color.
\033[49m - restore default background color. \033[2000h - turn on raw
keyboard mode, \033[2000l - turn off raw keyboard mode.
* fhandler_console.cc (fhandler_console::write): Set attribues to
default values on reset command.

23 years ago* times.cc (settimeofday): Replace function stub with working code.
Christopher Faylor [Mon, 26 Feb 2001 22:36:09 +0000 (22:36 +0000)]
* times.cc (settimeofday): Replace function stub with working code.

23 years ago * strace.cc (strace::vprntf): Move prntf functionality to this function
Corinna Vinschen [Mon, 26 Feb 2001 09:50:24 +0000 (09:50 +0000)]
    * strace.cc (strace::vprntf): Move prntf functionality to this function
        adding an va_list interface to strace.
        (strace::printf): Calls strace::vprntf now.
        (strace_printf): New function providing an extern "C" interface to
        trace output.
        * include/sys/strace.h: Make plain C clean.
        (class strace): Add `vprntf' method.

23 years ago * shortcut.c: Remove #include <sys/strace.h>.
Corinna Vinschen [Sun, 25 Feb 2001 23:14:52 +0000 (23:14 +0000)]
    * shortcut.c: Remove #include <sys/strace.h>.

23 years ago * path.cc (symlink): Add a ".lnk" suffix regardless. Add a comment.
Corinna Vinschen [Sun, 25 Feb 2001 09:34:00 +0000 (09:34 +0000)]
    * path.cc (symlink): Add a ".lnk" suffix regardless. Add a comment.

23 years ago * shortcut.c: Change symlink condition.
Corinna Vinschen [Sun, 25 Feb 2001 09:19:35 +0000 (09:19 +0000)]
    * shortcut.c: Change symlink condition.

23 years agoCYGWIN32 -> CYGWIN.
Christopher Faylor [Sat, 24 Feb 2001 23:25:30 +0000 (23:25 +0000)]
CYGWIN32 -> CYGWIN.

23 years ago * mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.
Corinna Vinschen [Fri, 23 Feb 2001 09:49:19 +0000 (09:49 +0000)]
    * mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.
* fhandler_mem.cc (fhandler_dev_mem::mmap): Ditto.

23 years ago2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 22 Feb 2001 22:26:34 +0000 (22:26 +0000)]
2001-02-22  Jeff Johnston <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove DJ Delorie's address because it is no
        longer valid.

23 years ago2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 22 Feb 2001 22:23:23 +0000 (22:23 +0000)]
2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>

        * mn10200/access.c: With DJ Delorie's permission, this code is
        now freely modifiable with no reference to "copying.dj".
        * mn10300/access.c: Ditto.

23 years ago2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 22 Feb 2001 22:12:43 +0000 (22:12 +0000)]
2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
        changed the copyright information to allow free modification of the
        file with no reference to "copying.dj".
        * libc/include/sys/stat-dj.h: Ditto.
        * libc/machine/i386/setjmp.S: Ditto.
        * libc/sys/h8300hms/sys/file.h: Ditto.
        * libc/sys/sysmec/access.c: Ditto.
        * libc/sys/sysnecv850/access.c: Ditto.
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
        * libc/stdlib/getenv_r.c: Ditto.
        * libc/stdlib/putenv_r.c: Ditto.
        * libc/stdlib/setenv_r.c: Ditto.
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
        modifications will now be in the _r version of this file.
        * libc/stdlib/putenv.c: Ditto.
        * libc/stdlib/setenv.c: Ditto.
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
        valid.  Added a reference to DJ's web page that contains his address.
        * libc/sys/go32/*.s: Removed references to DJ's old address.
        * libc/sys/go32/*.c: Ditto.
        * libc/sys/go32/*.h: Ditto.
        * libc/sys/go32/*.S: Ditto.
        * libc/sys/go32/sys/*.h: Ditto.

23 years ago * path.cc (symlink): Keep relative paths relative in the DOS
Corinna Vinschen [Thu, 22 Feb 2001 16:26:13 +0000 (16:26 +0000)]
    * path.cc (symlink): Keep relative paths relative in the DOS
        path inside of a shortcut. If that's impossible or the target
        path is already absolute save an absolute path.

23 years ago * path.cc (symlink): Keep relative paths relative in the DOS
Corinna Vinschen [Thu, 22 Feb 2001 16:14:59 +0000 (16:14 +0000)]
    * path.cc (symlink): Keep relative paths relative in the DOS
        path inside of a shortcut. If that's impossible for some
        reason, save an absolute path.

23 years ago * cygerrno.h: Revert previous patch.
Corinna Vinschen [Thu, 22 Feb 2001 14:51:16 +0000 (14:51 +0000)]
    * cygerrno.h: Revert previous patch.
        * errno.cc: Ditto.
        * dir.cc: Eliminate `dir_suffixes'.
        (opendir): Remove usage of `dir_suffixes'.
        (rmdir): Ditto.
        * fhandler.cc (fhandler_disk_file::open): Remove usage of
        `inner_suffixes'.
        * path.cc: Rename `inner_suffixes' to `lnk_suffixes'.
        (path_conv::check): Remove usage of `inner_suffixes'.
        (symlink): Ditto.
        (symlink_info::check): Handle checking for `.lnk' in path_conv
        exclusively here.
        (chdir): Remove usage of `dir_suffixes'.
        * shortcut.c: Eliminate debug_printf lines.
        (check_shortcut): Don't set error except on failing ReadFile.
        * spawn.cc: Remove ".lnk" from `std_suffixes'.
        * syscalls.cc (_unlink): Remove usage of `inner_suffixes'.
        Remove ".lnk" from `stat_suffixes'.
        (_rename): Add check for renaming a symlink to keep the ".lnk"
        suffix after renaming.

23 years ago * shortcut.c: New file. Provides a C interface to reading of
Corinna Vinschen [Thu, 22 Feb 2001 12:56:36 +0000 (12:56 +0000)]
    * shortcut.c: New file. Provides a C interface to reading of
        Windows shortcuts to avoid compiler flag `-fvtable-thunks'.
        * shortcut.h: Ditto.
        * Makefile.in: Add shortcut.o to DLL_OFILES.
        * cygerrno.h: Provide a C interface to `geterrno_from_win_error' for
        using in shortcut.c.
        * errno.cc (geterrno_from_win_error): Define as extern "C".
        * path.cc (struct symlink_info): Remove methods `check_shortcut' and
        `check_sysfile'.
        (shortcut_header): Move to shortcut.c.
        (shortcut_initalized): Ditto.
        (create_shortcut_header): Ditto.
        (cmp_shortcut_header): Ditto.
        (symlink_info::check_shortcut): Ditto. Reorganize as a plain C function.
        (symlink_info::check_sysfile): Redefine as a global function using the
        same parameter list as `check_shortcut' for clearness.
        (symlink_info::check): Change parameter list for calls to
        `check_shortcut' and `check_sysfile'.

23 years ago * Makefile.common: Revert previous change.
Corinna Vinschen [Thu, 22 Feb 2001 12:37:32 +0000 (12:37 +0000)]
    * Makefile.common: Revert previous change.

23 years ago * fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' when
Corinna Vinschen [Thu, 22 Feb 2001 11:06:25 +0000 (11:06 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' when
        resolving real_path.
        * path.cc (symlink): Ditto for win32_topath.

23 years ago2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 21 Feb 2001 23:11:06 +0000 (23:11 +0000)]
2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
        HAVE_FCNTL flag check.
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.

23 years agoAdd copyright year 2001
Corinna Vinschen [Wed, 21 Feb 2001 22:59:11 +0000 (22:59 +0000)]
Add copyright year 2001

23 years ago * Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
Corinna Vinschen [Wed, 21 Feb 2001 21:49:37 +0000 (21:49 +0000)]
    * Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
        * autoload.cc: Add LoadDLLinitfunc for ole32.dll.
        Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0
        and CoCreateInstance@20.
        * dir.cc (dir_suffixes): New datastructure.
        (readdir): Check for R/O *.lnk files to hide the suffix.
        (opendir): Use `dir_suffixes' in path conversion.
        (rmdir): Ditto.
        * fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag
        before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY
        into account only if the file is no symlink.
        * path.cc (inner_suffixes): New datastructure.
        (SYMLINKATTR): Eliminated.
        (path_conv::check): Use `inner_suffixes' on inner path components.
        (shortcut_header): New global static variable.
        (shortcut_initalized): Ditto.
        (create_shortcut_header): New function.
        (cmp_shortcut_header): Ditto.
        (symlink): Create symlinks by creating windows shortcuts. Preserve
        the old code.
        (symlink_info::check_shortcut): New method.
        (symlink_info::check_sysfile): Ditto.
        (symlink_info::check): Check for shortcuts. Move code reading
        old system attribute symlinks into symlink_info::check_sysfile().
        (chdir): Use `dir_suffixes' in path conversion.
        * security.cc (get_file_attribute): Check for S_IFLNK flag.
        Force 0777 permissions then.
        * spawn.cc (std_suffixes): Add ".lnk" suffix.
        * syscalls.cc (_unlink): Use `inner_suffixes' in path conversion.
        Check for shortcut symlinks to eliminate R/O attribute before
        calling DeleteFile().
        (stat_suffixes): Add ".lnk" suffix.
        (stat_worker): Force 0777 permissions if file is a symlink.

23 years ago * Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.
Corinna Vinschen [Wed, 21 Feb 2001 21:46:47 +0000 (21:46 +0000)]
    * Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.

23 years ago * include/w32api.h: (_W32API_VERSION): Remove.
Earnie Boyd [Wed, 21 Feb 2001 21:44:59 +0000 (21:44 +0000)]
* include/w32api.h: (_W32API_VERSION): Remove.
(__W32API_VERSION): Add.
(__W32API_MAJOR_VERSION): Ditto.
(__W32API_MINOR_VERSION): Ditto.

23 years ago * include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.
Earnie Boyd [Wed, 21 Feb 2001 21:37:18 +0000 (21:37 +0000)]
* include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.
(StartDoc[AW]): Use UNICODE'd LPDOCINFO[AW]
* include/winuser.h (struct tagMOUSEKEYS): Define new structure.
* include/winerror.h (NTE_*): Add CryptoAPI error codes.

23 years ago * include/mswsock.h: New file.
Earnie Boyd [Wed, 21 Feb 2001 20:40:47 +0000 (20:40 +0000)]
* include/mswsock.h: New file.
* include/ws2tcpip.h: New file.
* include/winsock.h (IPPROTO_IGMP): New define.
(IPPROTO_GGP): Correct value.
(SO_* macros): Remove mswsock defines.
(TCP_BSDURGENT): Likewise.
(IP_* macros): Add comment warning of WinSock2 incompatibility
(WSARecvEx): Remove mswsock prototype.
(TransmitFile): Likewise.
(AcceptEx): Likewise.
(GetAcceptExSockaddrs): Likewise.
(struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition.
(#include <mswsock.h>): Add directive and explanatory comment
* include/winsock2.h (header guard): add guard for  _WINSOCK_H
(_WINSOCK_H): Define to prevent later inclusion of winsock.h
(#include <winsock.h>): Replace directive with winsock.h file content
The following changes apply to the merged file:
(FD_SET): Keep winsock2.h definition, delete winsock.h definition
(SOMAXCONN): Likewise
(#include <nspapi.h>): Move - don't include until LPSOCKADDR defined
(IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now
in ws2tcpip.h)
(struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2)
(FD_*_BIT and FD_* defines): Place together and extend to
FD_MAX_EVENTS 10
(AF* defines): Extend to AF_MAX 10
(WSAIsBlocking): #if 0 out prototype (N/A in WinSock2)
(WSAUnhookBlockingHook): Likewise.
(WSASetBlockingHook): Likewise.
(WSACancelBlockingCall): Likewise.
(WSAEINPROGRESS): Comment as not raised in WinSock2.
(#include <mswsock.h>): Delete directive inherited from winsock.h
(WSA_QOS* defines): Add QualityOfService error codes.
(SIO_* defines): Add new macros
* include/ipexport.h (IP_STATUS flags): Add definitions.
(IP_FLAG_DF): Likewise.
(IP_OPT_* ): Likewise.
(struct ip_option_information): Likewise.
(struct icmp_echo_reply): Likewise.

23 years ago * include/tchar.h: (__TEXT): Remove undef.
Earnie Boyd [Wed, 21 Feb 2001 19:33:42 +0000 (19:33 +0000)]
* include/tchar.h: (__TEXT): Remove undef.
(_TEXT): Ditto.
(_T): Ditto.

23 years ago * include/commctrl.h: Revert TEXT change.
Earnie Boyd [Wed, 21 Feb 2001 19:31:54 +0000 (19:31 +0000)]
* include/commctrl.h: Revert TEXT change.
* include/lmalert.h: Ditto.
* include/lmcons.h: Ditto.
* include/lmsname.h: Ditto.
* include/lmsvc.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/oledlg.h: Ditto.
* include/ras.h: Ditto.
* include/regstr.h: Ditto.
* include/richedit.h: Ditto.
* include/wininet.h: Ditto.
* include/winnt.h: Ditto.

23 years ago* sigproc.cc (getsem): Make semaphore always non-inheritable.
Egor Duda [Wed, 21 Feb 2001 11:40:22 +0000 (11:40 +0000)]
* sigproc.cc (getsem): Make semaphore always non-inheritable.

23 years ago* dcrt0.cc (locale_init): Remove.
Christopher Faylor [Tue, 20 Feb 2001 03:28:01 +0000 (03:28 +0000)]
* dcrt0.cc (locale_init): Remove.

23 years ago* cygwin.din: Export rand48 functions.
Christopher Faylor [Tue, 20 Feb 2001 02:53:55 +0000 (02:53 +0000)]
* cygwin.din: Export rand48 functions.
* thread.cc (MTinterface::Init): Remove the initialization of `reent_data'.
* dcrt0.cc: Add the initalizer to the declaration of `reent_data'.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 35.

23 years agoAdd PDP-11 support
Nick Clifton [Sun, 18 Feb 2001 23:33:07 +0000 (23:33 +0000)]
Add PDP-11 support

23 years agoAllow configuration of texinfo for Cygwin hosts.
Nick Clifton [Sat, 17 Feb 2001 00:53:44 +0000 (00:53 +0000)]
Allow configuration of texinfo for Cygwin hosts.

23 years ago* signal.cc (signal): Prohibit setting handlers for SIGKILL and SIGSTOP
Egor Duda [Fri, 16 Feb 2001 18:49:20 +0000 (18:49 +0000)]
* signal.cc (signal): Prohibit setting handlers for SIGKILL and SIGSTOP
* signal.cc (sigaction): Ditto
* syscalls.cc (_lseek): Return EINVAL on invalid input

23 years ago * include/w32api.h: Oops forgot to cvs add this.
Earnie Boyd [Thu, 15 Feb 2001 17:28:40 +0000 (17:28 +0000)]
* include/w32api.h: Oops forgot to cvs add this.

23 years ago * include/commctrl.h: Use _TEXT() instead of TEXT() throughout.
Earnie Boyd [Thu, 15 Feb 2001 17:26:22 +0000 (17:26 +0000)]
* include/commctrl.h: Use _TEXT() instead of TEXT() throughout.
* include/lmalert.h: Ditto.
* include/lmcons.h: Ditto.
* include/lmsname.h: Ditto.
* include/lmsvc.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/oledlg.h: Ditto.
* include/ras.h: Ditto.
* include/regstr.h: Ditto.
* include/richedit.h: Ditto.
* include/wininet.h: Ditto.
* include/w32api.h: New File.

23 years ago* libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
Christopher Faylor [Thu, 15 Feb 2001 06:42:35 +0000 (06:42 +0000)]
* libc/include/sys/signal.h: Always include sys/types.h under Cygwin.

23 years ago2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Thu, 15 Feb 2001 02:04:55 +0000 (02:04 +0000)]
2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/stdlib.h: Add declarations of rand48 functions and
        their reentrant versions.
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
        struct _rand48 for shared parameters of rand48 functions.
        (struct _reent): Add a variable _r48 of struct _rand48.
        (_REENT_INIT): Add _r48 initialization.
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
        (CHEWOUT_FILES): Add rand48.def.
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
        NetBSD C library.
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
        * libc/stdlib/rand48.c (__dorand48): Ditto.
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
        parameters into macros referring them in the reentrant structure.

23 years ago* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when the
Christopher Faylor [Wed, 14 Feb 2001 23:45:56 +0000 (23:45 +0000)]
* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when the
library is not found

23 years ago* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
Christopher Faylor [Wed, 14 Feb 2001 22:00:09 +0000 (22:00 +0000)]
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
rendition codes in \033[xx;yym control sequences

23 years ago * include/shlobj.h: Add missing SLR_* flags.
Corinna Vinschen [Tue, 13 Feb 2001 21:39:57 +0000 (21:39 +0000)]
    * include/shlobj.h: Add missing SLR_* flags.

23 years ago* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
DJ Delorie [Tue, 13 Feb 2001 21:01:44 +0000 (21:01 +0000)]
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR.  Rename
PEP64AOUTSZ to PEPAOUTSZ.

23 years ago * lib/Makefile.in: (host_alias): Add variable.
Earnie Boyd [Mon, 12 Feb 2001 19:45:33 +0000 (19:45 +0000)]
* lib/Makefile.in: (host_alias): Add variable.
(host_build): Ditto:
(xinstall): Removed
(xinstall-libraries): Ditto.
(xinstall-headers): Ditto.
(xuninstall): Ditto.
(xuninstall-libraries): Ditto.
(xuninstall-headers): Ditto.
* Makefile.in: (host_alias): Add variable.
(build_alias): Ditto.

23 years ago2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 12 Feb 2001 18:17:17 +0000 (18:17 +0000)]
2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: Add mknod for Cygwin now that
        Cygwin definition has correct prototype.

23 years ago * i386.h (i386_optab): SSE integer converison instructions have
Jan Hubicka [Mon, 12 Feb 2001 16:42:49 +0000 (16:42 +0000)]
* i386.h (i386_optab): SSE integer converison instructions have
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'

23 years agoRemove annoying entry....:-)
Nick Clifton [Sat, 10 Feb 2001 22:30:07 +0000 (22:30 +0000)]
Remove annoying entry....:-)

23 years agoRemove extraneous whitespace
Nick Clifton [Sat, 10 Feb 2001 22:26:55 +0000 (22:26 +0000)]
Remove extraneous whitespace

23 years ago* fork.cc (fork_parent): Return EAGAIN when can't record pid.
Christopher Faylor [Sat, 10 Feb 2001 04:20:52 +0000 (04:20 +0000)]
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
* pinfo.h (pinfo::remember): Return value of call to proc_subproc.
* sigproc.cc (proc_subproc): Return error if can't record pid.

23 years agoAdd s390 support
Nick Clifton [Sat, 10 Feb 2001 00:58:38 +0000 (00:58 +0000)]
Add s390 support

23 years ago* syscalls.cc (mknod): Add valid parameters.
Christopher Faylor [Fri, 9 Feb 2001 17:17:34 +0000 (17:17 +0000)]
* syscalls.cc (mknod): Add valid parameters.

23 years ago2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Feb 2001 01:01:06 +0000 (01:01 +0000)]
2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: Must revert change for mknod
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
        prototype.

23 years ago2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Feb 2001 00:32:43 +0000 (00:32 +0000)]
2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Revert putw prototype.

23 years ago2001-02-08 Edward M. Lee <tailbert@yahoo.com>
Jeff Johnston [Fri, 9 Feb 2001 00:13:54 +0000 (00:13 +0000)]
2001-02-08  Edward M. Lee  <tailbert@yahoo.com>

        * libc/include/grp.h: add prototype for initgroups.
        * libc/include/stdio.h: fix prototype for putw.
        * libc/include/sys/signal.h: add prototype for killpg.
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
        vhangup and remove duplicate sysconf prototype.

23 years ago * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
Corinna Vinschen [Thu, 8 Feb 2001 21:10:45 +0000 (21:10 +0000)]
    * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
        and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.

23 years ago * mmap.cc (class list): Add member `hash'.
Corinna Vinschen [Thu, 8 Feb 2001 21:02:36 +0000 (21:02 +0000)]
    * mmap.cc (class list): Add member `hash'.
        (list::list): Initialize `hash'.
        (list::get_list_by_fd): Use filepath hash value to get the correct
        mapping list if it's not an anonymous mapping.
        (map::add_list): Initialize `hash' with filepath hash value.
        (mmap): Check for reusing a mapping only on MAP_SHARED.

23 years ago* setup2.sgml: Add docs about domain accounts.
DJ Delorie [Thu, 8 Feb 2001 04:12:48 +0000 (04:12 +0000)]
* setup2.sgml: Add docs about domain accounts.

23 years ago* signal.cc (killpg): Correct first argument.
Christopher Faylor [Wed, 7 Feb 2001 23:48:09 +0000 (23:48 +0000)]
* signal.cc (killpg): Correct first argument.

23 years ago * autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
Corinna Vinschen [Wed, 7 Feb 2001 22:50:50 +0000 (22:50 +0000)]
    * autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
        Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12.
        * fhandler_socket.cc (fhandler_socket::ioctl): Move variable
        definitions to the beginning of the function to allow better debugging.
        Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
        * net.cc: Include iphlpapi.h.
        (get_2k_ifconf): Rewritten. Uses IP Helper API now.
        (get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC
        and SIOCGIFMTU.
        (get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'.
        (get_ifconf): Name loopback `lo' instead of `lo0' as in Linux.
        Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
        Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only
        on Windows NT < Service Pack 3, `get_2k_ifconf otherwise.
        * include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC
        and SIOCGIFMTU.
        * include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'.
        (struct ifreq): Add `ifru_hwaddr'.

23 years ago2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 7 Feb 2001 18:11:09 +0000 (18:11 +0000)]
2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/rtems/sys/types.h: Removed.

23 years ago* configure: Output host type to stdout, not stderr.
DJ Delorie [Wed, 7 Feb 2001 01:06:43 +0000 (01:06 +0000)]
* configure: Output host type to stdout, not stderr.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:35:48 +0000 (19:35 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.

23 years ago2001-02-06 Will Cohen <wcohen@redhat.com>
Jeff Johnston [Tue, 6 Feb 2001 19:17:20 +0000 (19:17 +0000)]
2001-02-06  Will Cohen  <wcohen@redhat.com>

        * rs6000/sim-errno.c (__errno): Removed.
        (_cerror): Use re-entrant version of errno.

23 years ago * syscalls.cc (stat_worker): Add a check for the special case when
Corinna Vinschen [Tue, 6 Feb 2001 14:07:02 +0000 (14:07 +0000)]
    * syscalls.cc (stat_worker): Add a check for the special case when
        a process creates a file using mode 000 using ntsec.

23 years ago2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
Jeff Johnston [Mon, 5 Feb 2001 21:51:43 +0000 (21:51 +0000)]
2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>

        * libc/include/locale.h: add LC_MESSAGES definition

23 years ago * fhandler.cc (fhandler_base::open): Always add GENERIC_READ access
Corinna Vinschen [Mon, 5 Feb 2001 16:10:06 +0000 (16:10 +0000)]
    * fhandler.cc (fhandler_base::open): Always add GENERIC_READ access
        when opening raw disk devices.
        * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Implement bytewise
        access.
        * fhandler_raw.cc (fhandler_dev_raw::open): Always open raw disk device
        binary.
        (fhandler_dev_raw::raw_write): Don't drop read buffer content when
        writing after read.

23 years ago * mmap.cc (mmap_record::fixup_map): New method to duplicate
Corinna Vinschen [Mon, 5 Feb 2001 12:36:41 +0000 (12:36 +0000)]
    * mmap.cc (mmap_record::fixup_map): New method to duplicate
        the memory protection in a just forked child.
        (mmap): Realign gran_len to page boundary only on anonymous
        mapping before saving in the mmap_record.
        (munmap): Cleanup code.
        (msync): Ditto.
        (fixup_mmaps_after_fork): Ditto. Call mmap_record::fixup_map now.

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