]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
Danny Smith [Thu, 27 Nov 2003 08:23:43 +0000 (08:23 +0000)]
2003-11-27  Dimitry Sibiryakov  <aafemt@users.sourceforge.net>

* include/signal.h (SIG_SGE, SIG_ACK): Add defines.

20 years ago * lib/vfw32.def: Remove, replacing with ...
Danny Smith [Thu, 27 Nov 2003 02:14:37 +0000 (02:14 +0000)]
* lib/vfw32.def: Remove, replacing with ...
* lib/msvfw32.def: New file.
* lib/avicap32.def: New file.
* lib/avifil32.def: New file.
* lib/vfw32.mri: New file.
* Makefile.in: (MRI_FILES, MIMPLIBS): New vars for
import libs with multiple dll's.
(LIBS): Add MIMPLIBS.
(DISTFILES): Add MRI_FILES.
(libvfw32.a): Build using mri script.

20 years ago * cygserver.cc (main): Move call to ipcinit() up before installing
Corinna Vinschen [Wed, 26 Nov 2003 22:29:35 +0000 (22:29 +0000)]
* cygserver.cc (main): Move call to ipcinit() up before installing
any threads.
* sysv_sem.cc: Update to FreeBSD version 1.67.
(seminit): Initialize semaphore sequence numbers to 0.

20 years ago * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
Corinna Vinschen [Wed, 26 Nov 2003 20:05:09 +0000 (20:05 +0000)]
* Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
the parallel cygwin dir.
(cygserver.exe): Depend on and link against $CYGWIN_LIB.

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

        * libc/include/fcntl.h: Declare syscalls only when building newlib.
        * libc/include/unistd.h: Ditto.
        * libc/include/stat.h: Ditto.  Also declare struct stat64.

20 years ago * mkgroup.c (main): Print "root" group with local admins group sid
Corinna Vinschen [Wed, 26 Nov 2003 15:47:44 +0000 (15:47 +0000)]
* mkgroup.c (main): Print "root" group with local admins group sid
and gid 0.

20 years ago * sec_helper.cc (set_process_privilege): Rename restore_priv to
Corinna Vinschen [Wed, 26 Nov 2003 14:29:22 +0000 (14:29 +0000)]
* sec_helper.cc (set_process_privilege): Rename restore_priv to
priv_luid.

* sec_helper.cc (set_process_privilege): Call LookupPrivilegeValue
before opening the token.

20 years ago * dir.cc (mkdir): Use local security_descriptor. Call
Corinna Vinschen [Wed, 26 Nov 2003 13:23:27 +0000 (13:23 +0000)]
* dir.cc (mkdir): Use local security_descriptor. Call
set_security_attribute appropriately.
* external.cc (cygwin_internal): Ditto.
* fhandler.cc (fhandler_base::open): Ditto.
* fhandler_socket.cc (fhandler_socket::bind): Ditto.
* path.cc (symlink_worker): Ditto.
* sec_acl.cc (setacl): Ditto. Call read_sd appropriately.
(getace): Ditto.
* sec_helper.cc (security_descriptor::malloc): New method.
(security_descriptor::realloc): New method.
(security_descriptor::free): New method.
* security.cc (read_sd): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
Allocate the security_descriptor buffer according to size returned by
a call to GetFileSecurity. Return buffer size on success.
(write_sd): Get security_descriptor as parameter instead of
PSECURITY_DESCRIPTOR and a size.
(get_nt_attribute): Use local security_descriptor.
(get_nt_object_attribute): Ditto in case of type == SE_REGISTRY_KEY.
Allocate security_descriptor buffer according to size returned by
a call to RegGetKeySecurity.
(alloc_sd): Make static. Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
(set_security_attribute): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size.
(set_nt_attribute): Use local security_descriptor.
(check_file_access): Ditto.
* security.h: Add class security_descriptor.
(read_sd): Change declaration to get security_descriptor as parameter
instead of PSECURITY_DESCRIPTOR and a size.
(write_sd): Ditto.
(set_security_attribute): Ditto.
(alloc_sd): Remove declaration.
* thread.cc (semaphore::semaphore): Use local security_descriptor. Call
set_security_attribute appropriately.

