summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.Corinna Vinschen2001-02-233-3/+8
| | | | * fhandler_mem.cc (fhandler_dev_mem::mmap): Ditto.
* 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-222-2/+8
| | | | | * COPYING.NEWLIB: Remove DJ Delorie's address because it is no longer valid.
* 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-223-22/+26
| | | | | | * mn10200/access.c: With DJ Delorie's permission, this code is now freely modifiable with no reference to "copying.dj". * mn10300/access.c: Ditto.
* 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-2298-259/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission, changed the copyright information to allow free modification of the file with no reference to "copying.dj". * libc/include/sys/stat-dj.h: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto. * libc/stdio/mktemp.c: Fixed typo for the word copyright. * libc/stdlib/getenv_r.c: Ditto. * libc/stdlib/putenv_r.c: Ditto. * libc/stdlib/setenv_r.c: Ditto. * libc/stdlib/getenv.c: Removed DJ reference since any possible modifications will now be in the _r version of this file. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/setenv.c: Ditto. * libc/sys/go32/copying.dj: Removed DJ's address which is no longer valid. Added a reference to DJ's web page that contains his address. * libc/sys/go32/*.s: Removed references to DJ's old address. * libc/sys/go32/*.c: Ditto. * libc/sys/go32/*.h: Ditto. * libc/sys/go32/*.S: Ditto. * libc/sys/go32/sys/*.h: Ditto.
* * path.cc (symlink): Keep relative paths relative in the DOSCorinna Vinschen2001-02-222-11/+14
| | | | | path inside of a shortcut. If that's impossible or the target path is already absolute save an absolute path.
* * path.cc (symlink): Keep relative paths relative in the DOSCorinna Vinschen2001-02-222-4/+39
| | | | | path inside of a shortcut. If that's impossible for some reason, save an absolute path.
* * cygerrno.h: Revert previous patch.Corinna Vinschen2001-02-229-71/+72
| | | | | | | | | | | | | | | | | | | | | | * errno.cc: Ditto. * dir.cc: Eliminate `dir_suffixes'. (opendir): Remove usage of `dir_suffixes'. (rmdir): Ditto. * fhandler.cc (fhandler_disk_file::open): Remove usage of `inner_suffixes'. * path.cc: Rename `inner_suffixes' to `lnk_suffixes'. (path_conv::check): Remove usage of `inner_suffixes'. (symlink): Ditto. (symlink_info::check): Handle checking for `.lnk' in path_conv exclusively here. (chdir): Remove usage of `dir_suffixes'. * shortcut.c: Eliminate debug_printf lines. (check_shortcut): Don't set error except on failing ReadFile. * spawn.cc: Remove ".lnk" from `std_suffixes'. * syscalls.cc (_unlink): Remove usage of `inner_suffixes'. Remove ".lnk" from `stat_suffixes'. (_rename): Add check for renaming a symlink to keep the ".lnk" suffix after renaming.
* * shortcut.c: New file. Provides a C interface to reading ofCorinna Vinschen2001-02-227-168/+253
| | | | | | | | | | | | | | | | | | | | Windows shortcuts to avoid compiler flag `-fvtable-thunks'. * shortcut.h: Ditto. * Makefile.in: Add shortcut.o to DLL_OFILES. * cygerrno.h: Provide a C interface to `geterrno_from_win_error' for using in shortcut.c. * errno.cc (geterrno_from_win_error): Define as extern "C". * path.cc (struct symlink_info): Remove methods `check_shortcut' and `check_sysfile'. (shortcut_header): Move to shortcut.c. (shortcut_initalized): Ditto. (create_shortcut_header): Ditto. (cmp_shortcut_header): Ditto. (symlink_info::check_shortcut): Ditto. Reorganize as a plain C function. (symlink_info::check_sysfile): Redefine as a global function using the same parameter list as `check_shortcut' for clearness. (symlink_info::check): Change parameter list for calls to `check_shortcut' and `check_sysfile'.
* * Makefile.common: Revert previous change.Corinna Vinschen2001-02-222-1/+5
|
* * fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' whenCorinna Vinschen2001-02-223-2/+10
| | | | | resolving real_path. * path.cc (symlink): Ditto for win32_topath.
* 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-213-12/+19
| | | | | | | * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with HAVE_FCNTL flag check. * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64, powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
* Add copyright year 2001Corinna Vinschen2001-02-217-8/+8
|
* * Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.Corinna Vinschen2001-02-219-70/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc: Add LoadDLLinitfunc for ole32.dll. Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0 and CoCreateInstance@20. * dir.cc (dir_suffixes): New datastructure. (readdir): Check for R/O *.lnk files to hide the suffix. (opendir): Use `dir_suffixes' in path conversion. (rmdir): Ditto. * fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY into account only if the file is no symlink. * path.cc (inner_suffixes): New datastructure. (SYMLINKATTR): Eliminated. (path_conv::check): Use `inner_suffixes' on inner path components. (shortcut_header): New global static variable. (shortcut_initalized): Ditto. (create_shortcut_header): New function. (cmp_shortcut_header): Ditto. (symlink): Create symlinks by creating windows shortcuts. Preserve the old code. (symlink_info::check_shortcut): New method. (symlink_info::check_sysfile): Ditto. (symlink_info::check): Check for shortcuts. Move code reading old system attribute symlinks into symlink_info::check_sysfile(). (chdir): Use `dir_suffixes' in path conversion. * security.cc (get_file_attribute): Check for S_IFLNK flag. Force 0777 permissions then. * spawn.cc (std_suffixes): Add ".lnk" suffix. * syscalls.cc (_unlink): Use `inner_suffixes' in path conversion. Check for shortcut symlinks to eliminate R/O attribute before calling DeleteFile(). (stat_suffixes): Add ".lnk" suffix. (stat_worker): Force 0777 permissions if file is a symlink.
* * Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.Corinna Vinschen2001-02-212-1/+5
|
* * include/w32api.h: (_W32API_VERSION): Remove.Earnie Boyd2001-02-212-1/+10
| | | | | | (__W32API_VERSION): Add. (__W32API_MAJOR_VERSION): Ditto. (__W32API_MINOR_VERSION): Ditto.
* * include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.Earnie Boyd2001-02-214-4/+66
| | | | | | (StartDoc[AW]): Use UNICODE'd LPDOCINFO[AW] * include/winuser.h (struct tagMOUSEKEYS): Define new structure. * include/winerror.h (NTE_*): Add CryptoAPI error codes.
* * include/mswsock.h: New file.Earnie Boyd2001-02-216-71/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/ws2tcpip.h: New file. * include/winsock.h (IPPROTO_IGMP): New define. (IPPROTO_GGP): Correct value. (SO_* macros): Remove mswsock defines. (TCP_BSDURGENT): Likewise. (IP_* macros): Add comment warning of WinSock2 incompatibility (WSARecvEx): Remove mswsock prototype. (TransmitFile): Likewise. (AcceptEx): Likewise. (GetAcceptExSockaddrs): Likewise. (struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition. (#include <mswsock.h>): Add directive and explanatory comment * include/winsock2.h (header guard): add guard for _WINSOCK_H (_WINSOCK_H): Define to prevent later inclusion of winsock.h (#include <winsock.h>): Replace directive with winsock.h file content The following changes apply to the merged file: (FD_SET): Keep winsock2.h definition, delete winsock.h definition (SOMAXCONN): Likewise (#include <nspapi.h>): Move - don't include until LPSOCKADDR defined (IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now in ws2tcpip.h) (struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2) (FD_*_BIT and FD_* defines): Place together and extend to FD_MAX_EVENTS 10 (AF* defines): Extend to AF_MAX 10 (WSAIsBlocking): #if 0 out prototype (N/A in WinSock2) (WSAUnhookBlockingHook): Likewise. (WSASetBlockingHook): Likewise. (WSACancelBlockingCall): Likewise. (WSAEINPROGRESS): Comment as not raised in WinSock2. (#include <mswsock.h>): Delete directive inherited from winsock.h (WSA_QOS* defines): Add QualityOfService error codes. (SIO_* defines): Add new macros * include/ipexport.h (IP_STATUS flags): Add definitions. (IP_FLAG_DF): Likewise. (IP_OPT_* ): Likewise. (struct ip_option_information): Likewise. (struct icmp_echo_reply): Likewise.
* * include/tchar.h: (__TEXT): Remove undef.Earnie Boyd2001-02-212-5/+7
| | | | | (_TEXT): Ditto. (_T): Ditto.
* * include/commctrl.h: Revert TEXT change.Earnie Boyd2001-02-2113-764/+780
| | | | | | | | | | | | | | * include/lmalert.h: Ditto. * include/lmcons.h: Ditto. * include/lmsname.h: Ditto. * include/lmsvc.h: Ditto. * include/ntsecapi.h: Ditto. * include/oledlg.h: Ditto. * include/ras.h: Ditto. * include/regstr.h: Ditto. * include/richedit.h: Ditto. * include/wininet.h: Ditto. * include/winnt.h: Ditto.
* * sigproc.cc (getsem): Make semaphore always non-inheritable.Egor Duda2001-02-212-1/+5
|
* * dcrt0.cc (locale_init): Remove.Christopher Faylor2001-02-202-3/+4
|
* * cygwin.din: Export rand48 functions.Christopher Faylor2001-02-205-10/+33
| | | | | | * thread.cc (MTinterface::Init): Remove the initialization of `reent_data'. * dcrt0.cc: Add the initalizer to the declaration of `reent_data'. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 35.
* Add PDP-11 supportNick Clifton2001-02-184-4/+91
|
* Allow configuration of texinfo for Cygwin hosts.Nick Clifton2001-02-172-1/+6
|
* * signal.cc (signal): Prohibit setting handlers for SIGKILL and SIGSTOPEgor Duda2001-02-163-3/+15
| | | | | * signal.cc (sigaction): Ditto * syscalls.cc (_lseek): Return EINVAL on invalid input
* * include/w32api.h: Oops forgot to cvs add this.Earnie Boyd2001-02-151-0/+6
|
* * include/commctrl.h: Use _TEXT() instead of TEXT() throughout.Earnie Boyd2001-02-1512-729/+745
| | | | | | | | | | | | | | * include/lmalert.h: Ditto. * include/lmcons.h: Ditto. * include/lmsname.h: Ditto. * include/lmsvc.h: Ditto. * include/ntsecapi.h: Ditto. * include/oledlg.h: Ditto. * include/ras.h: Ditto. * include/regstr.h: Ditto. * include/richedit.h: Ditto. * include/wininet.h: Ditto. * include/w32api.h: New File.
* * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.Christopher Faylor2001-02-152-1/+5
|
* 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2001-02-1517-10/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/stdlib.h: Add declarations of rand48 functions and their reentrant versions. * libc/include/sys/reent.h: Move macros from rand48.h. Add struct _rand48 for shared parameters of rand48 functions. (struct _reent): Add a variable _r48 of struct _rand48. (_REENT_INIT): Add _r48 initialization. * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions. (CHEWOUT_FILES): Add rand48.def. * libc/stdlib/Makefile.am: Add dependencies for rand48 functions. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the NetBSD C library. * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto. * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto. * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto. * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto. * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto. * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto. * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto. * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto. * libc/stdlib/rand48.c (__dorand48): Ditto. * libc/stdlib/rand48.h: Ditto, and modify declarations of global parameters into macros referring them in the reentrant structure.
* * dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when theChristopher Faylor2001-02-142-1/+7
| | | | library is not found
* * fhandler_console.cc (fhandler_console::char_command): Ignore unknownChristopher Faylor2001-02-142-7/+5
| | | | rendition codes in \033[xx;yym control sequences
* * include/shlobj.h: Add missing SLR_* flags.Corinna Vinschen2001-02-132-1/+9
|
* * include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. RenameDJ Delorie2001-02-132-2/+7
| | | | PEP64AOUTSZ to PEPAOUTSZ.
* * lib/Makefile.in: (host_alias): Add variable.Earnie Boyd2001-02-123-31/+20
| | | | | | | | | | | | (host_build): Ditto: (xinstall): Removed (xinstall-libraries): Ditto. (xinstall-headers): Ditto. (xuninstall): Ditto. (xuninstall-libraries): Ditto. (xuninstall-headers): Ditto. * Makefile.in: (host_alias): Add variable. (build_alias): Ditto.
* 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-122-4/+6
| | | | | * libc/include/sys/stat.h: Add mknod for Cygwin now that Cygwin definition has correct prototype.
* * i386.h (i386_optab): SSE integer converison instructions haveJan Hubicka2001-02-122-6/+11
| | | | | | | 64bit versions on x86-64. * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison instructions. (putop): Handle 'Y'
* Remove annoying entry....:-)Nick Clifton2001-02-101-5/+0
|
* Remove extraneous whitespaceNick Clifton2001-02-102-12/+18
|
* * fork.cc (fork_parent): Return EAGAIN when can't record pid.Christopher Faylor2001-02-104-6/+26
| | | | | * pinfo.h (pinfo::remember): Return value of call to proc_subproc. * sigproc.cc (proc_subproc): Return error if can't record pid.
* Add s390 supportNick Clifton2001-02-1014-2/+241
|
* * syscalls.cc (mknod): Add valid parameters.Christopher Faylor2001-02-092-1/+5
|
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-092-1/+10
| | | | | | * libc/include/sys/stat.h: Must revert change for mknod for CYGWIN until winsup/cygwin/syscalls.cc changes mknod prototype.
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-092-1/+5
| | | | * libc/include/stdio.h: Revert putw prototype.
* 2001-02-08 Edward M. Lee <tailbert@yahoo.com>Jeff Johnston2001-02-096-13/+16
| | | | | | | | | * libc/include/grp.h: add prototype for initgroups. * libc/include/stdio.h: fix prototype for putw. * libc/include/sys/signal.h: add prototype for killpg. * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, vhangup and remove duplicate sysconf prototype.
* * mmap.cc (mmap): Check for reusing a mapping only on MAP_SHAREDCorinna Vinschen2001-02-082-2/+8
| | | | and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.
* * mmap.cc (class list): Add member `hash'.Corinna Vinschen2001-02-082-8/+25
| | | | | | | | (list::list): Initialize `hash'. (list::get_list_by_fd): Use filepath hash value to get the correct mapping list if it's not an anonymous mapping. (map::add_list): Initialize `hash' with filepath hash value. (mmap): Check for reusing a mapping only on MAP_SHARED.
* * setup2.sgml: Add docs about domain accounts.DJ Delorie2001-02-082-3/+29
|
* * signal.cc (killpg): Correct first argument.Christopher Faylor2001-02-072-1/+5
|
* * autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.Corinna Vinschen2001-02-076-163/+263
| | | | | | | | | | | | | | | | | | | | Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12. * fhandler_socket.cc (fhandler_socket::ioctl): Move variable definitions to the beginning of the function to allow better debugging. Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. * net.cc: Include iphlpapi.h. (get_2k_ifconf): Rewritten. Uses IP Helper API now. (get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. (get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'. (get_ifconf): Name loopback `lo' instead of `lo0' as in Linux. Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only on Windows NT < Service Pack 3, `get_2k_ifconf otherwise. * include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU. * include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'. (struct ifreq): Add `ifru_hwaddr'.
* 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-072-346/+4
| | | | * libc/sys/rtems/sys/types.h: Removed.