]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
Christopher Faylor [Sat, 22 Nov 2003 17:22:59 +0000 (17:22 +0000)]
* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
newer dlls will work with older apps but not vice versa.

20 years ago2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Sat, 22 Nov 2003 01:07:24 +0000 (01:07 +0000)]
2003-11-21  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
        use simple byte logic.

20 years ago* sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
Christopher Faylor [Fri, 21 Nov 2003 22:22:08 +0000 (22:22 +0000)]
* sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
* shm.cc: Ditto.
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.

20 years ago* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
Christopher Faylor [Fri, 21 Nov 2003 22:21:05 +0000 (22:21 +0000)]
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.

20 years ago2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Nov 2003 20:48:49 +0000 (20:48 +0000)]
2003-11-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
        _strtold routine for processing floats and doubles since it
        is not as fast as _strtod_r.

20 years ago * Makefile.in (install): Explicitely create directories. Install
Corinna Vinschen [Fri, 21 Nov 2003 18:10:49 +0000 (18:10 +0000)]
* Makefile.in (install): Explicitely create directories.  Install
README to $(prefix)/share/doc/Cygwin.
* README: New file.

20 years ago * cygserver.cc (print_usage): Fix scrambled output.
Corinna Vinschen [Fri, 21 Nov 2003 13:30:33 +0000 (13:30 +0000)]
* cygserver.cc (print_usage): Fix scrambled output.

20 years ago2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
Jeff Johnston [Thu, 20 Nov 2003 19:59:03 +0000 (19:59 +0000)]
2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>

        * libc/machine/h8300/defines.h : Correct pointer register defines
        for normal mode.
        * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
        for normal mode.
        * libc/machine/h8300/reg_memcpy.S : Likewise.
        * libc/machine/h8300/reg_memset.S : Likewise.
        * libc/machine/h8300/strcmp.S : Likewise.

20 years ago * cygserver-config: Slightly modify printed message.
Corinna Vinschen [Thu, 20 Nov 2003 19:34:00 +0000 (19:34 +0000)]
* cygserver-config: Slightly modify printed message.

20 years ago* configure.in: Make --use-server the default.
Christopher Faylor [Thu, 20 Nov 2003 19:31:52 +0000 (19:31 +0000)]
* configure.in: Make --use-server the default.
* configure: Regenerate.

20 years ago* configure.in: Make --use-server the default. Remove powerpc target.
Christopher Faylor [Thu, 20 Nov 2003 19:31:41 +0000 (19:31 +0000)]
* configure.in: Make --use-server the default.  Remove powerpc target.
* configure: Regenerate.

20 years ago * winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.
Corinna Vinschen [Thu, 20 Nov 2003 18:25:36 +0000 (18:25 +0000)]
* winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.
* winsup.api/semtest.c (main): Ditto.
* winsup.api/shmtest.c (main): Ditto.

20 years ago * msg.cc (msgctl): Raise SIGSYS if call not available.
Corinna Vinschen [Thu, 20 Nov 2003 18:09:44 +0000 (18:09 +0000)]
* msg.cc (msgctl): Raise SIGSYS if call not available.
(msgget): Ditto.
(msgrcv): Ditto.
(msgsnd): Ditto.
* sem.cc (semctl): Ditto.
(semget): Ditto.
(semop): Ditto.
* shm.cc (shmat): Ditto.
(shmctl): Ditto.
(shmget): Ditto.
(shmdt): Ditto.

20 years ago * Makefile.in (install): Install cygserver-config script to bindir.
Corinna Vinschen [Thu, 20 Nov 2003 13:51:34 +0000 (13:51 +0000)]
* Makefile.in (install): Install cygserver-config script to bindir.
* cygserver-config: New script.

20 years ago2003-11-19 Nicholas Wourms <nwourms@netscape.net>
Jeff Johnston [Wed, 19 Nov 2003 21:57:52 +0000 (21:57 +0000)]
2003-11-19  Nicholas Wourms  <nwourms@netscape.net>

        * configure.host: Enable positional arguments for printf
        family for Cygwin.
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
        pointer reference for quad_ptr_t.

