summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * speclib: Use correct EOF marker. Ensure that directory is actually deletedChristopher Faylor2003-11-281-2/+2
| | | | when running under Windows.
* * speclib: Use correct EOF marker. Ensure that directory is actually deletedChristopher Faylor2003-11-281-0/+5
| | | | when running under Windows.
* * lib/Makefile.in: Use make function to locate .mri file to allow building inChristopher Faylor2003-11-272-2/+7
| | | | directory other than source directory.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoidChristopher Faylor2003-11-272-8/+14
| | | | inappropriate .lnk extensions with munged filenames under managed mode.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-273-1/+34
| | | | | * libc/include/stdlib.h (_atoi_r): New prototype. * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-274-3/+41
| | | | | | * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes. * libc/stdlib/atol.c (_atol_r): New reentrant function. * libc/stdlib/atoll.c (_atoll_r): Ditto.
* 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-278-8/+311
| | | | | | | | | | | | | Jeff Johnston <jjohnstn@redhat.com> * libc/include/stdlib.h (lldiv_t): New type. (atoll, llabs, lldiv): New prototypes. * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv. * libc/stdlib/stdlib.tex: Ditto. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/atoll.c: New file. * libc/stdlib/llabs.c: Ditto. * libc/stdlib/lldiv.c: Ditto.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-272-1/+32
| | | | | * COPYING.NEWLIB: Add license info for long long routines added to stdlib.
* 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>Danny Smith2003-11-272-1/+8
| | | | * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
* * lib/vfw32.def: Remove, replacing with ...Danny Smith2003-11-276-58/+91
| | | | | | | | | | | | * 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.
* * cygserver.cc (main): Move call to ipcinit() up before installingCorinna Vinschen2003-11-263-6/+12
| | | | | | any threads. * sysv_sem.cc: Update to FreeBSD version 1.67. (seminit): Initialize semaphore sequence numbers to 0.
* * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a inCorinna Vinschen2003-11-262-1/+9
| | | | | the parallel cygwin dir. (cygserver.exe): Depend on and link against $CYGWIN_LIB.
* 2003-11-26 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-264-1/+12
| | | | | | * libc/include/fcntl.h: Declare syscalls only when building newlib. * libc/include/unistd.h: Ditto. * libc/include/stat.h: Ditto. Also declare struct stat64.
* * mkgroup.c (main): Print "root" group with local admins group sidCorinna Vinschen2003-11-262-0/+13
| | | | and gid 0.
* * sec_helper.cc (set_process_privilege): Rename restore_priv toCorinna Vinschen2003-11-262-8/+18
| | | | | | | priv_luid. * sec_helper.cc (set_process_privilege): Call LookupPrivilegeValue before opening the token.
* * dir.cc (mkdir): Use local security_descriptor. CallCorinna Vinschen2003-11-2611-116/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sec_acl.h (getace): Use FILE_*_BITS as permission mask.Corinna Vinschen2003-11-264-12/+24
| | | | | | | * 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.
* * Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.Christopher Faylor2003-11-262-1/+6
|
* more white spaceChristopher Faylor2003-11-251-5/+5
|
* more white spaceChristopher Faylor2003-11-251-2/+3
|
* more white spaceChristopher Faylor2003-11-251-4/+3
|
* 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.