summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* more white spaceChristopher Faylor2003-11-251-1/+1
|
* * thread.cc: Minor whitespace cleanup. Remove some obsolete code.Christopher Faylor2003-11-252-17/+7
|
* * winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.Christopher Faylor2003-11-252-1/+5
|
* * dtable.cc (build_fh_name): Set error in dummy fhandler when one is notedChristopher Faylor2003-11-253-1/+10
| | | | | during path_conv. * fhandler.h (fhandler_base::set_error): New method.
* 2003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-242-1/+6
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format specifier to use ch instead of *fmt.
* * configure.in: Avoid using cygserver unless hosting on cygwin.Christopher Faylor2003-11-243-47/+53
|
* * include/winnt.h (PAGE_*): Group defines together. ChangeDanny Smith2003-11-232-10/+15
| | | | constants to hex notation.
* white spaceChristopher Faylor2003-11-231-1/+1
|
* * Makefile.in: Make cygserver depending on cygwin.Corinna Vinschen2003-11-232-0/+6
|
* * sigproc.cc (sig_send): Correct below checkin. UseChristopher Faylor2003-11-232-1/+6
| | | | thisframe.call_signal_handler.
* * sigproc.cc (proc_exists): A zombie process does not exist.Christopher Faylor2003-11-232-7/+22
| | | | | | (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.
* * msg.cc (client_request_msg::serve): Add default case to msgop switch.Corinna Vinschen2003-11-224-0/+18
| | | | | * sem.cc (client_request_sem::serve): Add default case to semop switch. * shm.cc (client_request_shm::serve): Add default case to shmop switch.
* * dcrt0.cc (check_sanity_and_sync): Correct api major version check so thatChristopher Faylor2003-11-222-2/+7
| | | | newer dlls will work with older apps but not vice versa.
* 2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-222-16/+42
| | | | | | * 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.
* * sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.Christopher Faylor2003-11-213-1/+10
| | | | | * shm.cc: Ditto. * msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
* * msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.Christopher Faylor2003-11-212-0/+5
|
* 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-212-8/+22
| | | | | | * 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.
* * Makefile.in (install): Explicitely create directories. InstallCorinna Vinschen2003-11-213-2/+223
| | | | | README to $(prefix)/share/doc/Cygwin. * README: New file.
* * cygserver.cc (print_usage): Fix scrambled output.Corinna Vinschen2003-11-212-1/+5
|
* 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>Jeff Johnston2003-11-206-5/+82
| | | | | | | | | | * 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.
* * cygserver-config: Slightly modify printed message.Corinna Vinschen2003-11-202-4/+5
|
* * configure.in: Make --use-server the default.Christopher Faylor2003-11-203-12/+12
| | | | * configure: Regenerate.
* * configure.in: Make --use-server the default. Remove powerpc target.Christopher Faylor2003-11-203-19/+18
| | | | * configure: Regenerate.
* * winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.Corinna Vinschen2003-11-204-27/+9
| | | | | * winsup.api/semtest.c (main): Ditto. * winsup.api/shmtest.c (main): Ditto.
* * msg.cc (msgctl): Raise SIGSYS if call not available.Corinna Vinschen2003-11-204-0/+47
| | | | | | | | | | | | | (msgget): Ditto. (msgrcv): Ditto. (msgsnd): Ditto. * sem.cc (semctl): Ditto. (semget): Ditto. (semop): Ditto. * shm.cc (shmat): Ditto. (shmctl): Ditto. (shmget): Ditto. (shmdt): Ditto.
* * Makefile.in (install): Install cygserver-config script to bindir.Corinna Vinschen2003-11-203-2/+220
| | | | * cygserver-config: New script.
* 2003-11-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2003-11-191-1/+1
| | | | | | | * configure.host: Enable positional arguments for printf family for Cygwin. * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous pointer reference for quad_ptr_t.
* * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.DJ Delorie2003-11-193-2/+9
| | | | * Makefile.in: Regenerate.
* * winsup.api/msgtest.c: New file derived from FreeBSD, testingCorinna Vinschen2003-11-194-0/+1020
| | | | | | XSI Message Queue support. * winsup.api/semtest.c: Ditto, testing XSI Semaphore support. * winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.
* * Makefile.in: Add rules to build ipcrm and ipcs.Corinna Vinschen2003-11-194-1/+1061
| | | | | * ipcrm.c: New file. * ipcs.c: New file.
* * cygserver.h (client_request::request_code_t): AddCorinna Vinschen2003-11-1924-904/+1799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't use safe_new but new throughout. Fix copyright datesCorinna Vinschen2003-11-1927-1368/+5656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2003-11-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2003-11-192-1/+8
| | | | | | | * configure.host: Enable positional arguments for printf family for Cygwin. * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous pointer reference for quad_ptr_t.
* 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-192-2/+4
| | | | * libc/stdio/scanf.c: Don't include local.h more than once.
* * dtable.cc (build_fh_pc): Resurrect accidentally removedCorinna Vinschen2003-11-192-0/+8
| | | | DEV_CYGDRIVE_MAJOR case.
* Revert most of last check in to ChangeLog. It duplicatedCorinna Vinschen2003-11-191-1237/+0
| | | | accidentally a big bunch of old entries.
* * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"Maciej W. Rozycki2003-11-182-0/+6
| | | | | | | | | | | | | | | 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".
* 2003-11-18 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-184-0/+15
| | | | | | * libc/include/sys/fcntl.h: Declare _open64. * libc/include/sys/stat.h: Declare _fstat64. * libc/include/sys/unistd.h: Declare _lseek64.
* * fhandler.cc (fhandler_base::lseek): Include high order offsetCorinna Vinschen2003-11-172-0/+8
| | | | bits in return value.
* * libc/include/stdlib.h (getprogname): Declare for Cygwin.Corinna Vinschen2003-11-172-0/+11
| | | | (setprogname): Ditto.
* * bsdlib.cc (getprogname): New function.Corinna Vinschen2003-11-174-1/+33
| | | | | | (setprogname): New funtion. * cygwin.din: Export getprogname and setprogname. * include/cygwin/version.h: Bumb API version number.
* * include/limits.h: Revert unsanctioned changes below.Christopher Faylor2003-11-154-4/+10
| | | | | * include/cygwin/config.h: Ditto. * include/sys/param.h: Ditto.
* Add Tab control macroManu B2003-11-152-0/+5
|
* 2003-11-11 Robert Collins <rbtcollins@hotmail.com>Robert Collins2003-11-1441-151/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * mkgroup.c: Avoid compiler warnings throughout.Corinna Vinschen2003-11-144-15/+1258
| | | | | * mkpasswd.c: Ditto. * passwd.c: Ditto.
* Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton2003-11-142-3/+28
| | | | skip displaying arm elf mapping symbols in disassembly output.
* * dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.Christopher Faylor2003-11-142-9/+9
| | | | Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.
* minor adjustments to Elfyn's contribution.David Starks-Browning2003-11-132-11/+10
|
* Apply Elfyn's patches as supplied in ↵David Starks-Browning2003-11-133-16/+14
| | | | <http://cygwin.com/ml/cygwin-patches/2003-q3/msg00156.html>.
* 2003-11-13 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith2003-11-135-3/+48
| | | | | | | | | | | | | | | * 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.