20 years ago* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
DJ Delorie [Wed, 19 Nov 2003 19:56:22 +0000 (19:56 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* Makefile.in: Regenerate.

20 years ago * winsup.api/msgtest.c: New file derived from FreeBSD, testing
Corinna Vinschen [Wed, 19 Nov 2003 18:51:18 +0000 (18:51 +0000)]
* winsup.api/msgtest.c: New file derived from FreeBSD, testing
XSI Message Queue support.
* winsup.api/semtest.c: Ditto, testing XSI Semaphore support.
* winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.

20 years ago * Makefile.in: Add rules to build ipcrm and ipcs.
Corinna Vinschen [Wed, 19 Nov 2003 18:50:52 +0000 (18:50 +0000)]
* Makefile.in: Add rules to build ipcrm and ipcs.
* ipcrm.c: New file.
* ipcs.c: New file.

20 years ago * cygserver.h (client_request::request_code_t): Add
Corinna Vinschen [Wed, 19 Nov 2003 18:50:23 +0000 (18:50 +0000)]
* cygserver.h (client_request::request_code_t): Add
CYGSERVER_REQUEST_MSG and CYGSERVER_REQUEST_SEM.
(admininstrator_group_sid): Add extern declaration.
* cygserver_ipc.h: Rewrite.
* cygserver_msg.h: New file.
* cygserver_sem.h: New file.
* cygserver_shm.h: More or less rewrite.
* cygwin.din: Add msgctl, msgget, msgrcv, msgsnd, semctl, semget and
semop.
* msg.cc: Rewrite.
* safe_memory.h: Remove.
* sem.cc: Rewrite.
* shm.cc: Rewrite.
* include/cygwin/ipc.h: Use appropriate guard.
(struct ipc_perm): Add seq.
(IPCID_TO_IX): New define from BSD.
(IPCID_TO_SEQ): Ditto.
(IXSEQ_TO_IPCID): Ditto.
(IPC_R): Ditto.
(IPC_W): Ditto.
(IPC_M): Ditto.
* include/cygwin/msg.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(msgqnum_t): Define unsigned.
(msglen_t): Ditto.
(struct msqid_ds): Add msg_first and msg_last.
(struct msginfo): Remove msgpool. Add msgssz and msgseg.
* include/cygwin/sem.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(SEM_UNDO): Define appropriately.
(struct semid_ds): Add sem_base.
(struct seminfo): Add semmap and semusz.
(SEM_A): New define from BSD.
(SEM_R): Ditto.
(SEM_ALLOC): Ditto.
(union semun): Define.
* include/cygwin/shm.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(SHMLBA): Define using cygwin_internal(CW_GET_SHMLBA) call.
(struct shmid_ds): Add shm_internal.
(struct shm_info): Rename shm_ids to used_ids as in BSD.  Add define
for shm_ids.
* include/cygwin/sysproto.h: New file.
* include/cygwin/version.h: Bump API minor number.
* include/sys/ipc.h: New file.
* include/sys/msg.h: New file.
* include/sys/queue.h: New file from BSD.
* include/sys/sem.h: New file.
* include/sys/shm.h: New file.
* include/sys/sysproto.h: New file.

20 years ago Don't use safe_new but new throughout. Fix copyright dates
Corinna Vinschen [Wed, 19 Nov 2003 18:49:41 +0000 (18:49 +0000)]
Don't use safe_new but new throughout.  Fix copyright dates
throughout.
* Makefile.in: Accomodate all new files and name changes.
Add a *.d dependency.
(sbindir): Add.
(etcdir): Drop in favor of more appropriate sysconfdir definition.
(sysconfdir): Add.
(CXXFLAGS): Add -MMD flag. Add SYSCONFDIR definition.
(.SUFFIXES): Add.
(install): Add action items.
(libclean): New target.
(fullclean): Ditto.
* bsd_helper.cc: New file.
* bsd_helper.h: Ditto.
* bsd_log.cc: Ditto.
* bsd_log.h: Ditto.
* bsd_mutex.cc: Ditto.
* bsd_mutex.h: Ditto.
* client.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__.
(client_request::handle_request): Add Message Queue and Semaphore
handling.
* cygserver.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__. Use new debug/log/panic logging functions.
(DEF_CONFIG_FILE): New definition for configuration file.  Use
throughout.
(getfunc): Remove.
(__cygserver__printf): Remove.
(client_request_attach_tty::serve): Return error if impersonation
fails.
(print_usage): Pump up help message.
(print_version): Add output of default configuration file.
(main): Accommodate new options.  Allow overwrite of threading options
from config file.  Call several new initialization functions.  Drop
printing dots.  Don't define SIGHANDLE inline.
* cygserver.conf: New file.
* cygserver_process.h: Rename to process.h.
* cygserver_transport.h: Rename to transport.h.
* cygserver_transport_pipes.h: Rename to transport_pipes.h.
* cygserver_transport_sockets.h: Rename to transport_sockets.h.
* msg.cc: Rewrite.
* sem.cc: Rewrite.
* shm.cc: Rewrite.
* sysv_msg.cc: New file, derived from FreeBSD version 1.52.
* sysv_sem.cc: New file, derived from FreeBSD version 1.66.
* sysv_shm.cc: New file, derived from FreeBSD version 1.89.
* threaded_queue.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__.
* transport.cc (transport_layer_base::impersonate_client): Define bool.
(transport_layer_base::revert_to_self): Ditto.
* transport.h (transport_layer_base::impersonate_client): Declare bool.
(transport_layer_base::revert_to_self): Ditto.
* transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
Don't call init_security.
(init_security): Remove.
(transport_layer_pipes::accept): Use global sec_all_nih.
(transport_layer_pipes::connect): Ditto.
(transport_layer_pipes::impersonate_client): Define bool.
(transport_layer_pipes::revert_to_self): Ditt.
* transport_pipes.h (transport_layer_pipes::impersonate_client): Declare
bool.
(transport_layer_pipes::revert_to_self): Ditto.
* woutsup.h: Include bsd compatibility headers.
(SIGHANDLE): Add definition.
(__cygserver__printf): Remove definition.
(__noop_printf): Ditto.
(debug_printf): Define using debug.
(syscall_printf): Define using log.
(system_printf): Ditto.
Drop all other _printf definitions.

20 years ago2003-11-19 Nicholas Wourms <nwourms@netscape.net>
Jeff Johnston [Wed, 19 Nov 2003 17:07:36 +0000 (17:07 +0000)]
2003-11-19  Nicholas Wourms  <nwourms@netscape.net>

        * configure.host: Enable positional arguments for printf
        family for Cygwin.
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
        pointer reference for quad_ptr_t.

20 years ago2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Nov 2003 16:57:51 +0000 (16:57 +0000)]
2003-11-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/scanf.c: Don't include local.h more than once.

20 years ago * dtable.cc (build_fh_pc): Resurrect accidentally removed
Corinna Vinschen [Wed, 19 Nov 2003 11:19:27 +0000 (11:19 +0000)]
* dtable.cc (build_fh_pc): Resurrect accidentally removed
DEV_CYGDRIVE_MAJOR case.

20 years ago Revert most of last check in to ChangeLog. It duplicated
Corinna Vinschen [Wed, 19 Nov 2003 10:11:46 +0000 (10:11 +0000)]
Revert most of last check in to ChangeLog.  It duplicated
accidentally a big bunch of old entries.

20 years ago* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
Maciej W. Rozycki [Tue, 18 Nov 2003 21:22:56 +0000 (21:22 +0000)]
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.

* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.

* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".

20 years ago2003-11-18 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Tue, 18 Nov 2003 19:17:17 +0000 (19:17 +0000)]
2003-11-18  Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/sys/fcntl.h: Declare _open64.
        * libc/include/sys/stat.h: Declare _fstat64.
        * libc/include/sys/unistd.h: Declare _lseek64.

