]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years agoindicate ntsec now on by default
David Starks-Browning [Sun, 17 Nov 2002 23:49:14 +0000 (23:49 +0000)]
indicate ntsec now on by default

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 16 Nov 2002 18:43:03 +0000 (18:43 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * opcode/m88k.h (INSTAB): Remove 'next' field.
        (instruction): Remove definition; replace with extern declaration
        and mark as const.
W

21 years ago * gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
Svein Seldal [Sat, 16 Nov 2002 12:23:23 +0000 (12:23 +0000)]
* gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
  (c4x_operands_match): Added check for 8-bits LDF insn. Give
  warning when using constant direct bigger than 2^16. Add the new
  arguments.
* include/opcode/tic4x.h: Major rewrite of entire file. Define
  instruction classes, and put each instruction into a class.
* opcodes/tic4x-dis.c: (c4x_print_op): Add support for the new
  argument format. Fix bug in 'N' register printer.

21 years ago* tty.cc (tty::make_pipes): Make pipe buffer larger.
Christopher Faylor [Sat, 16 Nov 2002 06:22:42 +0000 (06:22 +0000)]
* tty.cc (tty::make_pipes): Make pipe buffer larger.

21 years ago* grp.cc (getgroups32): Protect against closing cygheap->user.token.
Christopher Faylor [Sat, 16 Nov 2002 03:50:56 +0000 (03:50 +0000)]
* grp.cc (getgroups32): Protect against closing cygheap->user.token.

21 years ago * lib/uuid.c (CATID_InternetAware,CLSID_HttpSProtocol,
Danny Smith [Sat, 16 Nov 2002 03:04:41 +0000 (03:04 +0000)]
* lib/uuid.c (CATID_InternetAware,CLSID_HttpSProtocol,
CLSID_PSUrlMonProxy,CLSID_StdURLMoniker,IID_IObjectWithSite,
IID_IPersistMoniker,IID_IProgressNotify): Correct definitions.
(CLSID_CFontPropPage00, GUID_FONTUNDERSCORE11,
IID_IOleControlSite89): Remove.

21 years ago* lib/uuid.c (IID_IRunnableObject): Remove duplicate definition.
Christopher Faylor [Fri, 15 Nov 2002 21:18:47 +0000 (21:18 +0000)]
* lib/uuid.c (IID_IRunnableObject): Remove duplicate definition.
(IID_IStdMarshalInfo): Ditto.

21 years ago* lib/uuid.c (IID_IOleInPlaceSite): Remove duplicate definition.
Christopher Faylor [Fri, 15 Nov 2002 21:11:29 +0000 (21:11 +0000)]
* lib/uuid.c (IID_IOleInPlaceSite): Remove duplicate definition.
(IID_IPersistStorage): Ditto.

21 years ago* include/cygwin/version.h: Bump API_MINOR to accommodate below changes.
Christopher Faylor [Fri, 15 Nov 2002 19:04:36 +0000 (19:04 +0000)]
* include/cygwin/version.h: Bump API_MINOR to accommodate below changes.
* cygwin.din (siginterrupt): New export.
* signal.cc (siginterrupt): New.

21 years ago* select.cc (peek_serial): Don't call PurgeComm() to avoid characters loss.
Christopher Faylor [Fri, 15 Nov 2002 18:58:12 +0000 (18:58 +0000)]
* select.cc (peek_serial): Don't call PurgeComm() to avoid characters loss.

21 years ago2002-11-15 Weiqi Gao <weiqigao@users.sourceforge.net>
Danny Smith [Fri, 15 Nov 2002 07:13:22 +0000 (07:13 +0000)]
2002-11-15  Weiqi Gao  <weiqigao@users.sourceforge.net>

* lib/uuid.c (CLSID_PSClassObject, CLSID_PSEnumerators,
IID_IClassActivator, IID_IClientSecurity, IID_ICreateTypeInfo,
IID_ICreateTypeLib2, IID_IOleInPlaceSite, IID_IPersistStorage,
IID_IRunnableObject, IID_IServerSecurity, IID_IStdMarshalInfo):
Correct definitions.

21 years ago* exceptions.cc (setup_handler): Add debugging output. Set thread priority to
Christopher Faylor [Fri, 15 Nov 2002 04:35:13 +0000 (04:35 +0000)]
* exceptions.cc (setup_handler): Add debugging output.  Set thread priority to
idle if pending signals to allow other threads to get into interruptible state.
* miscfuncs.cc (sys_mbstowcs): Save current thread in variable to avoid an OS
call.
* wait.cc (wait_sig): Reset thread priority each time through loop since the
priority may have been set down to deal with pending signals.

21 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Don't take any special
Christopher Faylor [Fri, 15 Nov 2002 02:12:36 +0000 (02:12 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Don't take any special
action when vmin_ == 0.

21 years ago * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
Danny Smith [Fri, 15 Nov 2002 01:08:17 +0000 (01:08 +0000)]
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): Change comment to refer w32api package, not MinGW.

21 years ago * include/ddk/ntddk.h: Include winnt.h as system header.
Danny Smith [Fri, 15 Nov 2002 01:02:37 +0000 (01:02 +0000)]
* include/ddk/ntddk.h: Include winnt.h as system header.

21 years ago2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 14 Nov 2002 23:04:05 +0000 (23:04 +0000)]
2002-11-14  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
        only issue one pass/fail message for a compile/link/execute.
        * testsuite/newlib.elix/elix.exp: New file.
        * testsuite/newlib.elix/tmmap.c: Ditto.

21 years ago* Makefile.tpl: syntactic cleanup
DJ Delorie [Thu, 14 Nov 2002 22:42:36 +0000 (22:42 +0000)]
* Makefile.tpl: syntactic cleanup

21 years ago * grp.cc (getgroups32): Revert previous patch. Use impersonation
Corinna Vinschen [Thu, 14 Nov 2002 19:19:39 +0000 (19:19 +0000)]
* grp.cc (getgroups32): Revert previous patch.  Use impersonation
token if process is in impersonated state.
* sec_helper.cc (is_grp_member): Rewrite.  Call getgroups32 only
for current user.  Scan passwd and group info otherwise.

21 years agoAdd --enable-auto-import extension.
Nick Clifton [Thu, 14 Nov 2002 18:03:17 +0000 (18:03 +0000)]
Add --enable-auto-import extension.

21 years agochecking previously ChangeLog'ed file.
Christopher Faylor [Thu, 14 Nov 2002 18:02:05 +0000 (18:02 +0000)]
checking previously ChangeLog'ed file.

21 years ago* fhandler_console.cc (fhandler_console::write): Allow characters >= 0177 to be
Christopher Faylor [Thu, 14 Nov 2002 17:46:58 +0000 (17:46 +0000)]
* fhandler_console.cc (fhandler_console::write): Allow characters >= 0177 to be
displayed in the title bar.

21 years ago * grp.cc (getgroups32): Don't use access token of current user when
Corinna Vinschen [Thu, 14 Nov 2002 10:28:55 +0000 (10:28 +0000)]
* grp.cc (getgroups32): Don't use access token of current user when
retrieving group info for another user.

21 years ago* dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address.
Christopher Faylor [Thu, 14 Nov 2002 04:29:39 +0000 (04:29 +0000)]
* dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address.
Infer from module of caller instead.
(cygwin_detach_dll): Ignore dll_index argument.
* dll_init.h (dll_list::detach): Reflect argument change above.

21 years ago* ioctl.cc (ioctl): Always print ioctl results, even when it's a tty.
Christopher Faylor [Thu, 14 Nov 2002 02:15:23 +0000 (02:15 +0000)]
* ioctl.cc (ioctl): Always print ioctl results, even when it's a tty.
* winsup.h (low_priority_sleep): Declare.

21 years ago* winsup.h (low_priority_sleep): Declare.
Christopher Faylor [Wed, 13 Nov 2002 22:08:05 +0000 (22:08 +0000)]
* winsup.h (low_priority_sleep): Declare.

21 years ago* miscfuncs.cc (low_priority_sleep): New function. Use throughout where code
Christopher Faylor [Wed, 13 Nov 2002 19:36:12 +0000 (19:36 +0000)]
* miscfuncs.cc (low_priority_sleep): New function.  Use throughout where code
is supposed to be giving up time slice.
* fhandler_console.cc (fhandler_console::read): Switch button 2/3 output escape
sequences to be consistent with xterm.

21 years ago* libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
Christopher Faylor [Wed, 13 Nov 2002 01:20:31 +0000 (01:20 +0000)]
* libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
* libc/stdlib/mlock.c: Ditto.
* libc/stdlib/msize.c: Ditto.
* libc/stdlib/msize.c: Ditto.
* libc/stdlib/mtrim.c: Ditto.
* libc/stdlib/valloc.c: Ditto.

21 years agoUpdate Emacs-related entries (new Cygwin port, details on XEmacs ports)
David Starks-Browning [Wed, 13 Nov 2002 00:23:18 +0000 (00:23 +0000)]
Update Emacs-related entries (new Cygwin port, details on XEmacs ports)

21 years ago2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 12 Nov 2002 23:14:24 +0000 (23:14 +0000)]
2002-11-12 Jeff Johnston  <jjohnstn@redhat.com>

        *  mips/Makefile.in: Add cygmon support.
        *  mips/configure.in: Ditto.
        *  mips/configure: Regenerated.
        *  mips/crt0_cygmon.S: New file.
        *  mips/cygmon.c: Ditto.
        *  mips/pmon.S: Minor formatting and copyright changes.
        *  mips/crt0.S: Ditto.

21 years ago2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 12 Nov 2002 21:47:53 +0000 (21:47 +0000)]
2002-11-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
        for inf/nan, make sure that the check ignores the sign bit.

