Danny Smith
2359084b5b
2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/ddk/winddk.h (PCUNICODE_STRING): Remove incorrect
typedef.
2003-03-13 Bang Jun-Young <junyoung@netbsd.org>
* lib/kernel32.def (Module32{First,Next}{,W}): Add missing exports.
(Process32{First,Next}{,W}): Ditto.
(Thread32{First,Next}): Ditto.
* include/ntdef.h (PCUNICODE_STRING): Add typedef.
24 years ago
Christopher Faylor
41ffdfa51e
* include/cygwin/version.h: Bump DLL minor number to 23.
24 years ago
Corinna Vinschen
5b186cd999
* autoload.cc (IsProcessorFeaturePresent): Add.
* fhandler_proc.cc (format_proc_cpuinfo): Add case for 9x systems.
24 years ago
Corinna Vinschen
c58555c70f
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.
24 years ago
Corinna Vinschen
49a0d53c46
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.
24 years ago
Christopher Faylor
6fcd5661fe
* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.
24 years ago
Earnie Boyd
19bf3bcc3e
* include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
24 years ago
Nathanael Nerode
ac2edfb863
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
24 years ago
Christopher Faylor
0e2b01821a
fix typo
24 years ago
Christopher Faylor
df4bf7b98c
Checkin previously referred to in ChangeLog.
24 years ago
Danny Smith
c5e1d3ea74
2003-03-12 Ranjit Mathew <rmathew@hotmail.com>
* include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
member SectionAlignment.
24 years ago
Corinna Vinschen
aa39b7f7bf
* fhandler_socket.cc (fhandler_socket::dup): Don't call
fhandler_base::dup() but call DuplicateHandle directly instead to have
control over socket inheritence.
24 years ago
Earnie Boyd
296b2a5f17
* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
24 years ago
Corinna Vinschen
2afa7f5882
2003-03-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::dup): On NT systems avoid
using WinSock2 socket duplication methods. Add comment.
2003-03-11 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork):
Set io_handle to INVALID_SOCKET in case of failure.
(fhandler_socket::dup): Return 0 if the io_handle is valid.
24 years ago
Danny Smith
970f752c8c
* include/stdlib.h (qsort): Remove const from first parm.
Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
24 years ago
Danny Smith
316d65dc72
* include/rasdlg.h: New file.
* lib/rasdlg.def: New file.
* lib/test.c: Include rasdlg.h.
24 years ago
Corinna Vinschen
556ceaeb58
* sec_acl.cc (setacl): Don't handle DELETE flag specially.
* security.cc (alloc_sd): Ditto.
24 years ago
Corinna Vinschen
6bbf711e68
Fix typo.
24 years ago
Corinna Vinschen
a201401c41
* winver.rc: Change Copyright hint to inlcude 2003.
24 years ago
Corinna Vinschen
150c2818b6
* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
24 years ago
Corinna Vinschen
2c440f9c1a
* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
Cygwin.
24 years ago
Corinna Vinschen
b1aae492d0
Switch to 32/64 datatypes:
* Makefile.in (OBSOLETE_FUNCTIONS): Add open acl aclcheck aclfrommode
aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown
facl fchown fgetpos fopen freopen fseeko fsetpos fstat ftello
ftruncate getegid geteuid getgid getgrent getgrgid getgrnam getgroups
getpwuid getpwuid_r getuid initgroups lchown lseek lstat mknod mmap
seekdir setegid seteuid setgid setgroups setregid setreuid setuid stat
telldir truncate.
(NEW_FUNCTIONS): Add _open64 acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 chown32 facl32 fchown32 fgetpos64 fopen64 freopen64
fseeko64 fsetpos64 fstat64 ftello64 ftruncate64 getegid32 geteuid32
getgid32 getgrent32 getgrgid32 getgrnam32 getgroups32 getpwuid32
getpwuid_r32 getuid32 initgroups32 lchown32 lseek64 lstat64 mknod32
mmap64 seekdir64 setegid32 seteuid32 setgid32 setgroups32 setregid32
setreuid32 setuid32 stat64 telldir64 truncate64 to substitute the
above.
* cygserver_shm.h (class client_request_shm): Change uid_t and gid_t
members to __uid32_t and __gid32_t.
* cygwin.din: Add symbols acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 facl32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64
_fstat64 ftello64 _lseek64 mknod32 _open64.
* glob.c: Include perprocess.h.
(globtilde): Call getpwuid32 and getuid32 instead of getpwuid and
getuid.
(g_lstat): Check for applications API version to call the appropriate
typed gl_lstat function.
(g_stat): Ditto for gl_stat.
* shm.cc (client_request_shm::client_request_shm): Call geteuid32
and getegid32 instead of geteuid and getegid throughout.
* syscalls.cc (_open64): New alias for open.
(_lseek64): New alias for lseek64.
(_fstat64): New alias for fseek64.
(mknod32): New function.
(mknod): Calls mknod32 now.
* winsup.h: Make function declarations for getuid32, geteuid32,
and getpwuid32 accessible for plain C sources. Add declarations
for getegid32 and getpwnam.
* include/cygwin/version.h: Bum API minor number to 78.
* include/sys/cygwin.h: Guard C++ specific members of struct
per_process against inclusion in plain C sources.
* include/sys/mman.h (mman): Add guard to avoid type clash when
compiling Cygwin.
24 years ago
Corinna Vinschen
f882fd15b0
* libc/include/pwd.h: Add guards to avoid type clashes when compiling
Cygwin.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/sys/cygwin/sys/dirent.h: Ditto.
24 years ago
Christopher Faylor
d580d86c80
fix typo
24 years ago
Christopher Faylor
659fb3ffd3
* include/cygwin/version.h: Bump DLL minor number to 21.
24 years ago
Christopher Faylor
a113a3c540
whitespace cleanup
24 years ago
Christopher Faylor
c367dfd02c
Do some minor reformatting of 'extern "C"' use throughout.
* autoload.cc (GetSystemTimes): Define new autoload function.
* fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries.
(fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases.
(format_proc_uptime): Use GetSystemTimes if available.
(read_value): New macro.
(print): New macro.
(cpuid): New function.
(can_set_flag): New function.
(format_proc_cpuinfo): New function.
(format_proc_partitions): New function.
24 years ago
Christopher Faylor
90fec0fa7a
* winsup.api/winsup.exp: Use -nostdinc when compiling.
* Makefile.in: Specifically search compiler include directory since it is now
stripped via -nostdinc.
24 years ago
Christopher Faylor
bc1c4e1e64
.
24 years ago
Christopher Faylor
cb837d41a7
* Makefile.common: Avoid double slashes in GCC_INCLUDE.
24 years ago
Corinna Vinschen
ef1aafb0f3
* getfacl.c (username): Fix ambiguous printf calls.
(groupname): Ditto.
(main): Ditto.
24 years ago
DJ Delorie
06d58fc081
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.
24 years ago
Christopher Faylor
36c4a441f6
* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
file. Only open file in query mode to avoid having to mess with security stuff
for reading.
24 years ago
Corinna Vinschen
c379f2ed07
* winsup.api/ltp/fork10.c (main): Remove non-portable declaration
of lseek.
24 years ago
Corinna Vinschen
639ebe297b
* rmsym: Fix regular expression.
24 years ago
Christopher Faylor
6e0465c6bc
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
version of library or dll.
* config/default.exp: Ditto.
* winsup.api/winsup.exp: Ditto.
24 years ago
Christopher Faylor
3a1d827f5c
* Makefile.in: Change from using new-* to cygwin0 for temporary targets.
24 years ago
Corinna Vinschen
ca0e907143
* include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.
24 years ago
Christopher Faylor
ed269ceaa2
* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
delete files since this allows us to preserve the protection of hard linked
files.
(link): Generate full path for potentially recalculated .lnk target.
24 years ago
Christopher Faylor
35c6ce031e
missed in last checkin
24 years ago
Christopher Faylor
1114c3d059
Revert below changes regarding _pinfo::cmdline.
24 years ago
Corinna Vinschen
d66ac2bc52
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.
24 years ago
Christopher Faylor
01d615435c
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.
24 years ago
Christopher Faylor
762520f3bc
* path.h (PATH_LNK): New enum val.
(path_conv::is_lnk_symlink): New function. True if path represents .lnk style
symlink.
* path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate.
(symlink_info::check): Ditto. Remove PATH_LNK from pflags initially.
* syscalls.cc (unlink): Always remove readonly attribute from a symlink
regardless of type.
(link): (from Corinna Vinschen) Allow links to symlinks. Reset attributes on a
symlink after successful link creation.
(chmod): Use is_lnk_symlink where appropriate.
(rename): Ditto.
* tty.cc (create_tty_master): Call GetComputerName instead of
cygwin_gethostname. Set ut_id.
* syscalls.cc (login): Call endutent.
(setutent): Do not seek after a fresh open.
24 years ago
Corinna Vinschen
5582abd2c7
* configure.host: Define stdio64_dir for Cygwin.
* libc/include/stdio.h: Change definition of fpos_t to fulfill
Cygwin 64bit file access requirements.
Drop definition of f*64() functions when compiled for Cygwin.
* libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
* libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
* libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
24 years ago
Corinna Vinschen
6f8102cb71
* syscalls.cc (seteuid32): Fix formatting.
24 years ago
Corinna Vinschen
e463d1ac53
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
from list of known bugs.
24 years ago
Jeff Johnston
641da1ebcf
2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
24 years ago
Danny Smith
3332e57f26
2003-03-06 Christopher January <chris@atomice.net>
* include/winbase.h (FindFirstVolume): Add declaration.
(FindNextVolume): Add declaration.
(FindVolumeClose): Add declaration.
(GetSystemTimes): Add declaration.
* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.
2003-03-06 Danny Smith <dannysmith@users.sourceforge.net>
*lib/kernel32.def (GetSystemTimes): Add stub.
24 years ago
Andrew Cagney
18238f03ee
2003-03-06 Andrew Cagney <cagney@redhat.com>
* texinfo/texinfo.tex: Import version 2003-02-03.16.
24 years ago