20 years ago * fhandler.cc (fhandler_base::lseek): Include high order offset
Corinna Vinschen [Mon, 17 Nov 2003 22:18:42 +0000 (22:18 +0000)]
* fhandler.cc (fhandler_base::lseek): Include high order offset
bits in return value.

20 years ago * libc/include/stdlib.h (getprogname): Declare for Cygwin.
Corinna Vinschen [Mon, 17 Nov 2003 17:30:30 +0000 (17:30 +0000)]
* libc/include/stdlib.h (getprogname): Declare for Cygwin.
(setprogname): Ditto.

20 years ago * bsdlib.cc (getprogname): New function.
Corinna Vinschen [Mon, 17 Nov 2003 17:25:59 +0000 (17:25 +0000)]
* bsdlib.cc (getprogname): New function.
(setprogname): New funtion.
* cygwin.din: Export getprogname and setprogname.
* include/cygwin/version.h: Bumb API version number.

20 years ago* include/limits.h: Revert unsanctioned changes below.
Christopher Faylor [Sat, 15 Nov 2003 17:04:10 +0000 (17:04 +0000)]
* include/limits.h: Revert unsanctioned changes below.
* include/cygwin/config.h: Ditto.
* include/sys/param.h: Ditto.

20 years agoAdd Tab control macro
Manu B [Sat, 15 Nov 2003 01:00:06 +0000 (01:00 +0000)]
Add Tab control macro

20 years ago2003-11-11 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 14 Nov 2003 23:40:06 +0000 (23:40 +0000)]
2003-11-11  Robert Collins <rbtcollins@hotmail.com>
    Ron Parker <rdparker@butlermfg.com>

* bsdlib.cc: Update throughout to use CYG_MAX_PATH rather than MAX_PATH.
* cygheap.h: Ditto.
* dcrt0.cc: Ditto.
* delqueue.cc: Ditto.
* dlfcn.cc: Ditto.
* dll_init.cc: Ditto.
* dll_init.h: Ditto.
* dtable.cc: Ditto.
* environ.cc: Ditto.
* environ.h: Ditto.
* exceptions.cc: Ditto.
* external.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* fhandler_proc.cc: Ditto.
* fhandler_process.cc: Ditto.
* fhandler_raw.cc: Ditto.
* fhandler_registry.cc: Ditto.
* fhandler_socket.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* miscfuncs.cc: Ditto.
* mmap.cc: Ditto.
* netdb.cc: Ditto.
* path.cc: Ditto.
* path.h: Ditto.
* pinfo.cc: Ditto.
* pinfo.h: Ditto.
* pthread.cc: Ditto.
* registry.cc: Ditto.
* shared.cc: Ditto.
* shared_info.h: Ditto.
* smallprint.c: Ditto.
* spawn.cc: Ditto.
* strace.cc: Ditto.
* syscalls.cc: Ditto.
* thread.h: Ditto.
* uinfo.cc: Ditto.
* winsup.h: Ditto.
* include/limits.h: Ditto.
* include/cygwin/config.h: Ditto.
* include/sys/param.h: Ditto.