20 years ago * sec_acl.h (getace): Use FILE_*_BITS as permission mask.
Corinna Vinschen [Wed, 26 Nov 2003 10:52:21 +0000 (10:52 +0000)]
* sec_acl.h (getace): Use FILE_*_BITS as permission mask.
* security.cc (get_attribute_from_acl): Ditto.
* security.h (FILE_READ_BITS): Define to match also GENERIC bits.
(FILE_WRITE_BITS): Ditto.
(FILE_EXEC_BITS): Ditto.

20 years ago* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.
Christopher Faylor [Wed, 26 Nov 2003 03:52:12 +0000 (03:52 +0000)]
* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:59:37 +0000 (22:59 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:58:32 +0000 (22:58 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:57:22 +0000 (22:57 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:56:58 +0000 (22:56 +0000)]
more white space

20 years ago* thread.cc: Minor whitespace cleanup. Remove some obsolete code.
Christopher Faylor [Tue, 25 Nov 2003 22:55:31 +0000 (22:55 +0000)]
* thread.cc: Minor whitespace cleanup.  Remove some obsolete code.

20 years ago* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.
Christopher Faylor [Tue, 25 Nov 2003 19:24:46 +0000 (19:24 +0000)]
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.

20 years ago* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
Christopher Faylor [Tue, 25 Nov 2003 02:03:17 +0000 (02:03 +0000)]
* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
during path_conv.
* fhandler.h (fhandler_base::set_error): New method.

20 years ago2003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Mon, 24 Nov 2003 18:39:04 +0000 (18:39 +0000)]
2003-11-24  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
        specifier to use ch instead of *fmt.

20 years ago* configure.in: Avoid using cygserver unless hosting on cygwin.
Christopher Faylor [Mon, 24 Nov 2003 17:03:50 +0000 (17:03 +0000)]
* configure.in: Avoid using cygserver unless hosting on cygwin.

20 years ago * include/winnt.h (PAGE_*): Group defines together. Change
Danny Smith [Sun, 23 Nov 2003 20:29:02 +0000 (20:29 +0000)]
* include/winnt.h (PAGE_*): Group defines together. Change
constants to hex notation.

20 years agowhite space
Christopher Faylor [Sun, 23 Nov 2003 17:55:37 +0000 (17:55 +0000)]
white space

20 years ago * Makefile.in: Make cygserver depending on cygwin.
Corinna Vinschen [Sun, 23 Nov 2003 09:02:26 +0000 (09:02 +0000)]
* Makefile.in: Make cygserver depending on cygwin.

20 years ago* sigproc.cc (sig_send): Correct below checkin. Use
Christopher Faylor [Sun, 23 Nov 2003 05:42:47 +0000 (05:42 +0000)]
* sigproc.cc (sig_send): Correct below checkin.  Use
thisframe.call_signal_handler.

20 years ago* sigproc.cc (proc_exists): A zombie process does not exist.
Christopher Faylor [Sun, 23 Nov 2003 05:34:00 +0000 (05:34 +0000)]
* sigproc.cc (proc_exists): A zombie process does not exist.
(sig_send): Improve debugging output.  Wait for pipe to be created before
trying to send to it.  Call call_signal_handler_now if sending a signal to
myself.

20 years ago * msg.cc (client_request_msg::serve): Add default case to msgop switch.
Corinna Vinschen [Sat, 22 Nov 2003 22:37:13 +0000 (22:37 +0000)]
* msg.cc (client_request_msg::serve): Add default case to msgop switch.
* sem.cc (client_request_sem::serve): Add default case to semop switch.
* shm.cc (client_request_shm::serve): Add default case to shmop switch.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

20 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?"

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

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

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

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

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

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

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

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

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

20 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 ".".

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

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

20 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__.

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