6b3bb52b842003-03-17 Bob Cassels <bcassels@abinitio.com>
Jeff Johnston
2003-03-17 17:12:32 +0000
c745f853be(O_SYS_CMDLINE): New pseudo opcode for command line processing.
Nick Clifton
2003-03-17 10:34:29 +0000
4b170a4bf42003-03-17 Bang Jun-Young <junyoung@netbsd.org>
Danny Smith
2003-03-17 10:01:07 +0000
48051a71ceGet rid of some warnings * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning. * mingwex/strtoimax.c (strtoimax): Likewise. * mingwex/wcstoimax.c (wcstoimax): Likewise. * mingwex/wtoll.c (wtoll): Remove unnecessary ';' * mingwex/fesentenv.c: Include float.h. * mingwex/math/powl.c: Eliminate type punning/strict aliasing warning. * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in constants. * mingwex/math/tgammal.c: Likewise.
Danny Smith
2003-03-17 01:03:43 +0000
9bd09d45f02003-03-16 Toby Malone <malone@users.sourceforge.net>
Danny Smith
2003-03-17 00:14:39 +0000
f99ee1608c* include/utime.h: New file, forwarding to sys/utime.h.
Danny Smith
2003-03-16 22:23:58 +0000
5652f74ed2* include/sys/param.h (MAXPATHLEN): Define.
Danny Smith
2003-03-16 22:18:05 +0000
e685ccffdf* include/tchar.h: Ansi-fy a comment.
Danny Smith
2003-03-16 22:15:19 +0000
dcbe33d83a* profile/profile.h (mcount): Use __builtin_return_address rather than __asm statements. * profile/Makefile.in: Remove special rule for mcount.o Specify dependencies for mcount.o profil.o gmon.o.
Danny Smith
2003-03-16 22:12:01 +0000
7729cf524f2003-03-16 Vadim Yegorov <zg@bmg.lv>
Danny Smith
2003-03-16 01:41:58 +0000
5b537130a32003-03-15 Bang Jun-Young <junyoung@netbsd.org>
Danny Smith
2003-03-15 03:50:48 +0000
b93e1111fa2003-03-14 Michael Chastain <mec@shout.net>
Michael Chastain
2003-03-14 18:59:59 +0000
2a940c1a22* libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello with internal (_fpos_t and _off_t) datatypes when compiling newlib. * libc/include/sys/unistd.h: Declare _lseek using _off_t. * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t. * libc/stdio/fseeko.c (fseeko): Ditto. * libc/stdio/ftello.c (ftello): Ditto. * libc/stdio/stdio.c (__swrite): Ditto. (__sseek): Ditto. * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/fsetpos.c (fsetpos): Ditto. * libc/stdio/ftell.c (ftell): Ditto. * libc/stdio/local.h: Declare __sseek using _off_t.
Corinna Vinschen
2003-03-14 18:39:05 +0000
2359084b5b2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2003-03-14 03:06:52 +0000
41ffdfa51e* include/cygwin/version.h: Bump DLL minor number to 23.
Christopher Faylor
2003-03-13 23:11:38 +0000
5b186cd999* autoload.cc (IsProcessorFeaturePresent): Add. * fhandler_proc.cc (format_proc_cpuinfo): Add case for 9x systems.
Corinna Vinschen
2003-03-13 22:53:16 +0000
c58555c70f* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.
Corinna Vinschen
2003-03-13 22:32:40 +0000
49a0d53c46* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock. (cygwin_rexec): Ditto.
Corinna Vinschen
2003-03-13 11:31:24 +0000
6fcd5661fe* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x. * fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.
Christopher Faylor
2003-03-13 08:18:15 +0000
19bf3bcc3e* include/mswsock.h: Correct invalid filter for _WINSOCK2_H. Thanks to Jim Barton <jmbarton@users.sf.net>.
Earnie Boyd
2003-03-12 23:36:54 +0000
0e2b01821afix typo
Christopher Faylor
2003-03-12 17:21:31 +0000
df4bf7b98cCheckin previously referred to in ChangeLog.
Christopher Faylor
2003-03-12 06:28:27 +0000
c5e1d3ea742003-03-12 Ranjit Mathew <rmathew@hotmail.com>
Danny Smith
2003-03-11 23:53:08 +0000
aa39b7f7bf* fhandler_socket.cc (fhandler_socket::dup): Don't call fhandler_base::dup() but call DuplicateHandle directly instead to have control over socket inheritence.
Corinna Vinschen
2003-03-11 16:49:58 +0000
296b2a5f17* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid warnings. Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>. * Makefile.in (bindist): Correct process. * lib/Makefile.in (install): Ditto. Thanks to Jeff Bonnggren <jbon@users.sf.net>.
Earnie Boyd
2003-03-11 14:44:58 +0000
970f752c8c* include/stdlib.h (qsort): Remove const from first parm. Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
Danny Smith
2003-03-11 03:00:50 +0000
316d65dc72* include/rasdlg.h: New file. * lib/rasdlg.def: New file. * lib/test.c: Include rasdlg.h.
Danny Smith
2003-03-10 22:45:51 +0000
b1aae492d0Switch 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.
Corinna Vinschen
2003-03-09 21:51:00 +0000
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.
Corinna Vinschen
2003-03-09 21:08:51 +0000
d580d86c80fix typo
Christopher Faylor
2003-03-09 20:54:12 +0000
659fb3ffd3* include/cygwin/version.h: Bump DLL minor number to 21.
Christopher Faylor
2003-03-09 20:50:11 +0000
a113a3c540whitespace cleanup
Christopher Faylor
2003-03-09 20:31:07 +0000
c367dfd02cDo 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.
Christopher Faylor
2003-03-09 20:10:25 +0000
90fec0fa7a* winsup.api/winsup.exp: Use -nostdinc when compiling. * Makefile.in: Specifically search compiler include directory since it is now stripped via -nostdinc.
Christopher Faylor
2003-03-09 19:46:29 +0000
bc1c4e1e64.
Christopher Faylor
2003-03-09 19:29:22 +0000
cb837d41a7* Makefile.common: Avoid double slashes in GCC_INCLUDE.
Christopher Faylor
2003-03-09 19:22:15 +0000
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.
Christopher Faylor
2003-03-09 18:10:42 +0000
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.
Christopher Faylor
2003-03-09 17:03:05 +0000
3a1d827f5c* Makefile.in: Change from using new-* to cygwin0 for temporary targets.
Christopher Faylor
2003-03-09 17:01:41 +0000
ca0e907143* include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.
Corinna Vinschen
2003-03-09 16:05:54 +0000
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.
Christopher Faylor
2003-03-09 00:10:29 +0000
35c6ce031emissed in last checkin
Christopher Faylor
2003-03-08 19:22:08 +0000
1114c3d059Revert below changes regarding _pinfo::cmdline.
Christopher Faylor
2003-03-08 17:56:13 +0000
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.
Corinna Vinschen
2003-03-08 16:44:25 +0000
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.
Christopher Faylor
2003-03-08 04:57:41 +0000
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.
Christopher Faylor
2003-03-08 03:36:39 +0000
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.
Corinna Vinschen
2003-03-07 20:41:49 +0000
a354f29e07revert erroneous entry
Christopher Faylor
2003-03-04 05:30:51 +0000
229f2bb465* Makefile.in (strace.exe): Include mingw_getopt.o in link line. * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
Christopher Faylor
2003-03-04 05:30:50 +0000
c418817ed8* fhandler.h (fhandler_tty_slave::close): Declare new function. (fhandler_tty_slave::dup): Declare new function. (fhandler_tty_slave::fixup_after_function): Declare new function. * fhandler_tty.cc (fhandler_tty_slave_open): Only increment fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::close): Define new function. Decrement fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::dup): Define new function. Increment fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::fixup_after_fork): Define new function. Increment fhandler_console::open_fhs when associated with a pty.
Christopher Faylor
2003-03-04 04:07:34 +0000
b99f1bf0312003-03-04 Heiko Gerdau <hg@technosis.de>
Danny Smith
2003-03-04 00:36:06 +0000
e11fe31b55* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment fhandler_console::open_fhs here. (fhandler_pty_slave::close): Ditto for close.
Christopher Faylor
2003-03-03 15:15:49 +0000
2b02bd3c3f2003-03-03 Christopher Faylor <cgf@redhat.com>
Danny Smith
2003-03-03 10:27:57 +0000
cffdb4b17f* lib/getopt.c: Refresh from NetBSD sources.
Christopher Faylor
2003-03-03 04:30:09 +0000
d5d2ffee38* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter if in vfork fixup stage.
Christopher Faylor
2003-03-03 03:58:10 +0000
f5eb407ed1* mingwex/getopt.c: New file, copied from cygwin srcs. * include/getopt.h: New file, copied from cygwin srcs. * include/unistd.h: Include getopt.h. * mingwex/Makefile.in ((DISTFILES): Add getopt.c. (POSIX_OBJS): Add getopt.o.
Danny Smith
2003-03-03 01:19:42 +0000
c2c6b1701a* lib/getopt.c: Nuke use of unneeded BSDisms.
Christopher Faylor
2003-03-02 22:52:18 +0000
8b19b43d00* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if LoadLibraryEx fails. * dtable.cc (dtable::dec_console_fds): Eliminate. (dtable::release): Don't treat console specially. (dtable::build_fhandler): Ditto. * dtable.h (console_fds): Eliminate. (dtable::dec_console_fds): Eliminate. (dtable::inc_console_fds): Eliminate. * fhandler.h (fhandler_console::open_fhs): New static element. * fhandler_console.cc (fhandler_console::open): Increment open_fs. (fhandler_console::close): Call FreeConsole if no more open consoles and ctty is not associated with the console. * syscalls.cc (setsid): Simplify check for when to call FreeConsole. (check_pty_fds): Eliminate definition. * winsup.h (check_pty_fds): Eliminate declaration.
Christopher Faylor
2003-03-02 18:37:17 +0000
3efc65f7df* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary was ignored.
Christopher Faylor
2003-03-02 17:29:47 +0000
4aa3feb8992003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2003-03-02 07:00:48 +0000
408e9b2fd4fix typo
Christopher Faylor
2003-03-02 06:50:27 +0000
34a50bf03fDocument new mkgroup,mkpasswd options
Joshua Daniel Franklin
2003-03-01 17:29:51 +0000
f78765dadd2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet
2003-03-01 16:38:26 +0000
5a082e9eac* fhandler_socket.cc (fhandler_socket::bind): Open and write socket file using Win32 calls.
Corinna Vinschen
2003-03-01 16:17:55 +0000
9d913f071f* fhandler_socket.cc (get_inet_addr): Open and read socket file using Win32 calls.
Corinna Vinschen
2003-03-01 15:28:24 +0000
82569d7ac6* include/olectl.h (OleLoadPictureEx) Add prototype. (OleLoadPictureFile): Ditto. (OleLoadPictureFileEx): Ditto. (OleLoadPicturePath): Ditto. (OleSavePictureFile): Ditto.
Danny Smith
2003-03-01 09:34:12 +0000
c498f2e35a* include/objbase.h (CoAddRefServerProcess): Add prototype. (CoAddReleaseServerProcess): Ditto. (CoResumeClassObjects): Ditto. (CoSuspendClassObjects): Ditto. * include/oleauto.h (V_I1): Define. Thanks to: "Timofei" <mmttmm@users.sourceforge.net>
Danny Smith
2003-03-01 07:19:36 +0000
8c061d62942003-03-01 Heiko Gerdau <hg@technosis.de>
Danny Smith
2003-03-01 06:51:51 +0000
dbc49afd52* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used. * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
Christopher Faylor
2003-03-01 03:38:19 +0000
005c3065eb* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions. * dcrt0.cc (cygwin_atexit): New function. (cygwin_exit): Ditto.
Christopher Faylor
2003-03-01 02:02:42 +0000
27b4082ae72003-02-28 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet
2003-02-28 23:52:48 +0000