20 years ago * mkgroup.c: Avoid compiler warnings throughout.
Corinna Vinschen [Fri, 14 Nov 2003 19:14:43 +0000 (19:14 +0000)]
* mkgroup.c: Avoid compiler warnings throughout.
* mkpasswd.c: Ditto.
* passwd.c: Ditto.

20 years agoAdd new field to disassemble_info structure: symbol_is_valid() and use it to
Nick Clifton [Fri, 14 Nov 2003 15:12:43 +0000 (15:12 +0000)]
Add new field to disassemble_info structure: symbol_is_valid() and use it to
skip displaying arm elf mapping symbols in disassembly output.

20 years ago* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.
Christopher Faylor [Fri, 14 Nov 2003 01:37:23 +0000 (01:37 +0000)]
* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.
Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.

20 years agominor adjustments to Elfyn's contribution.
David Starks-Browning [Thu, 13 Nov 2003 22:23:59 +0000 (22:23 +0000)]
minor adjustments to Elfyn's contribution.

20 years agoApply Elfyn's patches as supplied in <http://cygwin.com/ml/cygwin-patches/2003-q3...
David Starks-Browning [Thu, 13 Nov 2003 22:07:36 +0000 (22:07 +0000)]
Apply Elfyn's patches as supplied in <http://cygwin.com/ml/cygwin-patches/2003-q3/msg00156.html>.

20 years ago2003-11-13 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Thu, 13 Nov 2003 09:43:08 +0000 (09:43 +0000)]
2003-11-13 Martin Fuchs  <martin-fuchs@gmx.net>

* include/shlobj.h (ILAppendID, ILClone, ILCloneFirst, ILCombine,
ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual,
ILIsParent, ILLoadFromStream, ILRemoveLastID, ILSaveToStream):
Add prototypes.
* lib/shell32.def: Add stubs.

* include/commctrl.h (ListView_FindItem): Add type cast to avoid
compiler warnings.

2003-11-13  Hans Leidekker <hans@it.vu.nl>

* include/winbase.h (WIN32_STREAM_ID): Correct typedef.

20 years ago* thread.cc (pthread::exit): Cleanup on thread exit.
Thomas Pfaff [Tue, 11 Nov 2003 19:10:47 +0000 (19:10 +0000)]
* thread.cc (pthread::exit): Cleanup on thread exit.
(__reent_t::init_clib): Set thread local clib __cleanup var
appropriately.

20 years ago2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 10 Nov 2003 21:36:38 +0000 (21:36 +0000)]
2003-11-10  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
        to use (Ebits + 1) which accounts for the sign-bit.

20 years ago* miscfuncs.cc (low_priority_sleep): Make a "C" function.
Christopher Faylor [Mon, 10 Nov 2003 21:28:02 +0000 (21:28 +0000)]
* miscfuncs.cc (low_priority_sleep): Make a "C" function.
* winsup.h (low_priority_sleep): Revert previous change to declaration.

20 years ago * winsup.h (low_priority_sleep): Fix declaration to avoid linker
Corinna Vinschen [Mon, 10 Nov 2003 21:17:53 +0000 (21:17 +0000)]
* winsup.h (low_priority_sleep): Fix declaration to avoid linker
warning.

20 years ago* thread.cc (__reent_t::init_clib): Set thread local clib
Thomas Pfaff [Mon, 10 Nov 2003 19:44:53 +0000 (19:44 +0000)]
* thread.cc (__reent_t::init_clib): Set thread local clib
__sdidinit var appropriately.

21 years ago * syscalls.cc (ftruncate64): Log length as long long.
Corinna Vinschen [Sat, 8 Nov 2003 16:38:34 +0000 (16:38 +0000)]
* syscalls.cc (ftruncate64): Log length as long long.
(logout): Erase ut_host.  Don't write wtmp entry.  Return 1 only
if matching utmp entry has been found, 0 otherwise.

21 years ago * external.cc (cygwin_internal): Add CW_GET_UID_FROM_SID and
Corinna Vinschen [Sat, 8 Nov 2003 09:48:48 +0000 (09:48 +0000)]
* external.cc (cygwin_internal): Add CW_GET_UID_FROM_SID and
CW_GET_GID_FROM_SID handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID.

21 years ago2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Nov 2003 23:47:05 +0000 (23:47 +0000)]
2003-11-07  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
        x86 build.
        * iconvdata/Makefile.am: Make dependent on newlib's configure.host
        and set up default flags to pass to aclocal.
        * iconvdata/Makefile.in: Regenerated.
        * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
        and getpwuid routines.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
        applications to link with newlib's shared libc library.
        * libc/sys/linux/getpwnam.c: Ditto.
        * libc/sys/linux/getpwuid.c: Ditto.
        * libc/sys/linux/sys/types.h: Include <features.h> and supply types
        that were formerly supplied by /usr/include/linux/types.h with
        kernel types.
        * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
        test _ELIX_LEVEL macro.