21 years ago * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
Danny Smith [Tue, 12 Nov 2002 21:34:07 +0000 (21:34 +0000)]
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): Fix typo in disclaimer comment.

21 years ago * include/exdisp.h: Include oaidl.h as system header.
Danny Smith [Tue, 12 Nov 2002 21:25:23 +0000 (21:25 +0000)]
* include/exdisp.h: Include oaidl.h as system header.

21 years ago * include/w32api.h (__W32API_VERSION): Fix.
Earnie Boyd [Tue, 12 Nov 2002 16:13:51 +0000 (16:13 +0000)]
* include/w32api.h (__W32API_VERSION): Fix.

21 years ago * syscalls.cc (chmod): Simplify conditional.
Corinna Vinschen [Tue, 12 Nov 2002 15:51:11 +0000 (15:51 +0000)]
* syscalls.cc (chmod): Simplify conditional.
* sec_helper (cygsid::getfromstr): Reorganize to remove
calls to strcpy and strtok_r.
(cygsid::getfromgr): Change type to __uid32_t instead of int.
Keep only the allow_ntsec branch. Never call LookupAccountSid
which calls PDCs, simply return -1 in case of failure.
Use cygsid == instead of calling EqualSid and remove test
for NULL psid.
* security.h: Declare cygsid::getfromgr as __uid32_t.

