summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix mail address in most recent commit.Ben Elliston2003-09-051-1/+1
|
* * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespaceBen Elliston2003-09-052-2/+8
| | | | | after continuation characters that induces a warning from modern versions of GCC.
* * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||Ben Elliston2003-09-052-2/+7
| | | | FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
* * configure: Regenerate.DJ Delorie2003-09-042-2/+6
|
* Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.Nick Clifton2003-09-042-2/+6
|
* Add binutils support for v850e1 processorNick Clifton2003-09-044-1/+13
|
* * sysconf.cc (sysconf): Return more accurate value for _SC_AVPHYS_PAGES.Corinna Vinschen2003-09-042-3/+22
|
* * mmap.cc: Restructure. Add, remove and rewrite comments throughoutCorinna Vinschen2003-09-042-257/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for better readability. Change function names for better understanding. (MAP_SET): Accomodate name change from map_map_ to page_map_. (MAP_CLR): Ditto. (MAP_ISSET): Ditto. (mmap_record::page_map_): Rename from page_map_. (mmap_record::get_map): Remove. (mmap_record::alloc_page_map): Rename from alloc_map. Return bool indicating success of cygheap memory allocation. (mmap_record::free_page_map): Rename from free_map. (mmap_record::fixup_page_map): Rename from fixup_map. (mmap_record::find_unused_pages): Rename from find_empty. (mmap_record::map_pages): Rename from map_map. (mmap_record::unmap_pages): Rename from unmap_map. (class list): Make all class members private. (list::list): Remove. (list::~list): Remove. (list::get_fd): New attribute reader. (list::get_hash): Ditto. (list::get_record): Ditto. (list::add_record): Manage all allocation for mmap_records. Check for failed memory allocation and return NULL if so. (list::set): New function. (list::del_record): Rename from erase. Return true if last mmap_record has been deleted, false otherwise. Check for legal incoming index value. (list::erase): Remove erase/0. (list::search_record): Rename from match. (map::map): Remove. (map::~map): Remove. (map::add_list): Manage all allocation for lists. Check for failed memory allocation and return NULL if so. (map::get_list): New method. (map::del_list): Rename from erase. Check for legal incoming index value. (mmap64): Check for failed mmap_record memory allocation. Return with MAP_FAILED and errno set to ENOMEM if so. (munmap): Rearrange loop using new list and mmap_record accessor functions. Rename loop index variables for better understanding. Check if list can be deleted after last mmap_record in it has been deleted. (msync): Rearrange loop using new list and mmap_record accessor functions. Rename loop index variables for better understanding. (fixup_mmaps_after_fork): Ditto.
* * cxx.cc (new): Fix formatting. Just return result of ccalloc rather thanChristopher Faylor2003-09-042-5/+7
| | | | calling memset explicitly.
* * mount.cc (mount_commands): Ensure user mode is actually user mode and not theChristopher Faylor2003-09-042-36/+47
| | | | default system mode.
* Index: opcodes/ChangeLogAndrew Cagney2003-09-032-34/+16
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-03 Andrew Cagney <cagney@redhat.com> * dis-init.c (init_disassemble_info): New file and function. * Makefile.am (CFILES): Add "dis-init.c". (libopcodes_la_SOURCES): Add "dis-init.c". (dis-init.lo): Specify dependencies. * Makefile.in: Regenerate. Index: include/ChangeLog 2003-08-27 Andrew Cagney <cagney@redhat.com> * dis-asm.h (init_disassemble_info): Declare. (INIT_DISASSEMBLE_INFO): Redefine as a call to init_disassemble_info. (INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto. Index: binutils/ChangeLog 2003-09-03 Andrew Cagney <cagney@redhat.com> * objdump.c: Refer to init_disassemble_info in comments. (disassemble_data): Replace INIT_DISASSEMBLE_INFO with init_disassemble_info.
* * exceptions.cc (set_process_mask): Set pending signals only when signalsChristopher Faylor2003-09-035-38/+64
| | | | | | | | | | | | become unmasked. * sigproc.cc (pending_signals): Flip back to a global. (wait_sig): Don't set pending signals when there is an armed semaphore or signal is blocked. * shared.cc (shared_info::initialize): Add a username parameter for user-mode mounts. Reorganize to try to avoid startup race. (memory_init): Move some stuff into shared_info::initialize. * shared_info.h (shared_info::initialize): Change declaration. (CURR_SHARED_MAGIC): Update.
* 2003-09-02 Bart Oldeman <bartoldeman@users.sourceforge.net>Danny Smith2003-09-034-94/+102
| | | | | | | * lib/snmpapi.def (LIBRARY) Add library name. Remove '\r', throughout. * lib/wsnmp32.def: Remove '\r', throughout. * lib/igmpagnt.def: Likewise.
* * configure.in: Ensure arguments to sed are properly spaced.DJ Delorie2003-09-023-4/+9
| | | | * configure: Regenerate.
* 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2003-09-024-13/+19
| | | | | | * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout. * libc/stdlib/exit.c : Ditto. * libc/stdlib/on_exit.c: Ditto.
* * include/cygwin/version.h: Bump DLL minor number to 4.Christopher Faylor2003-09-012-1/+5
|
* * net.cc (dup_ent): Restore check for NULL input.Christopher Faylor2003-09-012-0/+7
|
* * pathnames.sgml: Remove description how to mount raw devices andCorinna Vinschen2003-09-012-55/+20
| | | | | dicourage it. Desparately try to make usage of raw devices a bit clearer.
* * kill.cc (forcekill): Silence some compiler warnings.Christopher Faylor2003-09-012-2/+7
|
* * Makefile.in: Oops. Put the '...' in the right place.Christopher Faylor2003-09-012-2/+6
|
* * include/sys/cygwin.h: Don't define cygwin-specific things if !__CYGWIN__.Christopher Faylor2003-09-012-2/+7
|
* * cygheap.cc (cygheap_init): Allocate space for sigaction array in cygheap.Christopher Faylor2003-09-0111-32/+66
| | | | | | | | | | | | | | | | | | * cygheap.h (cygheap_types): Add HEAP_SIGS. * exceptions.cc (signal_fixup_after_exec): Remove from this file. * pinfo.h (pinfo::getsig): Just return global_sigs array. (pinfo::sigs): Delete. * sigproc.cc (signal_fixup_after_exec): Move it here. (global_sigs): New global array, moved from pinfo structure. (sigalloc): New function. Allocate global sigaction array here. (proc_subproc): Remove copysigs call. It's automatic now. * include/sys/cygwin.h (PID_NOCLDSTOP): New value. * signal.cc (sigaction): Set myself->PID_NODCLDSTOP when appropriate. * sigproc.h (sigalloc): Declare. * fnmatch.c (fnmatch): Use C90 parameters. (rangematch): Ditto. * fhandler.cc (fhandler_base::raw_read): Use right coercion to avoid a compiler warning.
* * Makefile.in: Display "..." when not-verbose.Christopher Faylor2003-09-013-5/+15
| | | | | * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some warnings when things don't work.
* * net.cc (dup_ent): Make debugging output consistent.Christopher Faylor2003-08-312-1/+5
|
* Use dup_ent rather than specific dup_*_ptr functions throughout.Christopher Faylor2003-08-312-36/+45
| | | | | | | | | | * (gen_ent): Delete. (dup_ent): Subsume gen_ent functionality. (dup_host_ptr): Delete. (dup_proto_ptr): Ditto. (dup_servent_ptr): Ditto. * net.cc (gen_ent): Invert sense of null check so that debug output makes sense.
* * net.cc (free_char_list): Delete.Christopher Faylor2003-08-313-193/+215
| | | | | | | | | | | | | | | | | | | | (dup_addr_list): Delete. (dup_char_list): Delete. (free_hostent_ptr): Delete. (free_protoent_ptr): Delete. (free_servent_ptr): Delete. (DWORD_round): New function. (strlen_round): New function. Returns strlen rounded up to word size. (dup_ent): New, generic function to duplicate a {host,proto,serv}ent structure. (gen_ent): New macro. Generates a generic dup_{host,proto,serv}ent_ptr function. (cygwin_getservbyname): Remove call to free_servent_ptr, pass servent_buf to dup_servent_ptr. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto for hostent. (cygwin_gethostbyaddr): Ditto. (cygwin_getprotobyname): Ditto for protoent. (cygwin_getprotobynumber): Ditto.
* * Makefile.in (MALLOC_OFILES): Always fill in with correct malloc object.Christopher Faylor2003-08-3110-72/+78
| | | | | | | | | | | | | | | * configure.in: Fill in MALLOC_OFILES with either debugging or regular malloc. * configure: Regenerate. * dlmalloc.c: Make various fruitless changes to attempt to get to work. * dlmalloc.h: Ditto. * malloc.cc (free): Check malloc pool when debugging. * path.cc (win32_device_name): Eliminate compiler warning. * sigproc.cc (sig_dispatch_pending): Remove use of was_pending. Let thisframe.call_signal_handler decide if handler should be called rather than using bogus was_pending check. * exceptions.cc (interrupt_setup): Remove accidentally checked in debugging code. * heap.cc (sbrk): Save rounded addess in user_heap_max.
* change copyrightChristopher Faylor2003-08-311-1/+1
|
* * sigproc.cc (sig_dispatch_pending): Remove explicit call toChristopher Faylor2003-08-303-3/+6
| | | | thisframe.call_signal_handler.
* missed oneChristopher Faylor2003-08-301-408/+0
|
* * msg.cc: New file.Christopher Faylor2003-08-304-2/+94
| | | | * sem.cc: Ditto.
* * threaded_queue.h: New file.Christopher Faylor2003-08-302-0/+131
|
* Remove some cygserver files.Christopher Faylor2003-08-3011-3786/+4
|
* 2003-08-29 Steve Cleary <scleary@jerviswebb.com>Danny Smith2003-08-293-0/+64
| | | | | | | | | | | | * include/winuser.h (QS_ALLPOSTMESSAGE, QS_RAWINPUT): Add defines. (QS_INPUT, QS_ALLINPUT, QS_ALLEVENTS): Adjust by OR'ing with QS_RAWINPUT for XP. (MWMO_*): Add flags. * include/wincrypt.h (MS_ENHANCED_PROV[AW], MS_STRONG_PROV[AW], MS_DEF_RSA_SIG_PROV[AW], MS_DEF_RSA_SCHANNEL_PROV[AW], MS_DEF_DSS_PROV[AW], MS_DEF_DSS_DH_PROV[AW], MS_ENH_DSS_DH_PROV[AW], MS_DEF_DH_SCHANNEL_PROV[AW], MS_SCARD_PROV[AW]): Add definitions.
* * sigproc.h: Make some functions regparm.Christopher Faylor2003-08-291-0/+11
| | | | | | | | | | * sigproc.cc (checkstate): Make regparm. (getevent): Change parameters in declaration, rename from getsem, make regparm. (sig_send): Recognize that nosync is now an event. Remove some old cruft from previous interrupt anywhere signal handler. (getevent): Change parameters in definition, rename from getsem. Allocate event rather than semaphore. (wait_sig): Treat sigcatch_nosync as an event.
* * sigproc.h: Make some functions regparm.Christopher Faylor2003-08-292-38/+31
| | | | | | | | | | * sigproc.cc (checkstate): Make regparm. (getevent): Change parameters in declaration, rename from getsem, make regparm. (sig_send): Recognize that nosync is now an event. Remove some old cruft from previous interrupt anywhere signal handler. (getevent): Change parameters in definition, rename from getsem. Allocate event rather than semaphore. (wait_sig): Treat sigcatch_nosync as an event.
* * exceptions.cc (sigreturn): Fix problem where old return address was notChristopher Faylor2003-08-293-6/+13
| | | | properly restored for a nested signal.
* * install-sh: Update to newer upstream versions (associated withDaniel Jacobowitz2003-08-293-72/+269
| | | | | aclocal 1.7). * missing: Likewise, plus $1Help2man -> $1 typo fix.
* * autoload.cc (SwitchToThread): Declare as autoload function.Christopher Faylor2003-08-281-0/+12
| | | | | | | | | | | * cygthread.h (cygthread::main_thread_id): Make public. * exceptions.cc (setup_handler): Remove unneeded priority stuff. Rename label to reflect what it does. Add debugging for idiotic Windows NT problem. Change debugging output to include signal number. * miscfuncs.cc (low_priority_sleep): If available, use SwitchToThread function to give time slice to other threads. * wincap.cc: Properly define have_switch_to_thread throughout. * wincap.h (wincap::switch_to_thread): New element.
* * syscalls.cc (mount): Don't check win32_path when doing cygdrive mount.Christopher Faylor2003-08-289-44/+72
|
* * configure.in: Set RAW_CXX_FOR_TARGET if unset.Daniel Jacobowitz2003-08-273-35/+44
| | | | * configure: Regenerated.
* * specdir: Correctly remove temporary directory prior to use.Christopher Faylor2003-08-272-1/+5
|
* * sigproc.cc (wait_sig): Count number of iterations through 'more_signals' loopChristopher Faylor2003-08-272-70/+86
| | | | | and issue a warning if DEBUGGING and excessive. (WFSO): When debugging and infinite timeout, loop.
* * config/no-executables.m4: New file.Daniel Jacobowitz2003-08-272-0/+65
|
* 2003-08-27 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-08-272-0/+10
| | | | | * libc/include/reent.h: Define stat64 as __stat64 when compiling newlib for Cygwin.
* Merge bugfix from GCC:Nathanael Nerode2003-08-273-35/+43
| | | | | | | | 2003-08-23 Phil Edwards <pme@gcc.gnu.org> * configure.in: Use newline instead of semicolon when assuming shell arguments in a for loop. * configure: Regenerated.
* 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-262-0/+7
| | | | | * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as __stat64 when compiling newlib.
* 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-265-6/+16
| | | | | | | | | | * libc/include/stdio.h: Allow the io64 function prototypes for Cygwin when compiling newlib. * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64 to expose the Cygwin struct __stat64 type. * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64 pointer. * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
* * include/cygwin/stat.h: Allow definition of internal stat structuresCorinna Vinschen2003-08-262-1/+6
| | | | also when compiling newlib.
* 2003-08-26 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-08-264-1/+1145
| | | | | | | | | | | * lib/test.c: Add vfw.h to includes. * include/mmsystem.h: Add #ifndef guard to definition of mmioFOURCC macro. * include/vfw.h: Protect __OBJC__ from COM declarations. 2003-08-26 Filip Navara <xnavara@volny.cz> * include/vfw.h: New file.