21 years ago * cygpath.cc (main): Allow multiple pathnames on command line.
Corinna Vinschen [Fri, 7 Nov 2003 18:30:35 +0000 (18:30 +0000)]
* cygpath.cc (main): Allow multiple pathnames on command line.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handle
Christopher Faylor [Fri, 7 Nov 2003 18:22:26 +0000 (18:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handle
freeing of memory on error condition.

21 years ago* cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev from
Christopher Faylor [Fri, 7 Nov 2003 18:21:05 +0000 (18:21 +0000)]
* cygthread.cc (cygthread::freerange): Set inuse count.  Avoid setting ev from
h as h would be NULL at this point.
(cygthread::operator new): Issue debugging info when overflowing the thread
pool.
(cygthread::cygthread): Set ev from h here after h has been initialized.

21 years ago2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Nov 2003 16:01:17 +0000 (16:01 +0000)]
2003-11-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
        referring to _NO_LONGLONG macro.

21 years ago2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Nov 2003 22:58:52 +0000 (22:58 +0000)]
2003-11-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/linuxthreads/td_init.c: Replace function name
        in LOG() macro so this will compile on gcc 3.4 and up.
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.

21 years ago * Missing patch to cygwin.din.
Corinna Vinschen [Thu, 6 Nov 2003 21:36:17 +0000 (21:36 +0000)]
* Missing patch to cygwin.din.

21 years ago * bsdlib.cc (_vwarnx): New function.
Corinna Vinschen [Thu, 6 Nov 2003 21:31:24 +0000 (21:31 +0000)]
* bsdlib.cc (_vwarnx): New function.
(vwarn): Ditto.
(vwarnx): Ditto.
(warn): Ditto.
(warnx): Ditto.
(verr): Ditto.
(verrx): Ditto.
(err): Ditto.
(errx): Ditto.
* cygwin.din: Export above functions.
* include/err.h: New file.
* include/cygwin/version.h: Bump API minor number.

21 years ago * syscalls.cc (getshmlba): New function.
Corinna Vinschen [Thu, 6 Nov 2003 14:33:16 +0000 (14:33 +0000)]
* syscalls.cc (getshmlba): New function.
* external.cc (cygwin_internal): Add CW_GET_SHMLBA handling.
* mmap.cc (mmap64): Call getshmlba to evaluate granularity.
* winsup.h (getshmlba): Add declaration.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.

21 years ago* winsup.h: Declare access_worker.
Christopher Faylor [Thu, 6 Nov 2003 13:58:45 +0000 (13:58 +0000)]
* winsup.h: Declare access_worker.

21 years agoFix 'the the' typo
Nick Clifton [Thu, 6 Nov 2003 11:58:58 +0000 (11:58 +0000)]
Fix 'the the' typo

21 years ago * include/cygwin/types.h: Fix preprocessor guards for vm_offset_t and
Corinna Vinschen [Thu, 6 Nov 2003 10:46:49 +0000 (10:46 +0000)]
* include/cygwin/types.h: Fix preprocessor guards for vm_offset_t and
vm_size_t.  Add typedef for vm_object_t.

21 years ago * ppc.h (R_PPC_RELAX32PC): Define.
Alan Modra [Thu, 6 Nov 2003 02:57:08 +0000 (02:57 +0000)]
* ppc.h (R_PPC_RELAX32PC): Define.

21 years ago2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Nov 2003 00:50:57 +0000 (00:50 +0000)]
2003-11-05  Jeff Johnston  <jjohnstn@redhat.com>
            Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
        %ls, %S, %lc, and %C format specifiers.
        (get_arg): Ditto.
        * libc/stdio/sprintf.c: Add documentation regarding new
        format specifiers added in vfprintf.c.

21 years ago2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Nov 2003 00:46:59 +0000 (00:46 +0000)]
2003-11-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
        to make code work as specified in standard.

