Danny Smith
1a2fe82e40
* include/ddk/hidsdi.h: New file.
...
* lib/ddk/hid.def: Uncomment symbols and add stdcall suffix for
functions declared in hidsdi.h.
Thanks to: Alex J Lennon <ajlennon at organixconsulting dot com>
2005-08-12 09:16:18 +00:00
Danny Smith
b50ce80887
* lib/imm32.def (ImmDisableIME): Add stub.
...
Thanks to: "kidmin" <kidmin at users dot sourceforge dot net>
2005-08-12 09:11:40 +00:00
Christopher Faylor
1cd065837c
white space
2005-08-12 02:39:13 +00:00
Christopher Faylor
b4ec184199
fix typo
2005-08-11 17:18:18 +00:00
Christopher Faylor
205a575188
* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
...
regardless of current DTR state.
2005-08-11 17:03:18 +00:00
Christopher Faylor
b21413b304
* dcrt0.cc: Remove ld_preload declaration.
...
* winsup.h: Move ld_preload declaration here.
* fork.cc (fork_child): Call ld_preload() before returning.
2005-08-11 16:30:48 +00:00
Christopher Faylor
ff7bdd11f5
* child_info. (CURR_CHILD_INFO_MAGIC): Refresh.
...
(child_info::child_info()): New constructor.
(child_info_spawn::child_info_spawn()): Ditto.
(child_info_spawn::operator new): New operator.
(child_info_spawn::set): New function.
* spawn.cc (av()): New constructor.
(av::operator new): New operator.
(av::set): New function.
(spawn_guts): Reorganize so that classes which allocates are defined early in
the function so that it can be properly cleaned up after an efault. Set errno
to E2BIG in the event of a SEGV situation.
2005-08-11 16:13:30 +00:00
Dimitri Papadopoulos
abec0aaae9
Attempting to add include/objsafe.h again...
2005-08-11 09:04:13 +00:00
Chris Sutcliffe
8cb66eee67
* include/w32api.h: Increment version to 3.3.
...
* Makefile.in: Ditto.
2005-08-11 02:13:36 +00:00
Danny Smith
d154b707d0
* include/wctype.h (towupper, towlower): Change arg and return value
...
types to wint_t.
* include/ctype.h (towupper, towlower): Likewise.
2005-08-10 10:10:32 +00:00
Danny Smith
5ce4d1685b
* mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
...
a diagnostic, guarded by #ifdef DEBUG.
(__mingwthr_remove_key_dtor): Likewise.
2005-08-10 10:05:02 +00:00
Christopher Faylor
c9508cb4ec
* cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.
2005-08-08 19:46:48 +00:00
Christopher Faylor
d4c8f095ba
* include/sys/cdefs.h: Remove extra line.
2005-08-08 18:54:28 +00:00
Corinna Vinschen
2ab8ea6738
* security.cc (get_reg_security): New static function.
...
(get_nt_object_security): Call get_reg_security for registry keys
to circumvent problems with predefined registry keys.
2005-08-08 16:30:15 +00:00
Corinna Vinschen
af925fe4fa
* fhandler_process.cc (fhandler_process::open): Allow opening of
...
/proc/<pid>/fd for reading.
* fhandler_registry.cc (fhandler_registry::open): Ditto for registry
keys.
2005-08-08 15:33:32 +00:00
Christopher Faylor
6e8cac2638
* include/sys/cdefs.h (__CONCAT): Define.
...
* include/elf.h: New file.
* include/sys/elf32.h: Ditto.
* include/sys/elf64.h: Ditto.
* include/sys/elf_common.h: Ditto.
* include/sys/elf_generic.h: Ditto.
2005-08-08 15:00:39 +00:00
Christopher Faylor
2e82c9355f
* cygwin.sc: Use simpler method to align .cygheap.
...
* dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg,
rather than relying on objcopy to keep only the debug sections since objcopy
seems to get it wrong.
* dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.
2005-08-08 13:53:05 +00:00
Corinna Vinschen
a8b939adc7
* ftw.c: Include winsup.h.
...
* nftw.c: Ditto.
* include/ftw.h: Guard declarations appropriately.
2005-08-08 13:39:56 +00:00
Danny Smith
5b3ab258e5
* moldname.def.in (sleep, beep, seterrormode): Remove.
2005-08-08 10:22:20 +00:00
Corinna Vinschen
e6ae6cd338
* Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.
...
* cygwin.din: Export fts_children, fts_close, fts_get_clientptr,
fts_get_stream, fts_open, fts_read, fts_set, fts_set_clientptr,
ftw, nftw.
* fts.c: New file, imported from FreeBSD.
* ftw.c: Ditto.
* nftw.c: Ditto.
* include/fts.h: Ditto.
* include/ftw.h: Ditto.
* include/cygwin/version.h: Bump API minor number.
2005-08-08 09:45:42 +00:00
Christopher Faylor
6a7bea70f0
* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.
...
* cygheap.cc (cmalloc): Only emit system_printf warnings on failure if
DEBUGGING.
(crealloc): Ditto.
(ccalloc): Ditto.
* dtable.cc (build_fh_name): Treat NULL return from cnew as indicative of
EMFILE condition.
(build_fh_dev): Ditto.
(dtable::dup_worker): Handle NULL return from build_fh_pc.
(dtable::vfork_child_dup): Trust dup_worker to set errno.
* fhandler.h (fhandler_base::new): Mark as nothrow.
2005-08-08 04:06:07 +00:00
Christopher Faylor
cbda22eb63
* dllfixdbg: New perl script.
...
* configure.in: Detect objcopy, objdump, strip.
* configure: Regenerate.
* Makefile.in: Pass target objcopy/objdump to new dllfixdbg script. Remove
previous perl check.
* cygwin.sc: Add .gnu_debuglink_overlay section for eventual replacement with
.gnu_debuglink section. Revert move of cygheap to end of image.
2005-08-08 02:27:43 +00:00
Corinna Vinschen
1e0cb9ee0a
* Makefile.in: Allow previous patch to work in a 64 bit environment.
2005-08-07 09:21:09 +00:00
Christopher Faylor
45a2f09e55
revert erroneous checkin
2005-08-07 02:38:46 +00:00
Christopher Faylor
82eaabf521
* Makefile.in: Warn when end of cygheap is not on 64k boundary.
...
* cygwin.sc: Try harder to ensure that cygheap is on a 64k boundary. Move
cygheap to end of image to stop interference from unstripped debug regions.
2005-08-07 02:38:13 +00:00
Christopher Faylor
244f5a27a6
* include/endian.h: Move everything into this file and define things more like
...
linux.
* include/cygwin/types.h: Include endian.h.
* include/sys/dirent.h: Define DT_* types and conversion macros.
* pinfo.cc (pinfo::init): Remove special handling for PID_ALLPIDS and execed
code, even though it probably still isn't quite right.
2005-08-06 23:00:06 +00:00
Joshua Daniel Franklin
2041777dee
Update to switch FAQ from texinfo to DocBook.
2005-08-06 05:14:41 +00:00
Corinna Vinschen
7d7e7a21b1
* thread.cc (pthread::create(3 args)): Make bool.
...
(pthread_null::create): Ditto.
(pthread::create(4 args)): Check return of inner create rather than
calling is_good_object().
* thread.h: Ditto.
2005-08-05 16:14:41 +00:00
Corinna Vinschen
c8f07ce787
* fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0 or -1.
2005-08-05 16:11:21 +00:00
Corinna Vinschen
8cba692063
* thread.cc (pthread_cond_timedwait): Check abstime for validity
...
according to SUSv3. Rewrite timeout check and waitlength calculation
to avoid overflow problems.
2005-08-05 11:31:33 +00:00
Corinna Vinschen
bb002a4968
* mount.cc (longopts): Fix typo which disallows --options option.
2005-08-03 09:23:39 +00:00
Corinna Vinschen
723d64e667
* include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.
...
* fhandler.h (class fhandler_serial): Declare switch_modem_lines.
* fhandler_serial.cc (fhandler_serial::switch_modem_lines): New
static function to set or clear DTR and/or RTS.
(fhandler_serial::ioctl): Use switch_modem_lines for TIOCMSET
and new TIOCMBIS and TIOCMBIC.
* include/cygwin/version.h: Bump API minor number.
2005-08-02 09:17:15 +00:00
Christopher Faylor
88c5a50f9f
* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
...
after I/O.
(fhandler_base::pwrite): Ditto.
2005-07-29 17:26:10 +00:00
Christopher Faylor
ca48709996
white space
2005-07-29 17:06:57 +00:00
Christopher Faylor
7d7d09aee8
* fhandler.h (fhandler_base::pread): Declare new function.
...
(fhandler_base::pwrite): Ditto.
(fhandler_disk_file::pread): Ditto.
(fhandler_disk_file::pwrite): Ditto.
* fhandler.cc (fhandler_base::pread): Define new function.
(fhandler_base::pwrite): Ditto.
* fhandler_disk_file.cc (fhandler_base::pread): Ditto.
(fhandler_base::pwrite): Ditto.
* syscalls.cc (pread): Define new function.
(pwrite): Ditto.
* cygwin.din: Export pread, pwrite.
* include/sys/ioctl.h: Guard some _IO* declarations to avoid conflict with
socket.h.
2005-07-29 17:04:46 +00:00
Christopher Faylor
728b9af5c9
* include/sys/ioctl.h: Add some linux defines.
2005-07-29 15:26:18 +00:00
Christopher Faylor
b78b8f53ae
* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.
2005-07-29 14:33:50 +00:00
Christopher Faylor
2b3fc7325c
* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
...
thread before assigning it.
2005-07-29 14:29:33 +00:00
Christopher Faylor
40c125cf38
* pinfo.cc (pinfo::init): Sleep before retrying open_shared().
2005-07-29 14:25:28 +00:00
Christopher Faylor
f834829dee
* fork.cc (fork_parent): Fix null deref if pinfo creation fails.
2005-07-29 14:22:56 +00:00
Christopher Faylor
4fe79f1c97
* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
...
last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
2005-07-28 17:03:34 +00:00
Earnie Boyd
625302ea89
2005-07-28 Earnie Boyd <earnie@users.sf.net>
...
* include/winnt.h (SUBLANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN):
Correct their values.
Thanks to: Daniel K. O. <danielosmari at users dont sf dot net>
2005-07-28 11:09:36 +00:00
Christopher Faylor
09b490911c
* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.
2005-07-27 17:35:18 +00:00
Christopher Faylor
efc7accc9d
* gendef: Use nocr to remove \r's from input. gendef (nocr): New function.
2005-07-27 16:16:51 +00:00
Christopher Faylor
a3c024d6ea
* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
...
(fhandler_dev_clipboard::fixup_after_exec): Don't call close here. Just set
variables directly.
2005-07-27 14:33:09 +00:00
Christopher Faylor
0a911c4e6d
* include/byteswap.h: New file.
2005-07-26 00:55:42 +00:00
Christopher Faylor
c24d159222
update copyright
2005-07-26 00:38:54 +00:00
Christopher Faylor
33e7a6bb89
* include/cygwin/types.h: Define loff_t.
2005-07-25 21:46:36 +00:00
Chris Sutcliffe
2626e6d8d3
2005-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/winuser.h (HSHELL_RUDEAPPACTIVATED): Define.
2005-07-25 13:06:49 +00:00
Danny Smith
018a7ccb03
* include/wingdi.h (TT_PRIM_CSPLINE): Define.
...
Thanks to: Bob Jamison <ishmal at users dot sourceforge dot net>
2005-07-20 11:32:54 +00:00