21 years ago gas tic4x target enhancements (long list - see gas/ChangeLog and
Svein Seldal [Mon, 11 Nov 2002 14:29:01 +0000 (14:29 +0000)]
gas tic4x target enhancements (long list - see gas/ChangeLog and
include/ChangeLog)

21 years ago Retire common MPW configury bits.
Stan Shebs [Mon, 11 Nov 2002 05:38:51 +0000 (05:38 +0000)]
    Retire common MPW configury bits.
        * mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

21 years ago* how-programming.texinfo: Document _WIN32 more fully.
Christopher Faylor [Sun, 10 Nov 2002 19:38:26 +0000 (19:38 +0000)]
* how-programming.texinfo: Document _WIN32 more fully.

21 years ago * net.cc: Run indent.
Corinna Vinschen [Sun, 10 Nov 2002 13:43:26 +0000 (13:43 +0000)]
* net.cc: Run indent.

* autoload.cc (GetIfEntry): Add symbol.
* net.cc (get_2k_ifconf): Get the interface entries with the GetIfEntry
call intead of the GetIfTable call. Clean-up multiple IP address naming.

21 years ago2002-11-09 Weiqi Gao <weiqigao@users.sourceforge.net>
Danny Smith [Sun, 10 Nov 2002 04:14:31 +0000 (04:14 +0000)]
2002-11-09  Weiqi Gao  <weiqigao@users.sourceforge.net>

* lib/uuid.c (IID_ICatInformation): Correct definition.

21 years agocorrect date
Christopher Faylor [Sun, 10 Nov 2002 00:51:25 +0000 (00:51 +0000)]
correct date

21 years ago * include/math.h (sqrt): Remove inline definition.
Danny Smith [Sat, 9 Nov 2002 10:44:02 +0000 (10:44 +0000)]
* include/math.h (sqrt): Remove inline definition.
(sqrtf): Replace inline definition with prototype.
(sqrtl): Likewise.
* mingwex/math/sqrtf.c (sqrtf): Set domain error if
argument less than zero.
* mingwex/math/sqrtf.c (sqrtl): Likewise.

Correct typo in 2002-10-30 ChangeLog entry.

21 years ago* fhandler.h (class fhandler_pipe): New ioctl() method.
Christopher Faylor [Sat, 9 Nov 2002 03:17:40 +0000 (03:17 +0000)]
* fhandler.h (class fhandler_pipe): New ioctl() method.
* pipe.cc (fhandler_pipe::ioctl): New.

21 years ago * setfacl.c (usage): Add missing LF.
Corinna Vinschen [Fri, 8 Nov 2002 10:22:58 +0000 (10:22 +0000)]
* setfacl.c (usage): Add missing LF.

21 years ago * include/oleauto.h (DeregisterTypeLib): Remove.
Danny Smith [Fri, 8 Nov 2002 00:00:01 +0000 (00:00 +0000)]
* include/oleauto.h (DeregisterTypeLib): Remove.
(UnRegisterTypeLib): Add prototype.

21 years ago2002-11-07 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston [Thu, 7 Nov 2002 19:27:36 +0000 (19:27 +0000)]
2002-11-07  Joel Sherrill <joel@OARcorp.com>

        * libc/sys/rtems/machine: New directory.
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
        targets more BSD like when installed without requiring files to
        be overwritten at install point when RTEMS itself is installed.
        * Makefile.am: Pick up system dependent machine .h files such as
        might be found on a BSD-ish system.
        * Makefile.in: Regenerate.
        * libc/include/machine/types.h: When on an RTEMS target, define a
        few BSD flavor types.

21 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
Christopher Faylor [Thu, 7 Nov 2002 18:47:21 +0000 (18:47 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.

21 years ago * include/cygwin/fs.h: New file.
Corinna Vinschen [Thu, 7 Nov 2002 14:16:29 +0000 (14:16 +0000)]
* include/cygwin/fs.h: New file.
* include/cygwin/hdreg.h: New file.
* fhandler_floppy.cc (fhandler_floppy::ioctl): Add implementation for
HDIO_GETGEO, BLKGETSIZE, BLKGETSIZE64, BLKRRPART and BLKSSZGET ioctls.

21 years ago * include/winioctl.h: Add definition for IOCTL_DISK_UPDATE_DRIVE_SIZE.
Corinna Vinschen [Thu, 7 Nov 2002 14:14:01 +0000 (14:14 +0000)]
* include/winioctl.h: Add definition for IOCTL_DISK_UPDATE_DRIVE_SIZE.

21 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags
Corinna Vinschen [Thu, 7 Nov 2002 10:22:26 +0000 (10:22 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags
for loopback interface when name is given on input instead of address.

21 years ago * cygwin.din: Export fseeko() and ftello().
Corinna Vinschen [Thu, 7 Nov 2002 09:08:40 +0000 (09:08 +0000)]
* cygwin.din: Export fseeko() and ftello().
* include/cygwin/version.h: Bump API minor version.

21 years agominor reformat
Christopher Faylor [Thu, 7 Nov 2002 03:41:16 +0000 (03:41 +0000)]
minor reformat

21 years ago* fhandler_console.cc (keytable[]): Revert previous change. It would break too
Christopher Faylor [Thu, 7 Nov 2002 03:35:02 +0000 (03:35 +0000)]
* fhandler_console.cc (keytable[]): Revert previous change.  It would break too
many things.

21 years ago* fhandler_console.cc (keytable[]): Redefine F1 - F5 to something a little more
Christopher Faylor [Thu, 7 Nov 2002 03:16:08 +0000 (03:16 +0000)]
* fhandler_console.cc (keytable[]): Redefine F1 - F5 to something a little more
sensical.

21 years ago* syscalls.cc (getutid): Use UT_IDLEN where appropriate.
Christopher Faylor [Thu, 7 Nov 2002 02:50:50 +0000 (02:50 +0000)]
* syscalls.cc (getutid): Use UT_IDLEN where appropriate.

21 years ago* include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
Christopher Faylor [Thu, 7 Nov 2002 02:48:59 +0000 (02:48 +0000)]
* include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.

21 years ago* include/cygwin/version.h: Bump API minor number for below export.
Christopher Faylor [Thu, 7 Nov 2002 02:19:52 +0000 (02:19 +0000)]
* include/cygwin/version.h: Bump API minor number for below export.
* cygwin.din (pututline): New exported function.
* syscalls.cc (login): Use pututiline().
(setutent): Open utmp as read/write.
(endutent): Check if utmp file is open.
(utmpname): call endutent() to close current utmp file.
(getutid): Enable all cases, use strncmp() to compare ut_id fields.
(pututline): New.
* tty.cc (create_tty_master): Set ut_pid to current pid.

21 years ago2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Thu, 7 Nov 2002 00:44:31 +0000 (00:44 +0000)]
2002-11-06  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
        * libc/include/wctype.h: Ditto.

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 7 Nov 2002 00:25:57 +0000 (00:25 +0000)]
2002-11-08 Jeff Johnston  <jjohnstn@redhat.com>

        * arm/Makefile.in: Add support for new pid specs.
        * arm/coff-iq80310.specs: Change to allow future support.
        * arm/elf-iq80310.specs: Ditto.
        * arm/elf-redboot.specs: Ditto.
        * arm/coff-redboot.ld: Add EH frame support.
        * arm/redboot-crt0.S: Add optional code to clear bss without
        memset.
        * arm/coff-pid.specs: New file.
        * arm/elf-pid.specs: New file.

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 6 Nov 2002 22:54:52 +0000 (22:54 +0000)]
2002-11-08 Jeff Johnston  <jjohnstn@redhat.com>
           Catherine Moore  <clm@redhat.com>

        * m32r/configure.in:  Do not require gcc to be able to link an
        executable.
        * m32r/configure: Regenerate.
        * m32r/Makefile.in: Directly reference gdbstub.

21 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS
Christopher Faylor [Wed, 6 Nov 2002 01:50:32 +0000 (01:50 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS
has the capability to retrieve RTS/CTS.  Just set default values if
DeviceIoControl fails.  (suggested by Sergey Okhapkin)

21 years ago* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
Christopher Faylor [Tue, 5 Nov 2002 23:15:04 +0000 (23:15 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.

21 years ago* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL
Christopher Faylor [Tue, 5 Nov 2002 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL
WSARecvFrom with fromlen = NULL.

21 years ago* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.
Christopher Faylor [Tue, 5 Nov 2002 04:52:52 +0000 (04:52 +0000)]
* pinfo.cc (_pinfo::commune_send): Fix thinko in previous checkin.

21 years ago* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, waiting for
Christopher Faylor [Tue, 5 Nov 2002 04:43:02 +0000 (04:43 +0000)]
* pinfo.cc (_pinfo::commune_send): Set priority low when sleeping, waiting for
commune completion so that we don't spin waiting for lower priority processes.

21 years agorevert erroneous checkins
Christopher Faylor [Tue, 5 Nov 2002 04:24:48 +0000 (04:24 +0000)]
revert erroneous checkins

21 years ago* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
Christopher Faylor [Tue, 5 Nov 2002 04:23:41 +0000 (04:23 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.

21 years ago* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.
Christopher Faylor [Tue, 5 Nov 2002 03:39:25 +0000 (03:39 +0000)]
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.

21 years ago* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
Christopher Faylor [Tue, 5 Nov 2002 03:21:32 +0000 (03:21 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
condition from cmdline retrieval.

21 years ago* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.
Christopher Faylor [Tue, 5 Nov 2002 02:58:10 +0000 (02:58 +0000)]
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.

21 years ago2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 4 Nov 2002 19:04:09 +0000 (19:04 +0000)]
2002-11-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h: Add extern "C" specifier if C++.
        * libc/include/wctype.h: Ditto.

21 years agoTop level configury changes for RDA.
Kevin Buettner [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)]
Top level configury changes for RDA.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Mon, 4 Nov 2002 05:08:15 +0000 (05:08 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Reformat. Set errno
Christopher Faylor [Mon, 4 Nov 2002 04:09:14 +0000 (04:09 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Reformat.  Set errno
appropriately.  Exit from the bottom.  Correctly deal with third argument for
TCFLSH.  (Suggested by Sergey Okhapkin)

21 years ago * include/winnt.h (VerSetConditionMask): Add prototype.
Danny Smith [Mon, 4 Nov 2002 03:53:53 +0000 (03:53 +0000)]
* include/winnt.h (VerSetConditionMask): Add prototype.
* lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::ioctl): Do nothing if the new window
Christopher Faylor [Mon, 4 Nov 2002 01:10:38 +0000 (01:10 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Do nothing if the new window
size is equal to the old one.  Send SIGWINCH if slave connected to a pseudo
tty.
(fhandler_pty_master::ioctl): Do nothing if the new window size is equal to the
old one.

21 years agospace
Christopher Faylor [Sat, 2 Nov 2002 03:31:15 +0000 (03:31 +0000)]
space

21 years ago2002-10-31 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Fri, 1 Nov 2002 01:47:29 +0000 (01:47 +0000)]
2002-10-31  Pierre Humblet <pierre.humblet@ieee.org>

* fhandler.cc (fhandler_base::open): Verify pc isn't NULL.

21 years ago* cygpath.cc (get_long_path_name_w32impl): Define similarly to GetLongPathName.
Christopher Faylor [Thu, 31 Oct 2002 02:40:26 +0000 (02:40 +0000)]
* cygpath.cc (get_long_path_name_w32impl): Define similarly to GetLongPathName.
(get_long_name): Correctly prototype GetLongPathName.
(get_long_paths): Implement using get_long_name to cut down on code
duplication.
(doit): Do various things to make path output work predictably.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Wed, 30 Oct 2002 21:06:21 +0000 (21:06 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago* external.cc (cygwin_internal): Implement CW_CMDLINE.
Christopher Faylor [Wed, 30 Oct 2002 21:05:18 +0000 (21:05 +0000)]
* external.cc (cygwin_internal): Implement CW_CMDLINE.
* pinfo.h (SIGCOMMUNE): New signal type.
(commune_result): New structure for commune functions.
(picom): New enum for commune functions.
(_pinfo::hello_pid): New.  Pid who's communicating with me.
(_pinfo::tothem): New.  Handle of communicating pipe.
(_pinfo::fromthem): Ditto.
(_pinfo::commune_recv): Declare.
(_pinfo::commune_send): Declare.
(_pinfo::alive): Declare.
(_pinfo::cmdline): Declare.
(_pinfo::lock): Declare.
* pinfo.cc (set_myself): Initialize new _pinfo lock.
(_pinfo::alive): Define.  Determines if process still exists.
(_pinfo::commune_recv): Define.  Receive info from another cooperating process.
(_pinfo::commune_send): Define.  Send info to another cooperating process.
(_pinfo::cmdline): Define.  Determine command line of a given process.
* include/sys/cygwin.h (CW_CMDLINE): Define.
*sigproc.cc (talktome): Communicate with any processes who want to talk to me.
(wait_sig): Honor __SIGCOMMUNE.
* fhandler.cc (fhandler_virtual::fixup_after_exec): Declare.
* fhandler_proc.cc: Use malloc/free/realloc throughout rather than cmalloc
since buffers don't need to be propagated to subprocesses.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
(fhandler_virtual::fixup_after_exec): Define.
* fhandler_process.cc: Ditto for malloc/free/realloc.
(process_listin): Add "cmdline".
(fhandler_process::fill_filebuf): Implement PROCESS_CMDLINE.
* miscfuncs.cc (isalpha_array): New array populated with xor values for alpha
characters to switch from one case to another.
* string.h (cygwin_strcasematch): New asm implementation of case match.
* string.h (cygwin_nstrcasematch): New asm implementation of counted case
match.

21 years ago2002-10-30 Guido Serassio <serassio@libero.it>
Danny Smith [Wed, 30 Oct 2002 01:07:54 +0000 (01:07 +0000)]
2002-10-30  Guido Serassio  <serassio@libero.it>

         * include/stdio.h (_getnaxstdio): Add prototype.
         (_setmaxstdio): Likewise.

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:02:05 +0000 (01:02 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:01:04 +0000 (01:01 +0000)]
merge from gcc

21 years ago* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
DJ Delorie [Sat, 26 Oct 2002 03:57:38 +0000 (03:57 +0000)]
* Makefile.tpl (bootstrap):  Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in:  Regenerate.

21 years ago2002-10-25 Bernd Schmidt <bernds@redhat.com>
Jeff Johnston [Fri, 25 Oct 2002 19:18:46 +0000 (19:18 +0000)]
2002-10-25  Bernd Schmidt  <bernds@redhat.com>

        * i386/cygmon.ld: Add entry for .gcc_except_table.

2000-10-25  Mark Salter  <msalter@redhat.com>

        * i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always
        use __start for start symbol.
        * i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT.
        Disable file I/O extensions to make Plum Hall happy.
        * i386/cygmon.ld: Set __start as entry point.
        * i386/Makefile.in: Support IS_AOUT.
        * i386/configure.in: Support IS_AOUT.
        * i386/configure: Regenerated.
        * i386/cygmon-salib.c:
        * i386/cygmon-gmon.c (_mcount): It's _etext.

21 years agoRegenerated with latest autoconf.
Jeff Johnston [Fri, 25 Oct 2002 19:05:34 +0000 (19:05 +0000)]
Regenerated with latest autoconf.

21 years agoRegenerate to use latest autoconf tools.
Jeff Johnston [Fri, 25 Oct 2002 19:00:54 +0000 (19:00 +0000)]
Regenerate to use latest autoconf tools.

21 years ago2002-10-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 25 Oct 2002 18:35:21 +0000 (18:35 +0000)]
2002-10-25  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Clarify some of the triplets so unsupported
        configurations don't pass through.
        * configure: Regenerated.

21 years agomerge from gcc
DJ Delorie [Fri, 25 Oct 2002 00:01:55 +0000 (00:01 +0000)]
merge from gcc

21 years ago * configure.in (i[3456]86-*-linux*): Add check to disable
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:31:47 +0000 (23:31 +0000)]
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.

21 years ago* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.
Christopher Faylor [Thu, 24 Oct 2002 14:33:13 +0000 (14:33 +0000)]
* pwdgrp.h (pwdgrp_read::open): Compare fh to INVALID_HANDLE_VALUE.

21 years ago* ntsec.sgml: Correct some minor grammatical errors.
Joshua Daniel Franklin [Wed, 23 Oct 2002 04:29:46 +0000 (04:29 +0000)]
* ntsec.sgml: Correct some minor grammatical errors.

21 years ago* dll.sgml: Simplify dll build instructions.
Joshua Daniel Franklin [Wed, 23 Oct 2002 03:55:34 +0000 (03:55 +0000)]
* dll.sgml: Simplify dll build instructions.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind. Revert
Christopher Faylor [Wed, 23 Oct 2002 02:32:34 +0000 (02:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Nevermind.  Revert
everything to previous state wrt ntsec and exec bits.

21 years ago* shared.cc (shared_info::initialize): Use correct value for version
Christopher Faylor [Wed, 23 Oct 2002 02:20:38 +0000 (02:20 +0000)]
* shared.cc (shared_info::initialize): Use correct value for version
comparison.
* include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic
calculation.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops. Only do the
Christopher Faylor [Tue, 22 Oct 2002 21:35:21 +0000 (21:35 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Oops.  Only do the
executable thing for #! scripts since .exe files wouldn't be executable in
ntsec case regardless.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
Christopher Faylor [Tue, 22 Oct 2002 20:41:31 +0000 (20:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always consider
.exe files and '#!' shell scripts to be executable.

21 years ago* cygthread.cc (cygthread::exiting): New variable.
Christopher Faylor [Tue, 22 Oct 2002 20:16:31 +0000 (20:16 +0000)]
* cygthread.cc (cygthread::exiting): New variable.
(cygthread::initialized): Delete.
(cygthread::stub): Use exiting variable to determine when to exit.
(cygthread::runner): Delete.
(cygthread_protect): New variable.
(cygthread::init): Don't start runner thread.  Initialize muto for list
protection.
(cygthread::freerange): Return pointer to cygthread.
(cygthread::operator new): Change logic to start threads on an as-needed basis.
(cygthread::detach): Don't zero id.
(cygthread::terminate): Don't kill any executing threads.  Just set exiting
flag.
* cygthread.h (cygthread): Reflect above changes.
* dcrt0.cc (dll_crt0_1): Move cygthread initialization later.
* fork.cc (fork_child): Do fdtab fixup after dll fixup or (apparently) winsock
may allocate memory in dll load address.

21 years ago* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
Christopher Faylor [Tue, 22 Oct 2002 16:22:10 +0000 (16:22 +0000)]
* sec_helper.cc (cygsid::get_id): If the sid matches a sid stored in
cygheap->user, return the uid or gid from myself.
* security.cc (alloc_sd): If gid == myself->gid, return the group sid from
cygheap->user.  Remove the test for uid == original_uid, which is
counter-productive.

21 years ago* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
Christopher Faylor [Tue, 22 Oct 2002 16:18:55 +0000 (16:18 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
(init_cheap): Ditto for declaration.
* fork.cc (fork_parent): Use user_heap element in cygheap.
* heap.h (inheap): Ditto.
* heap.cc (sbrk): Ditto.
(heap_init): Ditto.  Reorganize to shrink heap chunk as required and record new
value in cygheap.
* dcrt0.cc (dll_crt0_1): More "move the cygthread init" games.
* shared.cc (open_shared): Rework memory protection to properly deal with
relocated shared segment.
(shared_info::heap_chunk_size): Rename element to 'heap_chunk'.
* shared_info.h (shared_info): Ditto for declaration.
* strace.cc (strace::hello): Report on heap chunk size from cygheap since it
may shrink.

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