21 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open a
Christopher Faylor [Wed, 5 Nov 2003 16:53:55 +0000 (16:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open a
directory which lacks read privileges.

21 years agoEntry "Where is the su command?" -> "Why doesn't su work?"
David Starks-Browning [Tue, 4 Nov 2003 22:05:31 +0000 (22:05 +0000)]
Entry "Where is the su command?" -> "Why doesn't su work?"

21 years ago * external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTE
Corinna Vinschen [Tue, 4 Nov 2003 15:48:19 +0000 (15:48 +0000)]
* external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTE
handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_POSIX_SECURITY_ATTRIBUTE.

* exceptions.cc (init_global_security): Move from here...
* sec_helper.cc (init_global_security): ...to here.

21 years ago* net.cc (dup_ent): Use IsBadStringPtr for alignment checks. Don't use a known
Christopher Faylor [Tue, 4 Nov 2003 13:15:47 +0000 (13:15 +0000)]
* net.cc (dup_ent): Use IsBadStringPtr for alignment checks.  Don't use a known
bad pointer.

21 years ago * passwd.c (PrintPW): Turn around meaning printed for "Password not
Corinna Vinschen [Tue, 4 Nov 2003 10:54:47 +0000 (10:54 +0000)]
* passwd.c (PrintPW): Turn around meaning printed for "Password not
required" option to be in line with Windows meaning.
(main): Use more appropriate 1008 option when calling
NetUserSetInfo to change flag values.

21 years ago * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
Corinna Vinschen [Tue, 4 Nov 2003 10:30:35 +0000 (10:30 +0000)]
* passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
(version): Bump version number to 1.5.
(longopts): Add -c, -C, -e, -E, -p, -P options.
(opts): Ditto.
(PrintPW): Print values of UF_PASSWD_CANT_CHANGE and
UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress
correct system password settings just because the account has admin
privileges.
(usage): Define as "noreturn" function. Restructure and rephrase
output. Accomodate new options.
(print_version): Fix copyright dates.
(main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE,
UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.

21 years ago * net.cc (dup_ent): Move Win 95 misalignment recogition before
Corinna Vinschen [Mon, 3 Nov 2003 21:43:32 +0000 (21:43 +0000)]
* net.cc (dup_ent): Move Win 95 misalignment recogition before
trying to evaluate string length.

21 years ago * sim-frv.h: New file.
Kevin Buettner [Sat, 1 Nov 2003 01:33:25 +0000 (01:33 +0000)]
* sim-frv.h: New file.

21 years ago* thread.cc (pthread::thread_init_wrapper): Initialize exception handling.
Thomas Pfaff [Fri, 31 Oct 2003 20:47:14 +0000 (20:47 +0000)]
* thread.cc (pthread::thread_init_wrapper): Initialize exception handling.

21 years agoRename pthread::running to pthread::valid throughout.
Thomas Pfaff [Fri, 31 Oct 2003 20:42:56 +0000 (20:42 +0000)]
Rename pthread::running to pthread::valid throughout.

* thread.h: (pthread::suspend_all_except_self): New static method.
(pthread::resume_all): Ditto.
(pthread::suspend_except_self): New method.
(pthread::resume): Ditto.
* thread.cc (pthread::suspend_except_self): Implement.
(pthread::resume): Ditto.

21 years ago * include/stdint.h: Prevent signed->unsigned conversion for 32 and
Corinna Vinschen [Wed, 29 Oct 2003 08:43:10 +0000 (08:43 +0000)]
* include/stdint.h: Prevent signed->unsigned conversion for 32 and
64 bit min value constants.

21 years ago* path.cc (dot_special_chars): New global variable.
Christopher Faylor [Wed, 29 Oct 2003 01:15:12 +0000 (01:15 +0000)]
* path.cc (dot_special_chars): New global variable.
(special_name): Make files ending in "." special.
(fnunmunge): Allow encoded ".".
(mount_item::fnmunge): Handle trailing ".".

21 years ago* include/stdint.h: Duplicate below effort for rest of *64_*.
Christopher Faylor [Tue, 28 Oct 2003 16:03:52 +0000 (16:03 +0000)]
* include/stdint.h: Duplicate below effort for rest of *64_*.

21 years ago* include/stdint.h: Correctly define INT64_MAX.
Christopher Faylor [Tue, 28 Oct 2003 15:13:06 +0000 (15:13 +0000)]
* include/stdint.h: Correctly define INT64_MAX.

21 years ago * include/math.h: Guard ISO C99 additions with __cplusplus
Danny Smith [Mon, 27 Oct 2003 23:51:37 +0000 (23:51 +0000)]
* include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.

21 years ago* thread.h (fast_mutex::init): Initialize lock_counter.
Thomas Pfaff [Mon, 27 Oct 2003 21:12:42 +0000 (21:12 +0000)]
* thread.h (fast_mutex::init): Initialize lock_counter.

21 years ago2003-10-27 Bernardo Innocenti <bernie@develer.com>
Jeff Johnston [Mon, 27 Oct 2003 20:03:10 +0000 (20:03 +0000)]
2003-10-27  Bernardo Innocenti  <bernie@develer.com>

        * m68k/asm.h: Add macros for -fPIC, -msep-data and
        -mid-shared-library support.
        * m68k/crt0.S: Use macros for -fPIC, -msep-data and
        -mid-shared-library support.
        * m68k/sim-crt0.S: Likewise.

21 years ago * Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.
Corinna Vinschen [Mon, 27 Oct 2003 13:06:56 +0000 (13:06 +0000)]
* Makefile.in (OBSOLETE_FUNCTION):  Add tmpfile.
(NEW_FUNCTIONS): Add _tmpfile64 -> tmpfile translation.
* cygwin.din: Export _tmpfile64
* include/cygwin/version.h: Bump api minor number.

21 years ago * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.
Corinna Vinschen [Mon, 27 Oct 2003 11:48:29 +0000 (11:48 +0000)]
* cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.
* pthread.cc (+mangle_sem_name): New function.
(sem_open): Ditto.
(sem_close: Ditto.
(sem_timedwait): Ditto.
(sem_getvalue): Ditto.
* thread.cc (semaphore::semaphore): Rearrange member initialization.
Use appropriate security attribute for process shared semaphores.
(semaphore::semaphore): New constructor for named semaphores.
(semaphore::~semaphore): Care for semaphore name.
(semaphore::_post): Accomodate failing ReleaseSemaphore. Use value
returned by ReleaseSemaphore vor currentvalue.
(semaphore::_getvalue): New method.
(semaphore::_timedwait): Ditto.
(semaphore::_fixup_after_fork): Rearrange. Don't fail for process
shared semaphores.
(semaphore::open): New method.
(semaphore::timedwait): Ditto.
(semaphore::post): Fix return value.  Set errno appropriately.
(semaphore::getvalue): New method.
* thread.h (class semaphore): Add prototypes for open, getvalue,
timedwait, _getvalue, _timedwait.  Add prototypes for new constructor.
Add name member.
* include/semaphore.h: Add prototypes for sem_open, sem_close,
sem_timedwait and sem_getvalue.
include/cygwin/version.h: Bump API minor number.

21 years ago * miscfunc.cc (__check_invalid_read_ptr): New function.
Corinna Vinschen [Mon, 27 Oct 2003 08:28:37 +0000 (08:28 +0000)]
* miscfunc.cc (__check_invalid_read_ptr): New function.
* winsup.h: Declare.

21 years ago * security.h (cygpsid::debug_print): Avoid compiler warnings.
Corinna Vinschen [Sun, 26 Oct 2003 10:58:11 +0000 (10:58 +0000)]
* security.h (cygpsid::debug_print): Avoid compiler warnings.

21 years agoRemove file that was supposed to have disappeared a month ago.
Christopher Faylor [Sun, 26 Oct 2003 01:09:06 +0000 (01:09 +0000)]
Remove file that was supposed to have disappeared a month ago.

21 years ago * path.cc (normalize_posix_path): Test runs of more than two
Corinna Vinschen [Sat, 25 Oct 2003 16:12:45 +0000 (16:12 +0000)]
* path.cc (normalize_posix_path): Test runs of more than two
dots for being a run of only dots.  Let it pass if not.

21 years ago * fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.
Corinna Vinschen [Sat, 25 Oct 2003 12:32:56 +0000 (12:32 +0000)]
* fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.

21 years agoRename native_mutex to fast_mutex throughout.
Thomas Pfaff [Fri, 24 Oct 2003 19:34:47 +0000 (19:34 +0000)]
Rename native_mutex to fast_mutex throughout.
Rename pthread_key::save_key_to_buffer to
pthread_key::_fixup_before_fork throughout.
Rename pthread_key::recreate_key_from_buffer to
pthread_key::_fixup_after_fork throughout.

* thread.cc (native_mutex::init): Remove.
(native_mutex::lock): Ditto.
(native_mutex::unlock): Ditto.
(pthread::push_cleanup_handler): InterlockedExchangePointer
is not needed here.
(pthread_rwlock::pthread_rwlock): Initialize readers list mutex.
(pthread_rwlock::add_reader): Add reader via List_insert.
(pthread_rwlock::lookup_reader): Lock list while walking through.
(pthread_cond::init): Locking the init mutex is now void.
(pthread_rwlock::init): Ditto.
(pthread_mutex::init): Ditto.
* thread.h: Include security.h.
(fast_mutex): New class. Replacement for native_mutex.
(List_insert): New template function.
(List_remove): Ditto.
(List::List): Initialize synchronising mutex.
(List::fixup_after_fork): New method.
(List::insert): Add node via List_insert.
(List::remove): Remove node via List_remove.
(List::pop): Remove.
(List::for_each): Lock list while walking through.
(List::mx_init): New method.
(pthread_mutex::fixup_after_fork): Fixup mutex list after fork.
(pthread::fixup_after_fork): Ditto.
(pthread_conds::fixup_after_fork): Ditto.
(pthread_rwlock::fixup_after_fork): Ditto.
(semaphore::fixup_after_fork): Ditto.
(pthread_rwlock::readers_mx): New member.

21 years agobfd/
H.J. Lu [Fri, 24 Oct 2003 14:55:14 +0000 (14:55 +0000)]
bfd/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
hash table for real symbols.

include/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove
"wildcard".

ld/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Check "symbol" instead of
"wildcard" and "pattern". Fix a typo.
(lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(realsymbol): New function.
(lang_new_vers_pattern): Set "symbol" and remove "wildcard".

* ldlex.l (V_IDENTIFIER): Allow '\\'.

21 years ago * fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND when
Corinna Vinschen [Fri, 24 Oct 2003 12:11:20 +0000 (12:11 +0000)]
* fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND when
both O_NONBLOCK/O_NDELAY are set for F_SETFL.

21 years ago * path.cc (win32_device_name): Fix comment.
Corinna Vinschen [Fri, 24 Oct 2003 08:13:15 +0000 (08:13 +0000)]
* path.cc (win32_device_name): Fix comment.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
Christopher Faylor [Fri, 24 Oct 2003 01:13:22 +0000 (01:13 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value in
FIONBIO case.

21 years ago2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 23 Oct 2003 21:46:06 +0000 (21:46 +0000)]
2003-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Use absolute newlib basedir when forming
        CC_FOR_NEWLIB include options.
        * configure: Regenerated.

21 years ago2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Thu, 23 Oct 2003 18:07:13 +0000 (18:07 +0000)]
2003-10-23  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/string/wcsnlen.c: New file.
        * libc/include/wchar.h: Add wcsnlen prototype.
        * libc/string/Makefile.am: Add wcsnlen support.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/wcstrings.tex: Add wcsnlen documentation.

21 years ago * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
Corinna Vinschen [Thu, 23 Oct 2003 09:43:20 +0000 (09:43 +0000)]
* sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
(EF_SH_MERGE_MACH): Combine them.

21 years ago * fhandler_proc.cc (format_proc_partitions): Use new device code
Corinna Vinschen [Thu, 23 Oct 2003 08:54:00 +0000 (08:54 +0000)]
* fhandler_proc.cc (format_proc_partitions): Use new device code
to get major and minor device numbers.  Fix size evaluation.

21 years agomerge from gcc
DJ Delorie [Thu, 23 Oct 2003 00:01:06 +0000 (00:01 +0000)]
merge from gcc

21 years ago * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
Corinna Vinschen [Wed, 22 Oct 2003 20:32:20 +0000 (20:32 +0000)]
* external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERROR
handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_ERRNO_FROM_WINERROR.

21 years ago * Makefile.in: Add $(LIBSERVER) rule.
Corinna Vinschen [Wed, 22 Oct 2003 10:07:59 +0000 (10:07 +0000)]
* Makefile.in: Add $(LIBSERVER) rule.
* cygserver.h: Moved from include/cygwin to here.
* cygserver_ipc.h: Moved from ../cygserver to here.
* cygserver_shm.h: Ditto.
* cygwin.din: Add shmat, shmctl, shmdt and shmget.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't warn about handle
dup'ing if not build with USE_SERVER.
* shm.cc: Include cygerrno.h unconditionally.
(shmat): Set errno to ENOSYS and return -1 if not build with
USE_SERVER.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
* woutsup.h: Remove.
* include/cygwin/cygserver_process.h: Moved to ../cygserver directory.
* include/cygwin/cygserver_transport.h: Ditto.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.
* include/cygwin/version.h: Bump API minor number.

21 years ago Accomodate moving cygserver header files from cygwin/include/cygwin
Corinna Vinschen [Wed, 22 Oct 2003 10:04:11 +0000 (10:04 +0000)]
Accomodate moving cygserver header files from cygwin/include/cygwin
to here and cygwin dir.
* Makefile.in (EXEEXT): Drop as unused.
(EXEEXT_FOR_BUILD): Ditto.
(all): Don't build libcygserver.a.
* cygserver_process.h: Moved from cygwin/include/cygwin to here.
* cygserver_transport.h: Ditto.
* cygserver_transport_pipes.h: Ditto.
* cygserver_transport_sockets.h: Ditto.
* ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h.
* shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.

21 years ago * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
Richard Sandiford [Wed, 22 Oct 2003 08:45:01 +0000 (08:45 +0000)]
* libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.

21 years agobfd/
Jakub Jelinek [Wed, 22 Oct 2003 06:58:17 +0000 (06:58 +0000)]
bfd/
* elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
field changes.
(_bfd_elf_link_assign_sym_version): Likewise.
* elflink.h (size_dynamic_sections): Likewise.
include/
* bfdlink.h (struct bfd_elf_version_expr): Remove match field.
Add wildcard and mask fields.
(BFD_ELF_VERSION_C_TYPE): Define.
(BFD_ELF_VERSION_CXX_TYPE): Likewise.
(BFD_ELF_VERSION_JAVA_TYPE): Likewise.
(struct bfd_elf_version_expr_head): New.
(struct bfd_elf_version_tree): Add match field.
Change type of globals and locals fields
to struct bfd_elf_version_expr_head.
ld/
* ldlang.c: Include hashtab.h.
(lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
lang_vers_match_lang_java): Remove.
(lang_vers_match): New function.
(lang_new_vers_pattern): Initialize wildcard and mask
fields, don't initialize match.
(lang_new_vers_node): Use xcalloc.  Adjust for globals and
locals field type changes.  Set match field.
(version_expr_head_hash, version_expr_head_eq): New functions.
(lang_finalize_version_expr_head): New function.
(lang_register_vers_node): Call lang_finalize_version_expr_head.
Search in hash table if not wildcard when looking for duplicates.
* emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
duplicate checking.  Initialize all fields of dot_entry from entry
with the exception of pattern and next.

21 years agoAdd ColfFire v4 support
Nick Clifton [Tue, 21 Oct 2003 13:28:59 +0000 (13:28 +0000)]
Add ColfFire v4 support

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