aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-12-17* safe-ctype.h: Make code work on all targets and not just onDJ Delorie2-8/+8
targets where a char is 8 bits.
2000-12-16* cygcheck.cc (cygwin_info): Add some more bounds checking. From Matt HargetChristopher Faylor2-49/+205
<matt@use.net>: * utils/cygcheck.cc (keyeprint): Move declaration before other functions so it could be used by all functions to report error messages. Add comment. (add_path): Check for NULL return from malloc. (find_on_path): Check initial uses of pointers for NULL. (rva_to_offset): Ditto. (init_paths): Add checking for return values of Win32 calls. (get_dword): Ditto. (get_word): Ditto. (dll_info): Ditto, also add NULL pointer checks. (scan_registry): Ditto. (check_keys): Ditto. (dump_sysinfo): Ditto. Add default case to switch. Add error reporting if GetVolumeInformation fails, except when it returns ERROR_NOT_READY. (track_down): Add checking for NULL pointers and return values of Win32 calls. (cygwin_info): Ditto. Correct small memory leak.
2000-12-16* fhandler_console.cc (read): Add support for xterm-style mouse eventChristopher Faylor3-38/+159
reporting. (fhandler_console::char_command): Honor mouse events. (fhandler_console::open): Enable mouse input events. (fhandler_console::input_tcsetattr): Ditto. * select.cc (peek_console): Add check for mouse events.
2000-12-15* path.cc (normalize_posix_path): Calculate path name length overruns moreChristopher Faylor3-10/+20
dynamically. (normalize_win32_path): Ditto. * Makefile.in: Avoid scanning the directory twice for *.d files.
2000-12-15* fhandler.h (fhandler_console): Add additional argument to char_commandChristopher Faylor3-127/+51
method. * fhandler_console.cc (fhandler_console::read): Revert previously misapplied patch. (fhandler_console::char_command): Add a second argument. (fhandler_console::write): Recognize when a '?' is found after a <esc>[.
2000-12-14Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* configure.host: Turn on long double I/O for Cygwin.
2000-12-14Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston113-134/+208
* MAINTAINERS: Removed Ranjith. * NEWS: Updated for 1.9.0. * README: Updated. * acinclude.m4: Updated to release 1.9.0. * aclocal.m4 configure doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 libc/machine/configure libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure libc/machine/arm/aclocal.m4 libc/machine/arm/configure libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure libc/machine/i386/aclocal.m4 libc/machine/i386/configure libc/machine/i960/aclocal.m4 libc/machine/i960/configure libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure libc/machine/mips/aclocal.m4 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 libc/machine/sh/configure libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure libc/machine/v850/aclocal.m4 libc/machine/v850/configure libc/machine/w65/aclocal.m4 libc/machine/w65/configure libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure libc/sys/aclocal.m4 libc/sys/configure libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure libc/sys/arm/aclocal.m4 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure libc/sys/go32/aclocal.m4 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure libc/sys/linux/aclocal.m4 libc/sys/linux/configure libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure libc/sys/netware/aclocal.m4 libc/sys/netware/configure libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure libc/sys/sh/aclocal.m4 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure libc/sys/w65/aclocal.m4 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure libm/aclocal.m4 libm/configure: Regenerated.
2000-12-14 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'Corinna Vinschen2-0/+11
when __CYGWIN__ is defined.
2000-12-142000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-35/+60
* libc/stdlib/ldtoa.c (_ldcheck): New routine that categorizes a long double as NaN, Infinity, or other. * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed isinfl and isnanl static routines which were i386-specific. Changed calls to the two removed routines to a single _ldcheck call. * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2000-12-132000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+13
* Makefile.am: Fixed install-data-local target to use $(mkinstalldirs) for the installed header files to ensure the directories exist before copying. * Makefile.in: Regenerated.
2000-12-13new entry, installing cygwin-inst snapshots with setupDavid Starks-Browning1-0/+36
2000-12-13update contentsDavid Starks-Browning1-5/+6
2000-12-13very minor wording changeDavid Starks-Browning1-3/+3
2000-12-13update globbing entryDavid Starks-Browning1-10/+1
2000-12-122000-12-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-9/+21
* libc/include/sys/unistd.h: Restored Cygwin _SC constants and moved new constants appropriately so Cygwin will build.
2000-12-12Add link option to allow undefiedn symbols in shared librariesNick Clifton2-0/+20
2000-12-12* configure.in: Disable language-specific target libraries forAlexandre Oliva2-0/+54
languages that aren't enabled.
2000-12-12Fix Formatting.Nick Clifton4-7/+14
2000-12-12new entries about contributing packagesDavid Starks-Browning2-0/+23
2000-12-12try again...David Starks-Browning1-1/+1
2000-12-12add tip about -lm order to WinMail@16 entryDavid Starks-Browning1-4/+22
2000-12-12add entry about mt on Win9xDavid Starks-Browning1-2/+8
2000-12-12update & expand section on multiple DLLsDavid Starks-Browning1-4/+11
2000-12-12tiny fixDavid Starks-Browning1-0/+1
2000-12-12added structure (unsolved vs. FITNR).David Starks-Browning1-1/+13
added entry about scp leaving ssh procs on Win9x.
2000-12-12screen has now been portedDavid Starks-Browning1-8/+0
2000-12-12these problems are fixed nowDavid Starks-Browning1-37/+1
2000-12-122000-12-11 Joel Sherrill <joel@OARcorp.com>Jeff Johnston18-911/+975
* Merge RTEMS specific .h files into main libc/include. * libc/sys/rtems/include/signal.h: Removed. * libc/sys/rtems/include/time.h: Removed. * libc/sys/rtems/sys/features.h: Removed. * libc/sys/rtems/sys/sched.h: Removed. * libc/sys/rtems/sys/siginfo.h: Removed. * libc/sys/rtems/sys/signal.h: Removed. * libc/sys/rtems/sys/time.h: Removed. * libc/sys/rtems/sys/times.h: Removed. definitions for time_t and clock_t since these are no longer in time.h. * libc/include/pthread.h: New file. * libc/include/sys/sched.h: New file. * libc/include/sys/features.h: New file. * libc/include/time.h: Removed duplicate definition of clock_t and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality. * libc/sys/linux/sys/types.h: Changed to include * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_. * libc/include/sys/signal.h: Add more complete set of POSIX signal functionality including real-time and threaded signals. * libc/include/sys/types.h: Add clock_t, time_t, struct timespec, and struct itimerspec. Centralizing these makes things cleaner. RTEMS uses 64-bit dev_t. Added numerous primitive definitions for pthreads including macros, pthread_attr_t, pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, pthread_once_t, and pthread_t. * libc/include/sys/unistd.h: Added getlogin_r() prototype. If RTEMS follow POSIX on read(), write() and sbrk() prototype. Feature flags removed and moved to new file <sys/features.h>. Full set of POSIX sysconf() constants
2000-12-11 * net.cc (cygwin_rexec): Eliminate superfluous call toCorinna Vinschen3-4/+13
`set_socket_inheritance'. * include/sys/socket.h: Add SUS defines for option values to `shutdown'.
2000-12-11* lib/Makefile.in: Install headers and libraries in tooldir.Christopher Faylor2-9/+21
2000-12-11 * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpuxJeff Law2-13/+21
compatibility.
2000-12-11 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intelJan Hubicka1-76/+60
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX references. (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse otherwise. * tc-i386.h (DWORD_MNEM_SUFFIX): Kill. (No_dSuf): Kill. * i386.h (*_Suf): Remove No_dSuf. (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) Remove. (i386_optab): Remove 'd' in the suffixes.
2000-12-11Replace #warning with #errorAlan Modra2-2/+6
2000-12-11* Makefile.in: Compile/link dumper.exe with c++.Christopher Faylor2-10/+14
2000-12-10* include/sysexits: New file.Christopher Faylor2-0/+122
2000-12-10* autoload.cc: Autoload CharToOemA.Christopher Faylor9-48/+100
* dcrt0.cc (dll_crt0_1): Translate command line to OEM if current codepage is OEM. * environ.cc: Add new option 'codepage' to CYGWIN environment variable. * fhandler_clipboard.cc (fhandler_clipboard::read): Read clipboard in OEM mode if current codepage is OEM. * fhandler_console.cc (fhandler_console::read): Only translate console input if current codepage is ANSI. * fhandler_console.cc (fhandler_console::write_normal): Translate output data if current codepage is ANSI. * pinfo.cc (codepage_init): New function. Setup current codepage from CYGWIN environment variable and set codepage for file APIs. * security.cc (read_sd): Translate file name to it if current codepage is OEM. * winsup.h: (sys_wcstombs,sys_mbstowcs): Use current codepage for translations between multibyte and widechar string and vice versa.
2000-12-09* path.cc (normalize_win32_path): Check for explicit use of two slashes at theChristopher Faylor3-39/+135
beginning of a path. These should be treated specially regardless of whether they are UNC paths or old-style //a paths. Avoid adding cwd to a path if the path already begins with '/'.
2000-12-09* path.cc (normalize_win32_path): Reorganize logic to accomodate chroot.Christopher Faylor3-27/+35
Always check for MAX_PATH overrun. Avoid adding one too many backslashes when src path begins with a slash. From Corinna Vinschen. * winsup.h: Force demangling for dll_crt0 for newer compilers.
2000-12-092000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston43-0/+3532
* configure.host: Added x86 linux target. * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default definitions provided if not already defined. * libc/sys/linux/crt0.c: New file. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/Makefile.in: Ditto. * libc/sys/linux/aclocal.m4: Ditto. * libc/sys/linux/brk.c: Ditto. * libc/sys/linux/configure: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/getoptlong.c: Ditto. * libc/sys/linux/ids.c: Ditto. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/io.c: Ditto. * libc/sys/linux/linux.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/realpath.c: Ditto. * libc/sys/linux/select.c: Ditto. * libc/sys/linux/signal.c: Ditto. * libc/sys/linux/systat.c: Ditto. * libc/sys/linux/termios.c: Ditto. * libc/sys/linux/time.c: Ditto. * libc/sys/linux/wait.c: Ditto. * libc/sys/linux/include/alloca.h: Ditto. * libc/sys/linux/include/getopt.h: Ditto. * libc/sys/linux/include/stdint.h: Ditto. * libc/sys/linux/include/unistd.h: Ditto. * libc/sys/linux/sys/cdefs.h: Ditto. * libc/sys/linux/sys/dirent.h: Ditto. * libc/sys/linux/sys/errno.h: Ditto. * libc/sys/linux/sys/fcntl.h: Ditto. * libc/sys/linux/sys/file.h: Ditto. * libc/sys/linux/sys/ioctl.h: Ditto. * libc/sys/linux/sys/resource.h: Ditto. * libc/sys/linux/sys/signal.h: Ditto. * libc/sys/linux/sys/stat.h: Ditto. * libc/sys/linux/sys/syscall.h: Ditto. * libc/sys/linux/sys/termios.h: Ditto. * libc/sys/linux/sys/time.h: Ditto. * libc/sys/linux/sys/types.h: Ditto. * libc/sys/linux/sys/utmp.h: Ditto. * libc/sys/linux/sys/utsname.h: Ditto. * libc/sys/linux/sys/wait.h: Ditto.
2000-12-082000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Jeff Johnston3-11/+15
* Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM) can be a relative path to $(top_srcdir)/install.sh so ensure the autoconf detected settings are properly passed recursively. Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed properly to subdirectories. * Makefile.in: Regenerated.
2000-12-08Actually add safe-ctype.hChristopher Faylor1-0/+105
2000-12-08* safe-ctype.h: New file.Christopher Faylor1-0/+4
2000-12-082000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>Jeff Johnston2-2/+10
* libc/stdio/vfprintf.c: Minor modification to avoid requiring a floating point register unless really printing a floating point number.
2000-12-07#warn -> #warningAlan Modra2-1/+5
2000-12-072000-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-3667/+3689
* libc/stdlib/ldtoa.c: Removed include of alloca.h. Also removed \r's. (asctoeg): Replaced alloca call with stack array and malloc when storage exceeds reasonable limit. (e53toe): Fixed einfin calls missing ldp parameter. (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2000-12-07* add sid/ delegationFrank Ch. Eigler1-0/+4
2000-12-07 * cygwin.din: Declare strtok_r for the import lib. Already in the DLL.Corinna Vinschen2-1/+7
2000-12-07 * mkpasswd.c: make default home directory /home/$user if oneCorinna Vinschen2-19/+58
can't be found in user registry. Allow user to override that with command line arg. (longopts): Fix typo in `local-groups' option. (main): Initialize `passed_home_path' before first usage.
2000-12-07Make initial tabbing consistent.Christopher Faylor1-109/+109
2000-12-07* getopt.h obstack.h: Standarize copyright statement.DJ Delorie3-2/+8