Corinna Vinschen
9ddfe5a04a
* syscalls.cc (stat_worker): Fix conditional which still allowed
...
successful stat'ing of non-existant files.
2001-04-05 20:43:23 +00:00
Christopher Faylor
0403bb7415
* child_info.h: Bump magic number for fork/exec/spawn.
2001-04-04 14:37:45 +00:00
Corinna Vinschen
c196a1a26a
* errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.
2001-04-03 18:20:38 +00:00
Corinna Vinschen
45d061cccf
* winsup.api/mmaptest01.c: New test.
2001-04-03 08:39:21 +00:00
Christopher Faylor
c90e420d91
* cygrun.c (main): Fix compiler warning.
...
* gmon.c (_mcleanup): Ditto.
* profil.c (profile_off): Ditto.
* net.cc (find_winsock_errno): New function.
(__set_winsock_errno): Use find_winsock_errno.
(cygwin_setsockopt): Detect SO_ERROR for debugging.
(cygwin_getsockopt): Ditto. Translate error when getsockopt returns SO_ERROR.
* winsup.h: regparmize __set_winsock_errno.
* include/sys/strace.h: Document that strace functions can't use regparm.
2001-04-03 02:53:25 +00:00
Christopher Faylor
be61cf4d0c
* mount.cc (main): Use getopt_long for parsing arguments.
...
(usage): Reformat, show long and short options.
* umount.cc (main): Ditto, all of the above.
2001-04-03 02:41:54 +00:00
Christopher Faylor
c6cd25a033
* mount.cc (show_mounts): Change format string to more closely resemble UNIX
...
when displaying mount table.
2001-04-02 14:58:47 +00:00
Corinna Vinschen
0f0a7dc99d
* fhandler.cc (fhandler_disk_file::open): Avoid checking a magic
...
number of a directory.
2001-04-02 14:35:17 +00:00
Christopher Faylor
f97adf983d
* shared_info.h (mount_info): Remove mnt_ elements.
...
* thread.h (struct _winsup_t): Add mnt_ elements.
* path.cc (fillout_mntent): Use mnt_ elements from reent_winsup ().
2001-04-02 04:27:12 +00:00
Christopher Faylor
1ba3935dfb
* exceptions.cc (sigframe::call_signal_handler): Return value of
...
call_signal_handler_now.
* sigproc.h (sigframe): Use constructor.
* syscalls.cc (_read): Correct errno test prior to calling signal handler.
2001-04-02 00:18:29 +00:00
Christopher Faylor
0ef785e4ee
Fix typo.
2001-04-01 23:05:30 +00:00
Christopher Faylor
2a1743c76d
* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
...
some compilers will complain.
2001-04-01 05:38:08 +00:00
Christopher Faylor
11f3a79b64
* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to
...
avoid C++ confusion.
2001-04-01 05:24:20 +00:00
Christopher Faylor
5817ee2d09
* path.cc (fillout_mntent): Always remove drive root directories from future
...
consideration by "/cygdrive" reporting.
(cygdrive_getmnt): Avoid reporting removable drives or drives with no media
mounted.
2001-04-01 05:09:57 +00:00
Christopher Faylor
f2aeff27f0
* thread.h (struct _winsup_t): Remove obsolete elements. Add available_drives
...
element.
* path.cc (mount_info::getmntent): Report "/cygdrive" drives when mounted
drives are exhausted.
(fillout_mntent): New function.
(mount_item::getmntent): Use fillout_mntent.
(cygdrives_mntent): New function. Returns next available "/cygdrive".
(setmntent): Initialize available "/cygdrives".
* syscalls.cc: Remove some if 0'ed code.
* times.cc (timezone): Use more descriptive variable name.
2001-04-01 03:06:02 +00:00
Christopher Faylor
f611148366
* sigproc.h (class sigframe): Implement 'unregister()' method.
...
(sigframe::~sigframe): Use unregister method.
(sigframe::call_signal_handler): Declare new method.
* exceptions.cc (sigframe::call_signal_handler): New method. Unregisters
current sigframe before calling signal handler.
(setup_handler): Clear waiting threads prior to arming signal_arrived.
* syscalls.cc (_read): Change goto to loop. Recalculate sigframe inside of
loop so that constructor is called when appropriate.
* wait.cc (wait4): Ditto.
* signal.cc: Change "sig" to "signal" in debugging messages throughout.
* sigproc.cc: Ditto.
2001-04-01 00:06:17 +00:00
Christopher Faylor
ab57d14639
* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with
...
ForceCloseHandle or suffer spurious warnings.
2001-03-31 22:13:02 +00:00
Christopher Faylor
0cec322603
* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.
2001-03-31 21:24:48 +00:00
Corinna Vinschen
c796f4f1e6
Fix formatting.
2001-03-31 11:00:52 +00:00
Corinna Vinschen
70afbaae17
* fhandler.h (class fhandler_console): Add members `insert_mode'.
...
* fhandler_console.cc (fhandler_console::dup): Duplicate `insert_mode'.
(fhandler_console::fhandler_console): Initialize `insert_mode'.
fhandler_console::char_command): Add terminal capabilities
"enter insert mode" = \E[4h and "exit insert mode" = \E[4l.
Care for insert mode on terminal capability "repeat char" = \E[x;yb.
(fhandler_console::write_normal): Care for insert mode before writing
to the console.
(array keytable): Add keymapping for modified cursor and control
block keys (xterm like).
2001-03-31 09:19:32 +00:00
Christopher Faylor
12453b4590
Fix strange formatting.
2001-03-31 04:18:01 +00:00
Christopher Faylor
0ed560cb08
Fix strange formatting.
2001-03-31 03:56:58 +00:00
Earnie Boyd
0e09a700d1
* include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
...
(RT_FONT): Ditto.
(VK_KANA): New definition.
* include/basetsd.h (INT32): Ditto.
* include/windef.h (ATOM): Ditto.
(BOOL): Ditto.
(BYTE): Ditto.
* include/winbase.h (FreeResource): Ditto.
Thanks to: "Harold Hunt" <huntharo@msu.edu>
2001-03-30 13:22:17 +00:00
Corinna Vinschen
f42da31ad6
* fhandler.h (class fhandler_console): Add members `savebufsiz' and
...
`savebuf' to allow save/restore of screen.
* fhandler_console.cc (fhandler_console::dup): Duplicate savebuf.
(fhandler_console::fhandler_console): Initialize `savebufsiz' and
`savebuf'.
(fhandler_console::char_command): Add terminal capabilities
"save screen content" = \E[?47h and "restore screen content" = \E[?47l.
2001-03-30 11:10:13 +00:00
Christopher Faylor
b5eb3d0f15
* path.cc (chdir): Eat trailing whitespace on input path.
2001-03-29 00:30:39 +00:00
Christopher Faylor
1ac6d1a144
* lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be
...
defined. Wrap definitions in extern "C". Include winsup.h to assure proper
definitions.
* dcrt0.cc (dll_crt0_1): Call stdio_init after premain run so that binmode.o,
etc., will control default stdio settings.
* dtable.cc (dtable::init_std_file_from_handle): Allow __fmode to force
binmode/textmode settings. Default pipes to binmode.
2001-03-28 03:42:58 +00:00
Corinna Vinschen
37a2d97a31
* mmap.cc (mmap): Fix conditional for previous patch.
2001-03-27 09:35:39 +00:00
Christopher Faylor
90725b3297
add missing stuff.
2001-03-26 22:17:06 +00:00
Corinna Vinschen
1636a5a1e8
* mmap.cc (mmap): Outflank copy-on-write problem on 9x by
...
setting access mode to FILE_MAP_READ when read access is requested.
2001-03-26 18:17:15 +00:00
Christopher Faylor
aa73152ef7
* dlfcn.cc (check_access): Eliminate.
...
(check_path_access): Use passed in path_conv buf.
(get_full_path_of_dll): Use passed in name buf to avoid a static. Rip out most
of the path checking since LoadLibrary will do all of this automatically.
(dlopen): Set errno when appropriate (may not be compliant?).
* environ.cc (posify): Don't pass in "native" path if it seems to actually be
posix.
2001-03-26 01:16:11 +00:00
Christopher Faylor
db0421f6ec
* fhandler.h (fhandler_dev_clipboard): Extend to support writing.
...
* fhandler_clipboard.cc (fhandler_dev_clipboard::fhandler_dev_clipboard):
Initialize new fields. Open clipboard here.
(fhandler_dev_clipboard::dup): New method.
(fhandler_dev_clipboard::open): Accomodate new fields. Register clipboard
here, if appropriate.
(set_clipboard): New function. Moves buffer to clipboard.
(fhandler_dev_clipboard::write): Truly implement clipboard writing.
(fhandler_dev_clipboard::read): Reimplement to allow successive reads.
(fhandler_dev_clipboard::lseek): Truly implement seeks in clipboard.
(fhandler_dev_clipboard::close): Clear out new fields. Support sequential
reads and sequential writes. Support for binary data via a native clipboard
format.
2001-03-22 22:11:34 +00:00
Christopher Faylor
0b30bad456
* fhandler_console.cc (fhandler_console::set_default_attr): Update console
...
color attributes on tty reset.
2001-03-22 18:19:00 +00:00
Christopher Faylor
c445814840
* autoload.cc (kernel32_init): New function for kernel32 autoload
...
initialization.
(SignalObjectAndWait): Add conditional load of this function when it is
available.
2001-03-22 03:42:08 +00:00
Christopher Faylor
99a40adcd9
add new file.
2001-03-21 16:06:22 +00:00
Christopher Faylor
6b2a2aa4af
Add missing files.
2001-03-21 14:00:29 +00:00
Christopher Faylor
9a08b2c02e
* sched.cc: New file. Implement sched*.
...
* include/sched.h: New file. User land includes for sched*.
* Makefile.in: Add sched.o
* cygwin.din: Add exports for sched*.
2001-03-21 02:17:58 +00:00
Christopher Faylor
a1299ba54b
* dtable.cc: Guard against new winsock.h/winsock2.h warnings when mixing
...
winsock*.h and sys/types.h.
* fhandler_socket.cc: Ditto.
* net.cc: Ditto.
* select.cc: Ditto.
* exceptions.cc: Remove unneeded define.
2001-03-20 19:50:28 +00:00
Christopher Faylor
dac9c6045f
* include/winsock.h (_SYS_TYPES_H macro guard for int types): Remove; use only
...
_BSDTYPES_DEFINED macro now defined in newlib sys/types.h.
(SYS_TYPES_H macro guard for fd_set): Replace with_SYS_TYPES_FD_SET macro now
defined in newlib sys/types.h. Emit warning if defined.
* include/winsock2.h: Ditto.
* include/windows.h (Win32_Winsock): Replace with new macros __USE_W32_SOCKETS
and warn of deprecation.
2001-03-20 19:27:37 +00:00
DJ Delorie
eec74f4ac6
* configure: fix regeneration bug.
2001-03-20 01:26:45 +00:00
Christopher Faylor
b8c8fa1786
* exceptions.cc (interruptible): Update debugging output.
...
(setup_handler): Ensure that wait_sig loop wakes up when we punt on sending a
signal.
* poll.cc (poll): Add signal guard here.
2001-03-19 22:48:26 +00:00
Egor Duda
78ace8a7e5
* tty.h (tty::create_inuse): Add new parameter to allow non-
...
inheritable 'inuse' events.
* tty.cc (tty::create_inuse): Use new parameter.
* fhandler_tty.cc (fhandler_tty_master::init): Ditto.
* fhandler_tty.cc (fhandler_pty_master::open): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Create master_alive
event.
* tty.cc (tty_list::terminate): Close master_alive event.
* fhandler_tty.cc (fhandler_tty_common::close): Send EOF to slaves
when master side is closed.
2001-03-19 18:27:37 +00:00
Corinna Vinschen
98750a8404
* mmap.cc (map::get_list_by_fd): Avoid calling `get_namehash' when
...
file descriptor is -1.
2001-03-19 13:33:51 +00:00
Corinna Vinschen
30f326bf5e
* syscalls.cc (check_posix_perm): New static function.
...
(fpathconf): Add _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY
support.
(pathconf): Ditto.
* include/cygwin/version.h: Bump API minor number to 37.
2001-03-19 11:02:41 +00:00
Christopher Faylor
94b03f2380
Fix spacing, copyrights.
2001-03-18 21:11:25 +00:00
Christopher Faylor
51cb7ca7ac
fix spacing.
2001-03-18 20:58:18 +00:00
Egor Duda
5e8e21d938
* fhandler.h (fhandler_tty_slave): Declare new methods.
...
* select.cc (fhandler_tty_slave::select_read): New method.
* select.cc (fhandler_tty_slave::ready_for_read): Ditto.
* select.cc (verify_tty_slave): New function.
* fhandler_termios.cc (fhandler_termios::line_edit): Empty input
buffer on signal.
* fhandler_tty.cc (fhandler_tty_slave::read): Check for input data
after reading from pipe. Reset event if input pipe is empty.
* tty.h (class tty): Allow creating events with manual reset.
* tty.cc (tty::get_event): Use manual_reset flag.
* tty.cc (tty::common_init): Create input_available_event with
manual reset.
2001-03-18 18:05:01 +00:00
Christopher Faylor
ca1cea7ed3
Update copyrights.
2001-03-18 03:34:05 +00:00
Christopher Faylor
9d1373cf8a
Update copyright.
2001-03-18 03:25:30 +00:00
Christopher Faylor
00a7496150
* external.cc (fillout_pinfo): Match windows pid, as well as cygwin pid when
...
passed in pid. Don't prematurely break when searching for a pid.
* thread.h (_winsup_t): Eliminate unneeded field.
2001-03-18 02:49:29 +00:00
Christopher Faylor
ee57685985
* kill.cc (forcekill): Use dwProcessId when opening a process, not the Cygwin
...
pid.
2001-03-18 02:47:39 +00:00
Corinna Vinschen
8eb72e632c
* net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.
...
* syscalls.cc (_unlink): Ditto.
(_rename): Ditto.
2001-03-17 19:53:52 +00:00
David Starks-Browning
75c12e1f7a
British -> US spelling.
...
Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"
2001-03-17 18:50:22 +00:00
Christopher Faylor
57499703f2
* path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input is
...
"foo".
2001-03-17 17:44:53 +00:00
Corinna Vinschen
298fad4623
* net.cc (cygwin_socket): Set protocol to 0 when address family is
...
AF_UNIX to avoid WSAEPROTONOSUPPORT error.
2001-03-17 17:13:52 +00:00
Corinna Vinschen
f52488f76b
* net.cc (cygwin_socket): Pass protocol parameter to socket call.
2001-03-17 17:04:45 +00:00
David Starks-Browning
3614840015
Remove "not yet updated" caveat from entry:
...
"How is the DOS/Unix CR/LF thing handled?"
2001-03-17 16:18:01 +00:00
Christopher Faylor
b63a3f55a7
* dir.cc (readdir): Use strcasematch for consistency.
...
* path.cc (symlink_info): Eliminate known_suffix.
(path_conv::check): Always copy ext_here to end of buffer, if found.
(suffix_scan): Eliminate ext_here, add suffixes_start.
(suffix_scan::has): Eliminate an argument. Reorganize. Always return pointer
to end of input path.
(suffix_scan::next): Take a second pass through the suffix list looking for
.lnk.
(symlink_info::check): Eliminate known_suffix usage.
2001-03-17 07:09:41 +00:00
Christopher Faylor
92f4bf9725
Fix typo.
2001-03-17 05:14:16 +00:00
Christopher Faylor
db15b3e359
Accomodate all devices.
2001-03-17 05:11:20 +00:00
Christopher Faylor
5bb22c6b1d
* syscalls.cc (stat_dev): Give devices full read/write.
2001-03-17 05:06:14 +00:00
Christopher Faylor
c0c9de3c66
* thread.cc (MTinterface::CreateCond): Check for null attr pointer.
2001-03-17 04:49:13 +00:00
Christopher Faylor
ddca580f9a
* fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when a
...
signal is sent or we'll end up in an EOF/signal race.
2001-03-17 02:15:33 +00:00
Christopher Faylor
ed4c976cf2
fix spelling error.
2001-03-17 01:45:40 +00:00
Christopher Faylor
b65c6896c8
* path.cc: Translate scan states from defines to enums.
...
(suffix_scan): Rename state to nextstate for clarity.
(lnk_match): Change to allow multiple states to indicate that a .lnk has been
matched.
(suffix_scan::has): Eliminate a goto. Handle .lnk as a special case, since a
.lnk may also need to be tacked on the end of a .lnk.
(suffix_scan::next): Don't increment next state. Set it specifically.
Recognize new .lnk states.
2001-03-17 01:29:14 +00:00
Christopher Faylor
5ccbf4b699
* cygwin.din: Export the new functions.
...
* pthread.cc (pthread_cond_*): Add wrapper functions that call __pthread_cond*
functions.
* thread.cc (__pthread_cond_*): Implement the pthread_cond* functions.
* thread.h: Add new class entries and prototypes for __pthread_cond* functions.
* include/pthread.h: user land header prototypes for pthread_cond* functions
and related defines.
2001-03-17 01:14:58 +00:00
Corinna Vinschen
e212576dba
* environ.cc (parse_options): Use strtok_r instead of strtok.
...
* security.cc (convert_string_sid_to_sid): Ditto.
(aclfromtext): Ditto. Fix buffer usage.
2001-03-14 15:32:49 +00:00
Corinna Vinschen
78d2c08cd9
* path.cc (lnk_suffixes): Remove.
...
(class suffix_scan): Add `lnk_state' flag.
(suffix_scan::lnk_match): Return state of `lnk_state' now.
(suffix_scan::has): Changed behaviour if file has `.lnk' suffix.
(suffix_scan::next): Set `lnk_state' where appropriate.
(symlink_info::check): Fix a wrong `break'.
* syscalls.cc (chown_worker): Change debug statement to reflect
lchown fix.
(lchown): Call chown_worker with `PC_SYM_NOFOLLOW' instead of
`PC_SYM_IGNORE'.
2001-03-14 11:13:46 +00:00
Corinna Vinschen
1d39c83a32
* fhandler.cc (fhandler_disk_file::fstat): Add correct modes to
...
symlinks when stat'ing on FAT or FAT32 file systems.
2001-03-13 13:07:15 +00:00
Earnie Boyd
ce2924faee
* include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.
...
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
2001-03-13 12:04:57 +00:00
Egor Duda
344ce60cfb
Fix typo
2001-03-13 07:58:29 +00:00
Egor Duda
e935fcf08a
* fhandler.h (fhandler_termios::fixup_after_exec): New function.
...
* fhandler.cc (fhandler_termios::fixup_after_fork): New function.
Fixup output handle.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Output
handle is now fixed up in fhandler_termios::fixup_after_fork().
2001-03-12 21:27:42 +00:00
Egor Duda
79409dc0a2
* fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
...
after fork.
* fhandler_console.cc (fhandler_console::fhandler_console): Fixup
after fork is now enabled in the base class constructor.
2001-03-12 20:39:40 +00:00
Earnie Boyd
17bd7f5a37
* include/commctrl.h (TBSTYLE_FLAT): New definition.
...
(TB_GETBUTTONSIZE): Ditto.
(TCS_HOTTRACK): Ditto.
Thanks to: Chris Hansen <popeofpop@softhome.net>
2001-03-12 19:26:16 +00:00
Christopher Faylor
2b777e2e94
* mkvers.sh: Include config.h so that DEBUGGING is correctly defined.
2001-03-12 16:20:30 +00:00
Christopher Faylor
941fa5ad96
* spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not a
...
cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).
2001-03-12 14:49:29 +00:00
Christopher Faylor
d0909d913a
* child_info.h: Bump magic number for fork/exec/spawn.
2001-03-11 21:05:49 +00:00
Christopher Faylor
abb88b6f53
Remove obvious brain freeze problem.
2001-03-11 16:46:28 +00:00
Christopher Faylor
2116a17508
* autoload.cc (noload): Use proper method for multiline strings or newer gcc's
...
complain.
* exceptions.cc (unused_sig_wrapper): Ditto.
* fhandler.h (fhandler_base): Make get_io_handle and friends return self.
* fhandler_tty.cc (fhandler_pty_common::close_on_exec): Accomodate DEBUGGING
flag to avoid spurious warnings when inheritance is set.
2001-03-11 01:58:23 +00:00
Christopher Faylor
7cf3b655ec
* shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.
...
* exceptions.cc (setup_handler): Clarify debugging message.
* sigproc.cc (proc_subproc): Remove PROC_CHILDSTOPPED test. It is handled by
normal PROC_CLEARWAIT case.
(wait_sig): Eliminate "dispatched" tracking. Remove __SIGCHILDSTOPPED test.
Decrement counter again before jumping out of InterlockedDecrement loop so that
subsequent InterlockedIncrement will keep the counter at the correctly
decremented value and also detect when there are pending signals.
* sigproc.h: Remove __SIGCHILDSTOPPED element.
(procstuff): Remove PROC_CHILDSTOPPED element.
2001-03-10 23:37:50 +00:00
Christopher Faylor
e2f2a27ee8
* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
...
(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Also set EACCES when directory
is not writable.
2001-03-10 20:25:19 +00:00
Egor Duda
766de5ad55
* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
...
isn't declared as a constant.
2001-03-10 16:45:28 +00:00
Egor Duda
85057d174f
* config/default.exp: Remove unneeded debugging output.
...
* Makefile.in: Use correct path to find dejagnu in local tree.
2001-03-09 15:39:28 +00:00
Christopher Faylor
6ebccdc110
* syscalls.cc (_read): Change definition to return ssize_t to be consistent
...
with read.
(_write): Change definition to return ssize_t to be consistent with write.
2001-03-07 20:52:33 +00:00
Christopher Faylor
8f98585d51
Update copyright.
2001-03-07 17:45:03 +00:00
Christopher Faylor
efd76e4140
* sigproc.h (sigthread): Declare new methods. Create new winapi_lock field.
...
(sigframe:;set): Call get_winapi_lock after frame is set so that signal handler
thread knows not to call SuspendThread.
(sigframe::~sigframe): Release winapi_lock.
* exceptions.cc (sigthread::get_winapi_lock): New method.
(sigthread::release_winapi_lock): New method.
(setup_handler): Use get_winapi_lock to ensure that signalled thread is not
blocked in a Windows API.
* path.h (path_types): Avoid broken GCC warning.
2001-03-07 06:19:34 +00:00
Corinna Vinschen
bf11a54f54
* path.cc (suffix_scan::has): Change order of conditionals
...
to allow checking for .lnk suffixes even if in_suffixes is empty.
2001-03-06 13:05:56 +00:00
Corinna Vinschen
7cdc9feea1
* autoload.c (cygwin_premain0): Add missing parameter.
...
* binmode.c (cygwin_premain0): Ditto.
* textmode.c (cygwin_premain0): Ditto.
Patch contributed by Jason Tiller <jtiller@sjm.com> :
* auto_load.cc: Add "GetKeyboardLayout" entry in the list of
Win32 User32.DLL exports to provide.
* fhandler.h (class fhandler_console): Add meta_mask private
member to remember which keystroke modifiers should generate
META.
* fhandler_console.cc (fhandler_console::read): Modify code that
tests a keystroke for a META-escaped key to use the 'meta_mask'
variable.
(fhandler_console::fhandler_console): Add definition for
variable "meta_mask" used to determine if a keystroke should be
preceded by META in the client console stream. Set meta_mask
based on whether or not user's keyboard language is English -
non-English keyboards pass AltGr (right <ALT>) unmolested,
whereas English keyboards now interpret left- and right-<ALT>
as META.
2001-03-06 12:05:45 +00:00
Corinna Vinschen
a887211b00
* include/a.out.h: Add copyright hint.
...
* include/fcntl.h: Ditto.
* include/lastlog.h: Ditto.
* include/memory.h: Ditto.
* include/mntent.h: Ditto.
* include/paths.h: Ditto.
* include/poll.h: Ditto.
* include/syslog.h: Ditto.
* include/termio.h: Ditto.
* include/tzfile.h: Ditto.
* include/arpa/inet.h: Ditto.
* include/asm/byteorder.h: Ditto.
* include/asm/socket.h: Ditto.
* include/asm/types.h: Ditto.
* include/cygwin/if.h: Ditto.
* include/cygwin/mtio.h: Ditto.
* include/cygwin/rdevio.h: Ditto.
* include/cygwin/socket.h: Ditto.
* include/net/if.h: Ditto.
* include/netinet/in.h: Ditto.
* include/netinet/in_systm.h: Ditto.
* include/netinet/ip.h: Ditto.
* include/netinet/ip_icmp.h: Ditto.
* include/netinet/tcp.h: Ditto.
* include/sys/cdefs.h: Ditto.
* include/sys/cygwin.h: Ditto.
* include/sys/ioctl.h: Ditto.
* include/sys/mman.h: Ditto.
* include/sys/mount.h: Ditto.
* include/sys/mtio.h: Ditto.
* include/sys/procfs.h: Ditto.
* include/sys/resource.h: Ditto.
* include/sys/smallprint.h: Ditto.
* include/sys/socket.h: Ditto.
* include/sys/strace.h: Ditto.
* include/sys/syslog.h: Ditto.
* include/sys/sysmacros.h: Ditto.
* include/sys/termio.h: Ditto.
* include/sys/termios.h: Ditto.
* include/sys/uio.h: Ditto.
* include/sys/un.h: Ditto.
* include/sys/utsname.h: Ditto.
* include/sys/vfs.h: Ditto.
* include/sys/wait.h: Ditto.
* regexp/regerror.c: Ditto.
* regexp/regexp.h: Ditto.
* regexp/regmagic.h: Ditto.
2001-03-05 21:29:24 +00:00
Corinna Vinschen
ce63785554
* getfacl.c: Add copyright hint.
...
* setfacl.c: Ditto.
* strace.cc: Ditto.
2001-03-05 17:55:23 +00:00
Christopher Faylor
95a8465ba0
* dlopen.c (dlopen): Return NULL when name is NULL (suggested by
...
chrisiasci@aol.com ).
* cygwin.din: Add a new, internally used export - _check_for_executable.
* dcrt0.cc (dll_crt0_1): Set _check_for_executable for older binaries. Pass
user_data to premain functions.
* fhandler.cc (fhandler_disk_file::open): Only check for executable if the
linked program is intereested in the executable bit.
(fhandler_disk_file::check_execable_p): Delete.
* fhandler.h (executable_states): New enumeration of various states of
executable bit caring.
(fhandler_base::set_execable_p): New method.
* fhandler_termios.cc (fhandler_termios::line_edit): Flag when a signal has
been sent to the tty. Return -1 when this is so.
* fhandler_console.cc (fhandler_console::read): Return -1 when signal sending
character encountered.
* path.cc (path_conv::check): Record when path refers to a disk device. Move
executable extension check here.
(check_sysfile): Accomodate new EXEC path states.
(has_suffix): Remove.
(next_suffix): Remove.
(class suffix_scan): New clas.
(suffix_scan::has): New method.
(suffix_scan:next): New method.
(symlink_info::check): Use suffix_scan method to control for scanning for
suffixes.
* path.h (path_conv::exec_state): New method.
* perprocess.h: Make "C" friendly.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_S_IEXEC. Bump
CYGWIN_VERSION_API_MINOR.
* include/sys/cygwin.h: Change premain declarations.
* winsup.h: Move __cplusplus test to after builtin defines.
2001-03-05 06:28:25 +00:00
Egor Duda
306c4b6737
* fhandler.h (class fhandler_tty_common): New mutex and event to
...
syncronize input on master tty with slave tty.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Use them to
syncronize with slave.
* fhandler_tty.cc (fhandler_tty_slave::read): Use input mutex and
event to syncronize with master. Do not limit amount of data read
from master to vmin value. Interrupt on signal and return already
read data, if any.
* fhandler_tty.cc (fhandler_tty_slave::open): Handle input mutex and
event.
* fhandler_tty.cc (fhandler_tty_common::close): Ditto.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Ditto.
* fhandler_tty.cc (fhandler_tty_common::dup): Ditto.
* tty.h (tty::open_input_mutex): New function.
* tty.cc (tty::common_init): Create input mutex and event.
2001-03-04 15:34:25 +00:00
Christopher Faylor
0312ede431
*** empty log message ***
2001-03-03 03:56:34 +00:00
Corinna Vinschen
ed94def22d
* dir.cc (readdir): Fix creating path in symlink check.
2001-03-02 12:33:50 +00:00
Corinna Vinschen
75c566fc64
* cygwinenv.sgml: Add text for `winsymlinks' option.
...
* how-api.texinfo: Add text to explain new symlinks==shortcuts
and the CYGWIN setting `(no)winsymlinks'.
* how-using.texinfo: Add text that Cygwin now treats shortcuts
as symlinks.
2001-03-02 12:05:31 +00:00
Corinna Vinschen
e03f5f7338
* dir.cc (readdir): Fix shortcut==symlink condition.
...
* environ.cc: Add extern decl for `allow_winsymlinks'.
(struct parse_thing): Add entry for `[no]winsymlinks'.
* path.cc (symlink): Change to be able to create both,
symlink==shortcut and symlink==systemfile, dependent of
the setting of `allow_winsymlinks'.
* security.cc (cygwin_logon_user): Add debug output.
* shortcut.c: Add defines from path.h.
(has_exec_chars): Copy from path.h.
(check_shortcut): Check for executable file condition if not a
shortcut.
2001-03-02 11:41:09 +00:00
Christopher Faylor
903c330dbe
* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
...
started by non-cygwin parent.
2001-03-02 02:09:40 +00:00
Christopher Faylor
d80999a1c4
* select.cc (peek_console): Don't report read_ready on mouse events unless we
...
are looking for mouse events.
* fhandler.h (fhandler_console::mouse_aware): New method.
2001-03-02 01:55:21 +00:00
Earnie Boyd
4124e827f2
2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
...
* Makefile.in: (snapshot): Add target.
* lib/Makefile.in: (install-headers): Use installdir variable.
(installdir): Set value based on target-alias.
2001-03-01 20:32:34 +00:00
Corinna Vinschen
2de7601434
* uinfo.cc: Eliminate `#include <wchar.h>'.
2001-02-28 14:14:03 +00:00
Egor Duda
739db26a31
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Determine
...
drive geometry or partition size to allow seeking from the end of
raw floppy device. Don't allow positioning past the end of media or
to offsets bigger then max off_t.
2001-02-28 09:59:54 +00:00
Egor Duda
a53136cc46
* fhandler.h (class fhandler_console): Make all variables that
...
describe "state" of console to be members of fhandler_console.
default_color is now the color which is set when console recieves
reset command.
* fhandler_console.cc (fhandler_console::fhandler_console): Turn
mouse handling and raw keyboard mode off by default. Initialize
state information.
* fhandler.cc (fhandler_console::set_raw_win32_keyboard_mode): New
function.
* fhandler_console.cc (fhandler_console::set_default_attr): New
function. Reset console attributes to default values.
* fhandler_console.cc (fhandler_console::open): Reset attributes.
* fhandler_console.cc (fhandler_console::get_win32_attr): New function.
Calculate win32-style console attribute based on terminal attributes.
* fhandler_console.cc (fhandler_console::set_cursor_maybe): Use
member variable.
* fhandler_console.cc (fhandler_console::read): If in raw-win32
keyboard mode, encode win32 keyboard events in \033{x;y;z;t;u;wK
sequences.
* fhandler_console.cc (fhandler_console::dup): Copy all state
information to the dup()ed handle.
* fhandler_console.cc (fhandler_console::scroll_screen): Use current
fill-in attribute.
* fhandler_console.cc (fhandler_console::clear_screen): Ditto.
* fhandler_console.cc (fhandler_console::char_command): Check if we
saw '?' symbol by member variable. Set terminal attributes on \033[Xm
commands. \033[24m - turn off underline mode, \033[27m - turn off
reverse mode, \033[39m - restore default foreground color.
\033[49m - restore default background color. \033[2000h - turn on raw
keyboard mode, \033[2000l - turn off raw keyboard mode.
* fhandler_console.cc (fhandler_console::write): Set attribues to
default values on reset command.
2001-02-27 09:14:35 +00:00
Christopher Faylor
5b331f1ef1
* times.cc (settimeofday): Replace function stub with working code.
2001-02-26 22:36:09 +00:00
Corinna Vinschen
88429768bb
* strace.cc (strace::vprntf): Move prntf functionality to this function
...
adding an va_list interface to strace.
(strace::printf): Calls strace::vprntf now.
(strace_printf): New function providing an extern "C" interface to
trace output.
* include/sys/strace.h: Make plain C clean.
(class strace): Add `vprntf' method.
2001-02-26 09:50:24 +00:00
Corinna Vinschen
6626ebfef7
* shortcut.c: Remove #include <sys/strace.h>.
2001-02-25 23:14:52 +00:00
Corinna Vinschen
649033a811
* path.cc (symlink): Add a ".lnk" suffix regardless. Add a comment.
2001-02-25 09:34:00 +00:00
Corinna Vinschen
80ed95f2eb
* shortcut.c: Change symlink condition.
2001-02-25 09:19:35 +00:00
Christopher Faylor
c350452a41
CYGWIN32 -> CYGWIN.
2001-02-24 23:25:30 +00:00
Corinna Vinschen
675412e9d6
* mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.
...
* fhandler_mem.cc (fhandler_dev_mem::mmap): Ditto.
2001-02-23 09:49:19 +00:00
Corinna Vinschen
659b480b8a
* path.cc (symlink): Keep relative paths relative in the DOS
...
path inside of a shortcut. If that's impossible or the target
path is already absolute save an absolute path.
2001-02-22 16:26:13 +00:00
Corinna Vinschen
ff413a9894
* path.cc (symlink): Keep relative paths relative in the DOS
...
path inside of a shortcut. If that's impossible for some
reason, save an absolute path.
2001-02-22 16:14:59 +00:00
Corinna Vinschen
c5a4eacc69
* cygerrno.h: Revert previous patch.
...
* 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.
2001-02-22 14:51:16 +00:00
Corinna Vinschen
79e56091c9
* shortcut.c: New file. Provides a C interface to reading of
...
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'.
2001-02-22 12:56:36 +00:00
Corinna Vinschen
957059c831
* Makefile.common: Revert previous change.
2001-02-22 12:37:32 +00:00
Corinna Vinschen
87e6b0981f
* fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' when
...
resolving real_path.
* path.cc (symlink): Ditto for win32_topath.
2001-02-22 11:06:25 +00:00
Corinna Vinschen
fc168ded9e
Add copyright year 2001
2001-02-21 22:59:11 +00:00
Corinna Vinschen
10b06c5ee0
* Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
...
* 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.
2001-02-21 21:49:37 +00:00
Corinna Vinschen
5b2ea3a436
* Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.
2001-02-21 21:46:47 +00:00
Earnie Boyd
c7193585d3
* include/w32api.h: (_W32API_VERSION): Remove.
...
(__W32API_VERSION): Add.
(__W32API_MAJOR_VERSION): Ditto.
(__W32API_MINOR_VERSION): Ditto.
2001-02-21 21:44:59 +00:00
Earnie Boyd
0b0a9f4087
* include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.
...
(StartDoc[AW]): Use UNICODE'd LPDOCINFO[AW]
* include/winuser.h (struct tagMOUSEKEYS): Define new structure.
* include/winerror.h (NTE_*): Add CryptoAPI error codes.
2001-02-21 21:37:18 +00:00
Earnie Boyd
b701af168c
* include/mswsock.h: New file.
...
* 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.
2001-02-21 20:40:47 +00:00
Earnie Boyd
d53c723240
* include/tchar.h: (__TEXT): Remove undef.
...
(_TEXT): Ditto.
(_T): Ditto.
2001-02-21 19:33:42 +00:00
Earnie Boyd
ea9bdf67b8
* include/commctrl.h: Revert TEXT change.
...
* 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.
2001-02-21 19:31:54 +00:00
Egor Duda
0917ed5950
* sigproc.cc (getsem): Make semaphore always non-inheritable.
2001-02-21 11:40:22 +00:00
Christopher Faylor
441d7aeef1
* dcrt0.cc (locale_init): Remove.
2001-02-20 03:28:01 +00:00
Christopher Faylor
f97e7d754c
* cygwin.din: Export rand48 functions.
...
* 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.
2001-02-20 02:53:55 +00:00
Egor Duda
fc68bf34bb
* signal.cc (signal): Prohibit setting handlers for SIGKILL and SIGSTOP
...
* signal.cc (sigaction): Ditto
* syscalls.cc (_lseek): Return EINVAL on invalid input
2001-02-16 18:49:20 +00:00
Earnie Boyd
00aae5a740
* include/w32api.h: Oops forgot to cvs add this.
2001-02-15 17:28:40 +00:00
Earnie Boyd
10216d4395
* include/commctrl.h: Use _TEXT() instead of TEXT() throughout.
...
* 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.
2001-02-15 17:26:22 +00:00
Christopher Faylor
ee2c7251d0
* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when the
...
library is not found
2001-02-14 23:45:56 +00:00
Christopher Faylor
8f8e7442bb
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
...
rendition codes in \033[xx;yym control sequences
2001-02-14 22:00:09 +00:00
Corinna Vinschen
61ee24b56c
* include/shlobj.h: Add missing SLR_* flags.
2001-02-13 21:39:57 +00:00
Earnie Boyd
5a4b4ab9cc
* lib/Makefile.in: (host_alias): Add variable.
...
(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 19:45:33 +00:00
Christopher Faylor
cde0c2fbca
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
...
* pinfo.h (pinfo::remember): Return value of call to proc_subproc.
* sigproc.cc (proc_subproc): Return error if can't record pid.
2001-02-10 04:20:52 +00:00
Christopher Faylor
c41482c7ee
* syscalls.cc (mknod): Add valid parameters.
2001-02-09 17:17:34 +00:00
Corinna Vinschen
889109ab1f
* mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
...
and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.
2001-02-08 21:10:45 +00:00
Corinna Vinschen
db49d0b530
* mmap.cc (class list): Add member `hash'.
...
(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.
2001-02-08 21:02:36 +00:00
DJ Delorie
df7e8957fd
* setup2.sgml: Add docs about domain accounts.
2001-02-08 04:12:48 +00:00
Christopher Faylor
91d385fed3
* signal.cc (killpg): Correct first argument.
2001-02-07 23:48:09 +00:00
Corinna Vinschen
9182099c10
* autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
...
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 22:50:50 +00:00
Corinna Vinschen
d7ed877ba3
* syscalls.cc (stat_worker): Add a check for the special case when
...
a process creates a file using mode 000 using ntsec.
2001-02-06 14:07:02 +00:00
Corinna Vinschen
ae9b22c69b
* fhandler.cc (fhandler_base::open): Always add GENERIC_READ access
...
when opening raw disk devices.
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Implement bytewise
access.
* fhandler_raw.cc (fhandler_dev_raw::open): Always open raw disk device
binary.
(fhandler_dev_raw::raw_write): Don't drop read buffer content when
writing after read.
2001-02-05 16:10:06 +00:00
Corinna Vinschen
cada03f92f
* mmap.cc (mmap_record::fixup_map): New method to duplicate
...
the memory protection in a just forked child.
(mmap): Realign gran_len to page boundary only on anonymous
mapping before saving in the mmap_record.
(munmap): Cleanup code.
(msync): Ditto.
(fixup_mmaps_after_fork): Ditto. Call mmap_record::fixup_map now.
2001-02-05 12:36:41 +00:00
Earnie Boyd
7152ac2bb3
* include/winnt.h: (__TEXT): Add private macro.
...
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 18:10:58 +00:00
Earnie Boyd
a562294385
Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
...
* include/tchar.h: (__TEXT): Add private macro.
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 16:50:06 +00:00
Christopher Faylor
47f810920a
* cygheap.cc (creturn): Correctly calculate cygheap_max.
2001-02-02 04:32:02 +00:00
Earnie Boyd
67997034e8
* Makefile.in: Increment VERSION to 0.5
...
* include/winnt.h: Change TEXT to _TEXT throughout.
(SID_RELEASE): Define.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-01-31 22:41:22 +00:00
Earnie Boyd
4ea1be6d1f
* Makefile.in: Increment version to 0.5
...
* include/_mingw.h: Increment minor version
2001-01-31 22:17:17 +00:00
Christopher Faylor
f8da150758
* shared.cc (shared_info::initialize): Reduce size of heap.
2001-01-31 15:06:06 +00:00
Corinna Vinschen
8344351113
* include/sys/resource.h: Fix typo.
2001-01-31 12:24:24 +00:00
Corinna Vinschen
44e6d951c7
* include/sys/resources.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.
2001-01-31 12:21:23 +00:00
Christopher Faylor
4f42df7bc4
* include/cygwin/version.h: Bump version to 1.3.0.
2001-01-30 23:19:19 +00:00
Earnie Boyd
535964b7a4
* include/assert.h: (assert): Remove ; from end of definition
...
Thanks to: AJ Reins <tbisp@qwest.net>
2001-01-30 18:03:23 +00:00
Earnie Boyd
9cf3d9cbb5
* Apply Phil Krylov patches.
...
2001-01-19 Phil Krylov <phil@mail.ru>
* include/commctrl.h: (HDI_IMAGE) New definition.
(HDI_DI_SETITEM) Ditto.
(HDI_ORDER) Ditto.
(HDI_FILTER) Ditto.
(HDF_BITMAP_ON_RIGHT) Ditto.
(HDF_IMAGE) Ditto.
(HDM_SETORDERARRAY) Ditto.
(Header_SetOrderArray) Ditto.
(ICC_BAR_CLASSES) Ditto.
(struct _HD_ITEMA) Change definition.
(struct _HD_ITEMW) Ditto.
(struct tagINITCOMMONCONTROLSEX) Enclose in _WIN32_IE braces.
(InitCommonControlsEx()) Ditto.
2001-01-23 Phil Krylov <phil@mail.ru>
* include/richedit.h: Many Richedit 2.0 definitions.
2001-01-30 15:47:41 +00:00
Earnie Boyd
aaee3363f6
* include/winuser.h: (IDC_HAND) New resource identifier.
...
Thanks to: Mark Jordon <mark_jordan@ieee.org>
2001-01-30 14:59:29 +00:00
Earnie Boyd
04f79a1ca8
* include/iptypes.h: Include <sys/types.h> for time_t declaration.
...
Fix typo's.
2001-01-30 14:37:54 +00:00
Earnie Boyd
bac9524c30
* objidl.h: (GetClassID): Argument needs to be a pointer.
...
(GetUnmarshalClass): CLSID argument needs to be a pointer.
Thanks To: <bge@users.sourceforge.net>
2001-01-30 13:34:50 +00:00
Earnie Boyd
9d80174e9d
* Apply Danny Smith patch 102386
...
2000-11-15 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* lib/rasapi32.def: add symbols available in NT4 and W2k
2001-01-30 12:55:03 +00:00
Earnie Boyd
58605e60f6
* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
...
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
2001-01-30 12:44:46 +00:00
Corinna Vinschen
9928a7e108
* pinfo.cc (pinfo::init): Use INVALID_HANDLE_VALUE instead of
...
explicit cast (HANDLE) 0xffffffff.
* shared.cc (open_shared): Ditto.
2001-01-30 08:10:04 +00:00
Christopher Faylor
747e88d3f6
* fhandler_serial.cc (raw_write): Use local copy of OVERLAPPED structure
...
instead of shared structure to fix a race condition between read/write.
2001-01-30 01:52:29 +00:00
Earnie Boyd
2f3ea37bc8
* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
2001-01-29 19:05:18 +00:00
Corinna Vinschen
68ea0dc2fc
* mmap.cc (mmap): Remove obsolete check for MAP_SHARED|MAP_ANON as
...
being invalid.
2001-01-29 13:39:17 +00:00
Corinna Vinschen
f977222f70
* mmap.cc (mmap_record::find_empty): Fix loop condition.
2001-01-29 09:25:10 +00:00
Christopher Faylor
6a4878cf16
* syscalls.cc (_link): Make sure that newpath does not exist. Set errno if it
...
does.
* cygheap.cc (init_cheap): Don't specify a load address for the heap. It
doesn't work on #!*& Windows 9x.
(cygheap_init): Move GetUserName to memory_init.
* dcrt0.cc (dll_crt0_1): Call new memory_init functin, eliminate call to
heap_init.
* heap.cc (heap_init): Improve error output.
* heap.h: Correct some declarations.
* shared.cc (mount_table_init): Remove.
(memory_init): Renamed from shared_init. Reorganize to accomodate strange
Windows 9x problems with cygheap/heap interaction.
* shared_info.h: Rename shared_init to memory_init.
2001-01-29 00:46:25 +00:00
Earnie Boyd
39d871d66d
* include/wchar.h: The 2001.01.18 Change was incorrect. The functions
...
are actually C functions. These functions are resolved via the
-lmsvcp60 library and comments were placed in the header.
2001-01-28 18:06:17 +00:00
Earnie Boyd
80ac51aa47
Sun Jan 28 12:47:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
...
* Apply Danny Smith patch 102382
2000-11-15 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* lib/mswsock.def: remove leading underscores from symbol names
2001-01-28 17:49:58 +00:00
Earnie Boyd
4586200df3
*include/stdlib.h (__p__pgmptr): add prototype.
...
(__p__wpgmptr): likewise.
(_pgmptr_dll): move declaration from dos.h.
(_wpgmptr_dll): likewise.
(_pgmptr): conditional define (MSVCT/CRTDLL).
(_wpgmptr): likewise.
*include/dos.h (_base*_dll variables): declare only for CRTDLL.
(_os*_dll variables): likewise.
(_pgmptr_dll): remove declaration and associated defines to stdlib.h.
(_wpgmptr_dll): likewise.
2001-01-28 16:40:19 +00:00
Earnie Boyd
d28fea6f4e
* Apply Danny Smith patch 102446
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/sql.h (ODBCVER): change default to 0x0351.
(SQLSetScrollOptions): non-core function, move prototype to sqlext.h.
(SQLColAttributes): likewise.
(SQLBindParam): add prototype for ODBC 3.x function.
(SQLCloseCursor): likewise.
(SQLColAttribute): likewise.
(SQLCopyDesc):likewise.
(SQLEndTran): likewise.
(SQLFetchScroll): likewise.
(SQLGetConnectAttr): likewise.
(SQLGetDescField): likewise.
(SQLGetDescRec): likewise.
(SQLGetDiagField): likewise.
(SQLGetDiagRec): likewise.
(SQLGetEnvAttr): likewise.
(SQLGetStmtAttr): likewise.
(SQLSetConnectAttr): likewise.
(SQLSetDescField):likewise.
(SQLSetDescRec): likewise.
(SQLSetEnvAttr): likewise.
(SQLSetStmtAttr): likewise.
(SQLINTENGER and SQLUINTEGER): replace with SQLLEN and SQLULEN for
_WIN64 compatability;
(SQL_ACCESS_MODE): Move define to sqlext.h (used in non-core functions).
(SQL_ACTIVE_CONNECTIONS): likewise.
(SQL_ACTIVE_STATEMENTS): likewise.
(SQL_ALL_EXCEPT_LIKE): likewise.
(SQL_API_ALL_FUNCTIONS): likewise.
(SQL_API_LOADBYORDINAL): likewise.
(SQL_API_SQLBINDPARAMETER): likewise.
(SQL_API_SQLBROWSECONNECT): likewise.
(SQL_API_SQLCOLATTRIBUTES): likewise.
(SQL_API_SQLCOLUMNPRIVILEGES): likewise.
(SQL_API_SQLDESCRIBEPARAM): likewise.
(SQL_API_SQLDRIVERCONNECT): likewise.
(SQL_API_SQLDRIVERS): likewise.
(SQL_API_SQLEXTENDEDFETCH): likewise.
(SQL_API_SQLFOREIGNKEYS): likewise.
(SQL_API_SQLMORERESULTS): likewise.
(SQL_API_SQLNATIVESQL): likewise.
(SQL_API_SQLNUMPARAMS): likewise.
(SQL_API_SQLPARAMOPTIONS): likewise.
(SQL_API_SQLPRIMARYKEYS): likewise.
(SQL_API_SQLPROCEDURECOLUMNS): likewise.
(SQL_API_SQLPROCEDURES): likewise.
(SQL_API_SQLSETPOS): likewise.
(SQL_API_SQLSETSCROLLOPTIONS): likewise.
(SQL_API_SQLTABLEPRIVILEGES): likewise.
(SQL_ASYNC_ENABLE): likewise.
(SQL_ASYNC_ENABLE_DEFAULT): likewise.
(SQL_ASYNC_ENABLE_OFF): likewise.
(SQL_ASYNC_ENABLE_ON): likewise.
(SQL_ATTR_READONLY): likewise.
(SQL_ATTR_READWRITE_UNKNOWN): likewise.
(SQL_ATTR_WRITE): likewise.
(SQL_AUTOCOMMIT): likewise.
(SQL_AUTOCOMMIT_DEFAULT): likewise.
(SQL_AUTOCOMMIT_OFF): likewise.
(SQL_AUTOCOMMIT_ON): likewise.
(SQL_BEST_ROWID): likewise.
(SQL_BIGINT): likewise.
(SQL_BINARY): likewise.
(SQL_BIND_BY_COLUMN): likewise.
(SQL_BIND_TYPE): likewise.
(SQL_BIND_TYPE_DEFAULT): likewise.
(SQL_BIT): likewise.
(SQL_BOOKMARK_PERSISTENCE): likewise.
(SQL_BP_CLOSE): likewise.
(SQL_BP_DELETE): likewise.
(SQL_BP_DROP): likewise.
(SQL_BP_OTHER_HSTMT): likewise.
(SQL_BP_SCROLL): likewise.
(SQL_BP_TRANSACTION): likewise.
(SQL_BP_UPDATE): likewise.
(SQL_C_BINARY): likewise.
(SQL_C_BIT): likewise.
(SQL_C_BOOKMARK): likewise.
(SQL_C_CHAR): likewise.
(SQL_C_DATE): likewise.
(SQL_C_DEFAULT): likewise.
(SQL_C_DOUBLE): likewise.
(SQL_C_FLOAT): likewise.
(SQL_C_LONG): likewise.
(SQL_C_SHORT): likewise.
(SQL_C_SLONG): likewise.
(SQL_C_SSHORT): likewise.
(SQL_C_STINYINT): likewise.
(SQL_C_TIME): likewise.
(SQL_C_TIMESTAMP): likewise.
(SQL_C_TINYINT): likewise.
(SQL_C_ULONG): likewise.
(SQL_C_USHORT): likewise.
(SQL_C_UTINYINT): likewise.
(SQL_CB_NON_NULL): likewise.
(SQL_CB_NULL): likewise.
(SQL_CC_CLOSE): likewise.
(SQL_CC_DELETE): likewise.
(SQL_CC_PRESERVE): likewise.
(SQL_CN_ANY): likewise.
(SQL_CN_DIFFERENT): likewise.
(SQL_CN_NONE): likewise.
(SQL_COLATT_OPT_MAX): likewise.
(SQL_COLATT_OPT_MIN): likewise.
(SQL_COLUMN_ALIAS): likewise.
(SQL_COLUMN_AUTO_INCREMENT): likewise.
(SQL_COLUMN_CASE_SENSITIVE): likewise.
(SQL_COLUMN_COUNT): likewise.
(SQL_COLUMN_DISPLAY_SIZE): likewise.
(SQL_COLUMN_DRIVER_START): likewise.
(SQL_COLUMN_LABEL): likewise.
(SQL_COLUMN_LENGTH): likewise.
(SQL_COLUMN_MONEY): likewise.
(SQL_COLUMN_NAME): likewise.
(SQL_COLUMN_NULLABLE): likewise.
(SQL_COLUMN_OWNER_NAME): likewise.
(SQL_COLUMN_PRECISION): likewise.
(SQL_COLUMN_QUALIFIER_NAME): likewise.
(SQL_COLUMN_SCALE): likewise.
(SQL_COLUMN_SEARCHABLE): likewise.
(SQL_COLUMN_TABLE_NAME): likewise.
(SQL_COLUMN_TYPE): likewise.
(SQL_COLUMN_TYPE_NAME): likewise.
(SQL_COLUMN_UNSIGNED): likewise.
(SQL_COLUMN_UPDATABLE): likewise.
(SQL_CONCAT_NULL_BEHAVIOR): likewise.
(SQL_CONCUR_DEFAULT): likewise.
(SQL_CONCUR_LOCK): likewise.
(SQL_CONCUR_READ_ONLY): likewise.
(SQL_CONCUR_ROWVER): likewise.
(SQL_CONCUR_TIMESTAMP): likewise.
(SQL_CONCUR_VALUES): likewise.
(SQL_CONCURRENCY): likewise.
(SQL_CONN_OPT_MAX): likewise.
(SQL_CONN_OPT_MIN): likewise.
(SQL_CONNECT_OPT_DRVR_START): likewise.
(SQL_CONVERT_BIGINT): likewise.
(SQL_CONVERT_BINARY): likewise.
(SQL_CONVERT_BIT): likewise.
(SQL_CONVERT_CHAR): likewise.
(SQL_CONVERT_DATE): likewise.
(SQL_CONVERT_DECIMAL): likewise.
(SQL_CONVERT_DOUBLE): likewise.
(SQL_CONVERT_FLOAT): likewise.
(SQL_CONVERT_FUNCTIONS): likewise.
(SQL_CONVERT_INTEGER): likewise.
(SQL_CONVERT_LONGVARBINARY): likewise.
(SQL_CONVERT_LONGVARCHAR): likewise.
(SQL_CONVERT_NUMERIC): likewise.
(SQL_CONVERT_REAL): likewise.
(SQL_CONVERT_SMALLINT): likewise.
(SQL_CONVERT_TIME): likewise.
(SQL_CONVERT_TIMESTAMP): likewise.
(SQL_CONVERT_TINYINT): likewise.
(SQL_CONVERT_VARBINARY): likewise.
(SQL_CONVERT_VARCHAR): likewise.
(SQL_CORRELATION_NAME): likewise.
(SQL_CR_CLOSE): likewise.
(SQL_CR_DELETE): likewise.
(SQL_CR_PRESERVE): likewise.
(SQL_CUR_DEFAULT): likewise.
(SQL_CUR_USE_DRIVER): likewise.
(SQL_CUR_USE_IF_NEEDED): likewise.
(SQL_CUR_USE_ODBC): likewise.
(SQL_CURRENT_QUALIFIER): likewise.
(SQL_CURSOR_DYNAMIC): likewise.
(SQL_CURSOR_FORWARD_ONLY): likewise.
(SQL_CURSOR_KEYSET_DRIVEN): likewise.
(SQL_CURSOR_ROLLBACK_BEHAVIOR): likewise.
(SQL_CURSOR_STATIC): likewise.
(SQL_CURSOR_TYPE): likewise.
(SQL_CURSOR_TYPE_DEFAULT): likewise.
(SQL_CVT_BIGINT): likewise.
(SQL_CVT_BINARY): likewise.
(SQL_CVT_BIT): likewise.
(SQL_CVT_CHAR): likewise.
(SQL_CVT_DATE): likewise.
(SQL_CVT_DECIMAL): likewise.
(SQL_CVT_DOUBLE): likewise.
(SQL_CVT_FLOAT): likewise.
(SQL_CVT_INTEGER): likewise.
(SQL_CVT_LONGVARBINARY): likewise.
(SQL_CVT_LONGVARCHAR): likewise.
(SQL_CVT_NUMERIC): likewise.
(SQL_CVT_REAL): likewise.
(SQL_CVT_SMALLINT): likewise.
(SQL_CVT_TIME): likewise.
(SQL_CVT_TIMESTAMP): likewise.
(SQL_CVT_TINYINT): likewise.
(SQL_CVT_VARBINARY): likewise.
(SQL_CVT_VARCHAR): likewise.
(SQL_DATABASE_NAME): likewise.
(SQL_DATE): likewise.
(SQL_DRIVER_HDBC): likewise.
(SQL_DRIVER_HENV): likewise.
(SQL_DRIVER_HLIB): likewise.
(SQL_DRIVER_HSTMT): likewise.
(SQL_DRIVER_NAME): likewise.
(SQL_DRIVER_ODBC_VER): likewise.
(SQL_DRIVER_VER): likewise.
(SQL_ENSURE): likewise.
(SQL_EXPRESSIONS_IN_ORDERBY): likewise.
(SQL_EXT_API_LAST): likewise.
(SQL_EXT_API_START): likewise.
(SQL_FD_FETCH_BOOKMARK): likewise.
(SQL_FD_FETCH_PREV): likewise.
(SQL_FD_FETCH_RESUME): likewise.
(SQL_FETCH_PREV): likewise.
(SQL_FETCH_RESUME): likewise.
(SQL_FILE_NOT_SUPPORTED): likewise.
(SQL_FILE_QUALIFIER): likewise.
(SQL_FILE_TABLE): likewise.
(SQL_FILE_USAGE): likewise.
(SQL_FN_CVT_CONVERT): likewise.
(SQL_FN_NUM_ABS): likewise.
(SQL_FN_NUM_ACOS): likewise.
(SQL_FN_NUM_ASIN): likewise.
(SQL_FN_NUM_ATAN): likewise.
(SQL_FN_NUM_ATAN2): likewise.
(SQL_FN_NUM_CEILING): likewise.
(SQL_FN_NUM_COS): likewise.
(SQL_FN_NUM_COT): likewise.
(SQL_FN_NUM_DEGREES): likewise.
(SQL_FN_NUM_EXP): likewise.
(SQL_FN_NUM_FLOOR): likewise.
(SQL_FN_NUM_LOG): likewise.
(SQL_FN_NUM_LOG10): likewise.
(SQL_FN_NUM_MOD): likewise.
(SQL_FN_NUM_PI): likewise.
(SQL_FN_NUM_POWER): likewise.
(SQL_FN_NUM_RADIANS): likewise.
(SQL_FN_NUM_RAND): likewise.
(SQL_FN_NUM_ROUND): likewise.
(SQL_FN_NUM_SIGN): likewise.
(SQL_FN_NUM_SIN): likewise.
(SQL_FN_NUM_SQRT): likewise.
(SQL_FN_NUM_TAN): likewise.
(SQL_FN_NUM_TRUNCATE): likewise.
(SQL_FN_STR_ASCII): likewise.
(SQL_FN_STR_CHAR): likewise.
(SQL_FN_STR_CONCAT): likewise.
(SQL_FN_STR_DIFFERENCE): likewise.
(SQL_FN_STR_INSERT): likewise.
(SQL_FN_STR_LCASE): likewise.
(SQL_FN_STR_LEFT): likewise.
(SQL_FN_STR_LENGTH): likewise.
(SQL_FN_STR_LOCATE): likewise.
(SQL_FN_STR_LOCATE_2): likewise.
(SQL_FN_STR_LTRIM): likewise.
(SQL_FN_STR_REPEAT): likewise.
(SQL_FN_STR_REPLACE): likewise.
(SQL_FN_STR_RIGHT): likewise.
(SQL_FN_STR_RTRIM): likewise.
(SQL_FN_STR_SOUNDEX): likewise.
(SQL_FN_STR_SPACE): likewise.
(SQL_FN_STR_SUBSTRING): likewise.
(SQL_FN_STR_UCASE): likewise.
(SQL_FN_SYS_DBNAME): likewise.
(SQL_FN_SYS_IFNULL): likewise.
(SQL_FN_SYS_USERNAME): likewise.
(SQL_FN_TD_CURDATE): likewise.
(SQL_FN_TD_CURTIME): likewise.
(SQL_FN_TD_DAYNAME): likewise.
(SQL_FN_TD_DAYOFMONTH): likewise.
(SQL_FN_TD_DAYOFWEEK): likewise.
(SQL_FN_TD_DAYOFYEAR): likewise.
(SQL_FN_TD_HOUR): likewise.
(SQL_FN_TD_MINUTE): likewise.
(SQL_FN_TD_MONTH): likewise.
(SQL_FN_TD_MONTHNAME): likewise.
(SQL_FN_TD_NOW): likewise.
(SQL_FN_TD_QUARTER): likewise.
(SQL_FN_TD_SECOND): likewise.
(SQL_FN_TD_TIMESTAMPadd): likewise.
(SQL_FN_TD_TIMESTAMPDIFF): likewise.
(SQL_FN_TD_WEEK): likewise.
(SQL_FN_TD_YEAR): likewise.
(SQL_FN_TSI_DAY): likewise.
(SQL_FN_TSI_FRAC_SECOND): likewise.
(SQL_FN_TSI_HOUR): likewise.
(SQL_FN_TSI_MINUTE): likewise.
(SQL_FN_TSI_MONTH): likewise.
(SQL_FN_TSI_QUARTER): likewise.
(SQL_FN_TSI_SECOND): likewise.
(SQL_FN_TSI_WEEK): likewise.
(SQL_FN_TSI_YEAR): likewise.
(SQL_GB_GROUP_BY_CONTAINS_SELECT): likewise.
(SQL_GB_GROUP_BY_EQUALS_SELECT): likewise.
(SQL_GB_NO_RELATION): likewise.
(SQL_GB_NOT_SUPPORTED): likewise.
(SQL_GD_BLOCK): likewise.
(SQL_GD_BOUND): likewise.
(SQL_GET_BOOKMARK): likewise.
(SQL_GROUP_BY): likewise.
(SQL_INFO_DRIVER_START): likewise.
(SQL_INFO_FIRST): likewise.
(SQL_INFO_LAST): likewise.
(SQL_INTERVAL_DAY): likewise.
(SQL_INTERVAL_DAY_TO_HOUR): likewise.
(SQL_INTERVAL_DAY_TO_MINUTE): likewise.
(SQL_INTERVAL_DAY_TO_SECOND): likewise.
(SQL_INTERVAL_HOUR): likewise.
(SQL_INTERVAL_HOUR_TO_MINUTE): likewise.
(SQL_INTERVAL_HOUR_TO_SECOND): likewise.
(SQL_INTERVAL_MINUTE): likewise.
(SQL_INTERVAL_MINUTE_TO_SECOND): likewise.
(SQL_INTERVAL_MONTH): likewise.
(SQL_INTERVAL_SECOND): likewise.
(SQL_INTERVAL_YEAR): likewise.
(SQL_INTERVAL_YEAR_TO_MONTH): likewise.
(SQL_KEYSET_SIZE): likewise.
(SQL_KEYSET_SIZE_DEFAULT): likewise.
(SQL_KEYWORDS): likewise.
(SQL_LCK_EXCLUSIVE): likewise.
(SQL_LCK_NO_CHANGE): likewise.
(SQL_LCK_UNLOCK): likewise.
(SQL_LIKE_ESCAPE_CLAUSE): likewise.
(SQL_LIKE_ONLY): likewise.
(SQL_LOCK_TYPES): likewise.
(SQL_LOGIN_TIMEOUT): likewise.
(SQL_LOGIN_TIMEOUT_DEFAULT): likewise.
(SQL_LONGVARBINARY): likewise.
(SQL_LONGVARCHAR): likewise.
(SQL_MAX_BINARY_LITERAL_LEN): likewise.
(SQL_MAX_CHAR_LITERAL_LEN): likewise.
(SQL_MAX_DSN_LENGTH): likewise.
(SQL_MAX_LENGTH): likewise.
(SQL_MAX_LENGTH_DEFAULT): likewise.
(SQL_MAX_OPTION_STRING_LENGTH): likewise.
(SQL_MAX_OWNER_NAME_LEN): likewise.
(SQL_MAX_PROCEDURE_NAME_LEN): likewise.
(SQL_MAX_QUALIFIER_NAME_LEN): likewise.
(SQL_MAX_ROW_SIZE_INCLUDES_LONG): likewise.
(SQL_MAX_ROWS): likewise.
(SQL_MAX_ROWS_DEFAULT): likewise.
(SQL_MODE_DEFAULT): likewise.
(SQL_MODE_READ_ONLY): likewise.
(SQL_MODE_READ_WRITE): likewise.
(SQL_MULT_RESULT_SETS): likewise.
(SQL_MULTIPLE_ACTIVE_TXN): likewise.
(SQL_NC_END): likewise.
(SQL_NC_START): likewise.
(SQL_NEED_LONG_DATA_LEN): likewise.
(SQL_NNC_NON_NULL): likewise.
(SQL_NNC_NULL): likewise.
(SQL_NO_TOTAL): likewise.
(SQL_NON_NULLABLE_COLUMNS): likewise.
(SQL_NOSCAN): likewise.
(SQL_NOSCAN_DEFAULT): likewise.
(SQL_NOSCAN_OFF): likewise.
(SQL_NOSCAN_ON): likewise.
(SQL_NUM_EXTENSIONS): likewise.
(SQL_NUM_FUNCTIONS): likewise.
(SQL_NUMERIC_FUNCTIONS): likewise.
(SQL_OAC_LEVEL1): likewise.
(SQL_OAC_LEVEL2): likewise.
(SQL_OAC_NONE): likewise.
(SQL_ODBC_API_CONFORMANCE): likewise.
(SQL_ODBC_CURSORS): likewise.
(SQL_ODBC_KEYWORDS): likewise.
(SQL_ODBC_SAG_CLI_CONFORMANCE): likewise.
(SQL_ODBC_SQL_CONFORMANCE): likewise.
(SQL_ODBC_SQL_OPT_IEF): likewise.
(SQL_ODBC_VER): likewise.
(SQL_OPT_TRACE): likewise.
(SQL_OPT_TRACE_DEFAULT): likewise.
(SQL_OPT_TRACE_FILE_DEFAULT): likewise.
(SQL_OPT_TRACE_OFF): likewise.
(SQL_OPT_TRACE_ON): likewise.
(SQL_OPT_TRACEFILE): likewise.
(SQL_OSC_CORE): likewise.
(SQL_OSC_EXTENDED): likewise.
(SQL_OSC_MINIMUM): likewise.
(SQL_OSCC_COMPLIANT): likewise.
(SQL_OSCC_NOT_COMPLIANT): likewise.
(SQL_OU_DML_STATEMENTS): likewise.
(SQL_OU_INDEX_DEFINITION): likewise.
(SQL_OU_PRIVILEGE_DEFINITION): likewise.
(SQL_OU_PROCEDURE_INVOCATION): likewise.
(SQL_OU_TABLE_DEFINITION): likewise.
(SQL_OUTER_JOINS): likewise.
(SQL_OWNER_TERM): likewise.
(SQL_OWNER_USAGE): likewise.
(SQL_PACKET_SIZE): likewise.
(SQL_PC_NOT_PSEUDO): likewise.
(SQL_POS_add): likewise.
(SQL_POS_DELETE): likewise.
(SQL_POS_OPERATIONS): likewise.
(SQL_POS_POSITION): likewise.
(SQL_POS_REFRESH): likewise.
(SQL_POS_UPDATE): likewise.
(SQL_POSITIONED_STATEMENTS): likewise.
(SQL_PROCEDURE_TERM): likewise.
(SQL_PROCEDURES): likewise.
(SQL_PS_POSITIONED_DELETE): likewise.
(SQL_PS_POSITIONED_UPDATE): likewise.
(SQL_PS_SELECT_FOR_UPDATE): likewise.
(SQL_QL_END): likewise.
(SQL_QL_START): likewise.
(SQL_QU_DML_STATEMENTS): likewise.
(SQL_QU_INDEX_DEFINITION): likewise.
(SQL_QU_PRIVILEGE_DEFINITION): likewise.
(SQL_QU_PROCEDURE_INVOCATION): likewise.
(SQL_QU_TABLE_DEFINITION): likewise.
(SQL_QUALIFIER_LOCATION): likewise.
(SQL_QUALIFIER_NAME_SEPARATOR): likewise.
(SQL_QUALIFIER_TERM): likewise.
(SQL_QUALIFIER_USAGE): likewise.
(SQL_QUERY_TIMEOUT): likewise.
(SQL_QUERY_TIMEOUT_DEFAULT): likewise.
(SQL_QUICK): likewise.
(SQL_QUIET_MODE): likewise.
(SQL_QUOTED_IDENTIFIER_CASE): likewise.
(SQL_RD_DEFAULT): likewise.
(SQL_RD_OFF): likewise.
(SQL_RD_ON): likewise.
(SQL_RETRIEVE_DATA): likewise.
(SQL_ROW_NUMBER): likewise.
(SQL_ROW_UPDATES): likewise.
(SQL_ROWSET_SIZE): likewise.
(SQL_ROWSET_SIZE_DEFAULT): likewise.
(SQL_ROWVER): likewise.
(SQL_SC_NON_UNIQUE): likewise.
(SQL_SC_TRY_UNIQUE): likewise.
(SQL_SC_UNIQUE): likewise.
(SQL_SCCO_OPT_TIMESTAMP): likewise.
(SQL_SCROLL_DYNAMIC): likewise.
(SQL_SCROLL_FORWARD_ONLY): likewise.
(SQL_SCROLL_KEYSET_DRIVEN): likewise.
(SQL_SCROLL_OPTIONS): likewise.
(SQL_SCROLL_STATIC): likewise.
(SQL_SEARCHABLE): likewise.
(SQL_SIGNED_OFFSET): likewise.
(SQL_SIMULATE_CURSOR): likewise.
(SQL_SO_DYNAMIC): likewise.
(SQL_SO_FORWARD_ONLY): likewise.
(SQL_SO_KEYSET_DRIVEN): likewise.
(SQL_SO_MIXED): likewise.
(SQL_SO_STATIC): likewise.
(SQL_SPEC_MAJOR): likewise.
(SQL_SPEC_MINOR): likewise.
(SQL_SPEC_STRING): likewise.
(SQL_SQ_COMPARISON): likewise.
(SQL_SQ_CORRELATED_SUBQUERIES): likewise.
(SQL_SQ_EXISTS): likewise.
(SQL_SQ_IN): likewise.
(SQL_SQ_QUANTIFIED): likewise.
(SQL_SQLSTATE_SIZE): likewise.
(SQL_SS_addITIONS): likewise.
(SQL_SS_DELETIONS): likewise.
(SQL_SS_UPDATES): likewise.
(SQL_STATIC_SENSITIVITY): likewise.
(SQL_STMT_OPT_MAX): likewise.
(SQL_STMT_OPT_MIN): likewise.
(SQL_STRING_FUNCTIONS): likewise.
(SQL_SUBQUERIES): likewise.
(SQL_SYSTEM_FUNCTIONS): likewise.
(SQL_TABLE_STAT): likewise.
(SQL_TABLE_TERM): likewise.
(SQL_TIME): likewise.
(SQL_TIMEDATE_add_INTERVALS): likewise.
(SQL_TIMEDATE_DIFF_INTERVALS): likewise.
(SQL_TIMEDATE_FUNCTIONS): likewise.
(SQL_TIMESTAMP): likewise.
(SQL_TINYINT): likewise.
(SQL_TRANSLATE_DLL): likewise.
(SQL_TRANSLATE_OPTION): likewise.
(SQL_TXN_ISOLATION): likewise.
(SQL_TXN_VERSIONING): likewise.
(SQL_TYPE_DRIVER_END): likewise.
(SQL_TYPE_DRIVER_START): likewise.
(SQL_TYPE_MAX): likewise.
(SQL_TYPE_MIN): likewise.
(SQL_TYPE_NULL): likewise.
(SQL_U_UNION): likewise.
(SQL_U_UNION_ALL): likewise.
(SQL_UB_DEFAULT): likewise.
(SQL_UB_OFF): likewise.
(SQL_UB_ON): likewise.
(SQL_UNICODE): likewise.
(SQL_UNICODE_CHAR): likewise.
(SQL_UNICODE_LONGVARCHAR): likewise.
(SQL_UNICODE_VARCHAR): likewise.
(SQL_UNION): likewise.
(SQL_UNSEARCHABLE): likewise.
(SQL_UNSIGNED_OFFSET): likewise.
(SQL_USE_BOOKMARKS): likewise.
(SQL_VARBINARY): likewise.
(SQL_TRUE): add define for ODBC3.x.
(SQL_FALSE): likewise.
(SQL_AM_CONNECTION): likewise.
(SQL_AM_NONE): likewise.
(SQL_AM_STATEMENT): likewise.
(SQL_API_SQLALLOCHANDLE): likewise.
(SQL_API_SQLBINDPARAM): likewise.
(SQL_API_SQLCLOSECURSOR): likewise.
(SQL_API_SQLCOLATTRIBUTE): likewise.
(SQL_API_SQLCOPYDESC): likewise.
(SQL_API_SQLENDTRAN): likewise.
(SQL_API_SQLFETCHSCROLL): likewise.
(SQL_API_SQLFREEHANDLE): likewise.
(SQL_API_SQLGETCONNECTATTR): likewise.
(SQL_API_SQLGETDESCFIELD): likewise.
(SQL_API_SQLGETDESCREC): likewise.
(SQL_API_SQLGETDIAGFIELD): likewise.
(SQL_API_SQLGETDIAGREC): likewise.
(SQL_API_SQLGETENVATTR): likewise.
(SQL_API_SQLGETSTMTATTR): likewise.
(SQL_API_SQLSETCONNECTATTR): likewise.
(SQL_API_SQLSETDESCFIELD): likewise.
(SQL_API_SQLSETDESCREC): likewise.
(SQL_API_SQLSETENVATTR): likewise.
(SQL_API_SQLSETSTMTATTR): likewise.
(SQL_ARD_TYPE): likewise.
(SQL_AT_add_CONSTRAINT): likewise.
(SQL_ATTR_APP_PARAM_DESC): likewise.
(SQL_ATTR_APP_ROW_DESC): likewise.
(SQL_ATTR_AUTO_IPD): likewise.
(SQL_ATTR_CURSOR_SCROLLABLE): likewise.
(SQL_ATTR_CURSOR_SENSITIVITY): likewise.
(SQL_ATTR_IMP_PARAM_DESC): likewise.
(SQL_ATTR_IMP_ROW_DESC): likewise.
(SQL_ATTR_METADATA_ID): likewise.
(SQL_ATTR_OUTPUT_NTS): likewise.
(SQL_CATALOG_NAME): likewise.
(SQL_CODE_DATE): likewise.
(SQL_CODE_TIME): likewise.
(SQL_CODE_TIMESTAMP): likewise.
(SQL_COLLATION_SEQ): likewise.
(SQL_CURSOR_SENSITIVITY): likewise.
(SQL_DATE_LEN): likewise.
(SQL_DATETIME): likewise.
(SQL_DEFAULT): likewise.
(SQL_DESC_ALLOC_AUTO): likewise.
(SQL_DESC_ALLOC_TYPE): likewise.
(SQL_DESC_ALLOC_USER): likewise.
(SQL_DESC_COUNT): likewise.
(SQL_DESC_DATA_PTR): likewise.
(SQL_DESC_DATETIME_INTERVAL_CODE): likewise.
(SQL_DESC_INDICATOR_PTR): likewise.
(SQL_DESC_LENGTH): likewise.
(SQL_DESC_NAME): likewise.
(SQL_DESC_NULLABLE): likewise.
(SQL_DESC_OCTET_LENGTH): likewise.
(SQL_DESC_OCTET_LENGTH_PTR): likewise.
(SQL_DESC_PRECISION): likewise.
(SQL_DESC_SCALE): likewise.
(SQL_DESC_TYPE): likewise.
(SQL_DESC_UNNAMED): likewise.
(SQL_DESCRIBE_PARAMETER): likewise.
(SQL_DIAG_ALTER_DOMAIN): likewise.
(SQL_DIAG_ALTER_TABLE): likewise.
(SQL_DIAG_CALL): likewise.
(SQL_DIAG_CLASS_ORIGIN): likewise.
(SQL_DIAG_CONNECTION_NAME): likewise.
(SQL_DIAG_CREATE_ASSERTION): likewise.
(SQL_DIAG_CREATE_CHARACTER_SET): likewise.
(SQL_DIAG_CREATE_COLLATION): likewise.
(SQL_DIAG_CREATE_DOMAIN): likewise.
(SQL_DIAG_CREATE_INDEX): likewise.
(SQL_DIAG_CREATE_SCHEMA): likewise.
(SQL_DIAG_CREATE_TABLE): likewise.
(SQL_DIAG_CREATE_TRANSLATION): likewise.
(SQL_DIAG_CREATE_VIEW): likewise.
(SQL_DIAG_DELETE_WHERE): likewise.
(SQL_DIAG_DROP_ASSERTION): likewise.
(SQL_DIAG_DROP_CHARACTER_SET): likewise.
(SQL_DIAG_DROP_COLLATION): likewise.
(SQL_DIAG_DROP_DOMAIN): likewise.
(SQL_DIAG_DROP_INDEX): likewise.
(SQL_DIAG_DROP_SCHEMA): likewise.
(SQL_DIAG_DROP_TABLE): likewise.
(SQL_DIAG_DROP_TRANSLATION): likewise.
(SQL_DIAG_DROP_VIEW): likewise.
(SQL_DIAG_DYNAMIC_DELETE_CURSOR): likewise.
(SQL_DIAG_DYNAMIC_FUNCTION): likewise.
(SQL_DIAG_DYNAMIC_FUNCTION_CODE): likewise.
(SQL_DIAG_DYNAMIC_UPDATE_CURSOR): likewise.
(SQL_DIAG_GRANT): likewise.
(SQL_DIAG_INSERT): likewise.
(SQL_DIAG_MESSAGE_TEXT): likewise.
(SQL_DIAG_NATIVE): likewise.
(SQL_DIAG_NUMBER): likewise.
(SQL_DIAG_RETURNCODE): likewise.
(SQL_DIAG_REVOKE): likewise.
(SQL_DIAG_ROW_COUNT): likewise.
(SQL_DIAG_SELECT_CURSOR): likewise.
(SQL_DIAG_SERVER_NAME): likewise.
(SQL_DIAG_SQLSTATE): likewise.
(SQL_DIAG_SUBCLASS_ORIGIN): likewise.
(SQL_DIAG_UNKNOWN_STATEMENT): likewise.
(SQL_DIAG_UPDATE_WHERE): likewise.
(SQL_FALSE): likewise.
(SQL_FETCH_ABSOLUTE): likewise.
(SQL_FETCH_LAST): likewise.
(SQL_FETCH_PRIOR): likewise.
(SQL_FETCH_RELATIVE): likewise.
(SQL_HANDLE_DBC): likewise.
(SQL_HANDLE_DESC): likewise.
(SQL_HANDLE_ENV): likewise.
(SQL_HANDLE_STMT): likewise.
(SQL_INSENSITIVE): likewise.
(SQL_INTEGRITY): likewise.
(SQL_MAX_CATALOG_NAME_LEN): likewise.
(SQL_MAX_CONCURRENT_ACTIVITIES): likewise.
(SQL_MAX_DRIVER_CONNECTIONS): likewise.
(SQL_MAX_IDENTIFIER_LEN): likewise.
(SQL_MAX_SCHEMA_NAME_LEN): likewise.
(SQL_MAXIMUM_CATALOG_NAME_LENGTH): likewise.
(SQL_MAXIMUM_COLUMN_NAME_LENGTH): likewise.
(SQL_MAXIMUM_COLUMNS_IN_GROUP_BY): likewise.
(SQL_MAXIMUM_COLUMNS_IN_INDEX): likewise.
(SQL_MAXIMUM_COLUMNS_IN_ORDER_BY): likewise.
(SQL_MAXIMUM_COLUMNS_IN_SELECT): likewise.
(SQL_MAXIMUM_CONCURRENT_ACTIVITIES): likewise.
(SQL_MAXIMUM_CURSOR_NAME_LENGTH): likewise.
(SQL_MAXIMUM_DRIVER_CONNECTIONS): likewise.
(SQL_MAXIMUM_IDENTIFIER_LENGTH): likewise.
(SQL_MAXIMUM_INDEX_SIZE): likewise.
(SQL_MAXIMUM_ROW_SIZE): likewise.
(SQL_MAXIMUM_SCHEMA_NAME_LENGTH): likewise.
(SQL_MAXIMUM_STATEMENT_LENGTH): likewise.
(SQL_MAXIMUM_TABLES_IN_SELECT): likewise.
(SQL_MAXIMUM_USER_NAME_LENGTH): likewise.
(SQL_NAMED): likewise.
(SQL_NONSCROLLABLE): likewise.
(SQL_NTSL): likewise.
(SQL_NULL_HANDLE): likewise.
(SQL_NULL_HDESC): likewise.
(SQL_OUTER_JOIN_CAPABILITIES): likewise.
(SQL_PRED_BASIC): likewise.
(SQL_PRED_CHAR): likewise.
(SQL_PRED_NONE): likewise.
(SQL_ROW_IDENTIFIER): likewise.
(SQL_SCROLLABLE): likewise.
(SQL_SENSITIVE): likewise.
(SQL_SUCCEEDED(rc)): likewise.
(SQL_TIME_LEN): likewise.
(SQL_TIMESTAMP_LEN): likewise.
(SQL_TRANSACTION_CAPABLE): likewise.
(SQL_TRANSACTION_ISOLATION_OPTION): likewise.
(SQL_TRANSACTION_READ_COMMITTED): likewise.
(SQL_TRANSACTION_READ_UNCOMMITTED): likewise.
(SQL_TRANSACTION_REPEATABLE_READ): likewise.
(SQL_TRANSACTION_SERIALIZABLE): likewise.
(SQL_TYPE_DATE): likewise.
(SQL_TYPE_TIME): likewise.
(SQL_TYPE_TIMESTAMP): likewise.
(SQL_UNKNOWN_TYPE): likewise.
(SQL_UNNAMED): likewise.
(SQL_UNSPECIFIED): likewise.
(SQL_XOPEN_CLI_YEAR): likewise.
(SQLAllocConnect): add comment marking as deperecated.
(SQLAllocEnv): likewise.
(SQLAllocStmt): likewise.
(SQLFreeConnect): likewise.
(SQLFreeEnv): likewise.
(SQLGetConnectOption): likewise.
(SQLGetStmtOption): likewise.
* include/sqlext.h (#include <sqlucode.h>): add directive.
(SQLSetScrollOptions): non-core function, move prototype from sql.h.
(SQLColAttributes): likewise.
(SQLBulkOperations): add function prototype.
(SQLAllocHandleStd): likewise
(TraceReturn): add Trace API prototype.
(TraceVersion): likewise.
(ODBCGetTryWaitValue):likewise.
(ODBCSetTryWaitValue): likewise.
(SQL_LOCK_RECORD): correct function macro.
(SQL_REFRESH_RECORD): likewise.
(SQLINTENGER and SQLUINTEGER): replace with SQLLEN and SQLULEN for
_WIN64 compatability.
move defines for non-core functions from sql.h to sqlext.h (refer
changes for sql.h)
(SQL_ACTIVE_ENVIRONMENTS): new ODBC3.x define
(SQL_AD_ADD_CONSTRAINT_DEFERRABLE): likewise.
(SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED): likewise.
(SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
(SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE): likewise.
(SQL_AD_ADD_DOMAIN_CONSTRAINT): likewise.
(SQL_AD_ADD_DOMAIN_DEFAULT): likewise.
(SQL_AD_CONSTRAINT_NAME_DEFINITION): likewise.
(SQL_AD_DROP_DOMAIN_CONSTRAINT): likewise.
(SQL_AD_DROP_DOMAIN_DEFAULT): likewise.
(SQL_AF_ALL): likewise.
(SQL_AF_AVG): likewise.
(SQL_AF_COUNT): likewise.
(SQL_AF_DISTINCT): likewise.
(SQL_AF_MAX): likewise.
(SQL_AF_MIN): likewise.
(SQL_AF_SUM): likewise.
(SQL_AGGREGATE_FUNCTIONS): likewise.
(SQL_ALL_CATALOGS): likewise.
(SQL_ALL_SCHEMAS): likewise.
(SQL_ALL_TABLE_TYPES): likewise.
(SQL_ALTER_DOMAIN): likewise.
(SQL_AM_CONNECTION): likewise.
(SQL_AM_NONE): likewise.
(SQL_AM_STATEMENT): likewise.
(SQL_API_ODBC3_ALL_FUNCTIONS): likewise.
(SQL_API_ODBC3_ALL_FUNCTIONS_SIZE): likewise.
(SQL_API_SQLALLOCHANDLESTD): likewise.
(SQL_API_SQLBULKOPERATIONS): likewise.
(SQL_ASYNC_MODE): likewise.
(SQL_AT_ADD_COLUMN_COLLATION): likewise.
(SQL_AT_ADD_COLUMN_DEFAULT): likewise.
(SQL_AT_ADD_COLUMN_SINGLE): likewise.
(SQL_AT_ADD_TABLE_CONSTRAINT): likewise.
(SQL_AT_CONSTRAINT_DEFERRABLE): likewise.
(SQL_AT_CONSTRAINT_INITIALLY_DEFERRED): likewise.
(SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
(SQL_AT_CONSTRAINT_NAME_DEFINITION): likewise.
(SQL_AT_CONSTRAINT_NON_DEFERRABLE): likewise.
(SQL_AT_DROP_COLUMN_CASCADE): likewise.
(SQL_AT_DROP_COLUMN_DEFAULT): likewise.
(SQL_AT_DROP_COLUMN_RESTRICT): likewise.
(SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE): likewise.
(SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT): likewise.
(SQL_AT_SET_COLUMN_DEFAULT): likewise.
(SQL_ATTR_ACCESS_MODE): likewise.
(SQL_ATTR_ASYNC_ENABLE): likewise.
(SQL_ATTR_AUTOCOMMIT): likewise.
(SQL_ATTR_CONCURRENCY): likewise.
(SQL_ATTR_CONNECTION_POOLING): likewise.
(SQL_ATTR_CONNECTION_TIMEOUT): likewise.
(SQL_ATTR_CP_MATCH): likewise.
(SQL_ATTR_CURRENT_CATALOG): likewise.
(SQL_ATTR_CURSOR_TYPE): likewise.
(SQL_ATTR_DISCONNECT_BEHAVIOR): likewise.
(SQL_ATTR_ENABLE_AUTO_IPD): likewise.
(SQL_ATTR_ENLIST_IN_DTC): likewise.
(SQL_ATTR_ENLIST_IN_XA): likewise.
(SQL_ATTR_FETCH_BOOKMARK_PTR): likewise.
(SQL_ATTR_KEYSET_SIZE): likewise.
(SQL_ATTR_LOGIN_TIMEOUT): likewise.
(SQL_ATTR_MAX_LENGTH): likewise.
(SQL_ATTR_MAX_ROWS): likewise.
(SQL_ATTR_NOSCAN): likewise.
(SQL_ATTR_ODBC_CURSORS): likewise.
(SQL_ATTR_ODBC_VERSION): likewise.
(SQL_ATTR_PACKET_SIZE): likewise.
(SQL_ATTR_PARAM_BIND_OFFSET_PTR): likewise.
(SQL_ATTR_PARAM_BIND_TYPE): likewise.
(SQL_ATTR_PARAM_OPERATION_PTR): likewise.
(SQL_ATTR_PARAM_STATUS_PTR): likewise.
(SQL_ATTR_PARAMS_PROCESSED_PTR): likewise.
(SQL_ATTR_PARAMSET_SIZE): likewise.
(SQL_ATTR_QUERY_TIMEOUT): likewise.
(SQL_ATTR_QUIET_MODE): likewise.
(SQL_ATTR_RETRIEVE_DATA): likewise.
(SQL_ATTR_ROW_ARRAY_SIZE): likewise.
(SQL_ATTR_ROW_BIND_OFFSET_PTR): likewise.
(SQL_ATTR_ROW_BIND_TYPE): likewise.
(SQL_ATTR_ROW_NUMBER): likewise.
(SQL_ATTR_ROW_OPERATION_PTR): likewise.
(SQL_ATTR_ROW_STATUS_PTR): likewise.
(SQL_ATTR_ROWS_FETCHED_PTR): likewise.
(SQL_ATTR_SIMULATE_CURSOR): likewise.
(SQL_ATTR_TRACE): likewise.
(SQL_ATTR_TRACEFILE): likewise.
(SQL_ATTR_TRANSLATE_LIB): likewise.
(SQL_ATTR_TRANSLATE_OPTION): likewise.
(SQL_ATTR_TXN_ISOLATION): likewise.
(SQL_ATTR_USE_BOOKMARKS): likewise.
(SQL_BATCH_ROW_COUNT): likewise.
(SQL_BATCH_SUPPORT): likewise.
(SQL_BRC_EXPLICIT): likewise.
(SQL_BRC_PROCEDURES): likewise.
(SQL_BRC_ROLLED_UP): likewise.
(SQL_BS_ROW_COUNT_EXPLICIT): likewise.
(SQL_BS_ROW_COUNT_PROC): likewise.
(SQL_BS_SELECT_EXPLICIT): likewise.
(SQL_BS_SELECT_PROC): likewise.
(SQL_C_INTERVAL_DAY): likewise.
(SQL_C_INTERVAL_DAY_TO_HOUR): likewise.
(SQL_C_INTERVAL_DAY_TO_MINUTE): likewise.
(SQL_C_INTERVAL_DAY_TO_SECOND): likewise.
(SQL_C_INTERVAL_HOUR): likewise.
(SQL_C_INTERVAL_HOUR_TO_MINUTE): likewise.
(SQL_C_INTERVAL_HOUR_TO_SECOND): likewise.
(SQL_C_INTERVAL_MINUTE): likewise.
(SQL_C_INTERVAL_MINUTE_TO_SECOND): likewise.
(SQL_C_INTERVAL_MONTH): likewise.
(SQL_C_INTERVAL_SECOND): likewise.
(SQL_C_INTERVAL_YEAR): likewise.
(SQL_C_INTERVAL_YEAR_TO_MONTH): likewise.
(SQL_C_NUMERIC): likewise.
(SQL_C_SBIGINT): likewise.
(SQL_C_TYPE_DATE): likewise.
(SQL_C_TYPE_TIME): likewise.
(SQL_C_TYPE_TIMESTAMP): likewise.
(SQL_C_UBIGINT): likewise.
(SQL_C_VARBOOKMARK): likewise.
(SQL_CA_CONSTRAINT_DEFERRABLE): likewise.
(SQL_CA_CONSTRAINT_INITIALLY_DEFERRED): likewise.
(SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
(SQL_CA_CONSTRAINT_NON_DEFERRABLE): likewise.
(SQL_CA_CREATE_ASSERTION): likewise.
(SQL_CA1_ABSOLUTE): likewise.
(SQL_CA1_BOOKMARK): likewise.
(SQL_CA1_BULK_ADD): likewise.
(SQL_CA1_BULK_DELETE_BY_BOOKMARK): likewise.
(SQL_CA1_BULK_FETCH_BY_BOOKMARK): likewise.
(SQL_CA1_BULK_UPDATE_BY_BOOKMARK): likewise.
(SQL_CA1_LOCK_EXCLUSIVE): likewise.
(SQL_CA1_LOCK_NO_CHANGE): likewise.
(SQL_CA1_LOCK_UNLOCK): likewise.
(SQL_CA1_NEXT): likewise.
(SQL_CA1_POS_DELETE): likewise.
(SQL_CA1_POS_POSITION): likewise.
(SQL_CA1_POS_REFRESH): likewise.
(SQL_CA1_POS_UPDATE): likewise.
(SQL_CA1_POSITIONED_DELETE): likewise.
(SQL_CA1_POSITIONED_UPDATE): likewise.
(SQL_CA1_RELATIVE): likewise.
(SQL_CA1_SELECT_FOR_UPDATE): likewise.
(SQL_CA2_CRC_APPROXIMATE): likewise.
(SQL_CA2_CRC_EXACT): likewise.
(SQL_CA2_LOCK_CONCURRENCY): likewise.
(SQL_CA2_MAX_ROWS_AFFECTS_ALL): likewise.
(SQL_CA2_MAX_ROWS_CATALOG): likewise.
(SQL_CA2_MAX_ROWS_DELETE): likewise.
(SQL_CA2_MAX_ROWS_INSERT): likewise.
(SQL_CA2_MAX_ROWS_SELECT): likewise.
(SQL_CA2_MAX_ROWS_UPDATE): likewise.
(SQL_CA2_OPT_ROWVER_CONCURRENCY): likewise.
(SQL_CA2_OPT_VALUES_CONCURRENCY): likewise.
(SQL_CA2_READ_ONLY_CONCURRENCY): likewise.
(SQL_CA2_SENSITIVITY_ADDITIONS): likewise.
(SQL_CA2_SENSITIVITY_DELETIONS): likewise.
(SQL_CA2_SENSITIVITY_UPDATES): likewise.
(SQL_CA2_SIMULATE_NON_UNIQUE): likewise.
(SQL_CA2_SIMULATE_TRY_UNIQUE): likewise.
(SQL_CA2_SIMULATE_UNIQUE): likewise.
(SQL_CATALOG_LOCATION): likewise.
(SQL_CATALOG_NAME_SEPARATOR): likewise.
(SQL_CATALOG_TERM): likewise.
(SQL_CATALOG_USAGE): likewise.
(SQL_CCOL_CREATE_COLLATION): likewise.
(SQL_CCS_COLLATE_CLAUSE): likewise.
(SQL_CCS_CREATE_CHARACTER_SET): likewise.
(SQL_CCS_LIMITED_COLLATION): likewise.
(SQL_CDO_COLLATION): likewise.
(SQL_CDO_CONSTRAINT): likewise.
(SQL_CDO_CONSTRAINT_DEFERRABLE): likewise.
(SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED): likewise.
(SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
(SQL_CDO_CONSTRAINT_NAME_DEFINITION): likewise.
(SQL_CDO_CONSTRAINT_NON_DEFERRABLE): likewise.
(SQL_CDO_CREATE_DOMAIN): likewise.
(SQL_CDO_DEFAULT): likewise.
(SQL_CL_END): likewise.
(SQL_CL_START): likewise.
(SQL_COL_PRED_BASIC): likewise.
(SQL_COL_PRED_CHAR): likewise.
(SQL_COLUMN_DRIVER_START): likewise.
(SQL_COLUMN_IGNORE): likewise.
(SQL_COLUMN_NUMBER_UNKNOWN): likewise.
(SQL_CONVERT_GUID): likewise.
(SQL_CONVERT_INTERVAL_DAY_TIME): likewise.
(SQL_CONVERT_INTERVAL_YEAR_MONTH): likewise.
(SQL_CONVERT_WCHAR): likewise.
(SQL_CONVERT_WLONGVARCHAR): likewise.
(SQL_CONVERT_WVARCHAR): likewise.
(SQL_CP_DEFAULT): likewise.
(SQL_CP_MATCH_DEFAULT): likewise.
(SQL_CP_OFF): likewise.
(SQL_CP_ONE_PER_DRIVER): likewise.
(SQL_CP_ONE_PER_HENV): likewise.
(SQL_CP_RELAXED_MATCH): likewise.
(SQL_CP_STRICT_MATCH): likewise.
(SQL_CREATE_ASSERTION): likewise.
(SQL_CREATE_CHARACTER_SET): likewise.
(SQL_CREATE_COLLATION): likewise.
(SQL_CREATE_DOMAIN): likewise.
(SQL_CREATE_SCHEMA): likewise.
(SQL_CREATE_TABLE): likewise.
(SQL_CREATE_TRANSLATION): likewise.
(SQL_CREATE_VIEW): likewise.
(SQL_CS_AUTHORIZATION): likewise.
(SQL_CS_CREATE_SCHEMA): likewise.
(SQL_CS_DEFAULT_CHARACTER_SET): likewise.
(SQL_CT_COLUMN_COLLATION): likewise.
(SQL_CT_COLUMN_CONSTRAINT): likewise.
(SQL_CT_COLUMN_DEFAULT): likewise.
(SQL_CT_COMMIT_DELETE): likewise.
(SQL_CT_COMMIT_PRESERVE): likewise.
(SQL_CT_CONSTRAINT_DEFERRABLE): likewise.
(SQL_CT_CONSTRAINT_INITIALLY_DEFERRED): likewise.
(SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE): likewise.
(SQL_CT_CONSTRAINT_NAME_DEFINITION): likewise.
(SQL_CT_CONSTRAINT_NON_DEFERRABLE): likewise.
(SQL_CT_CREATE_TABLE): likewise.
(SQL_CT_GLOBAL_TEMPORARY): likewise.
(SQL_CT_LOCAL_TEMPORARY): likewise.
(SQL_CT_TABLE_CONSTRAINT): likewise.
(SQL_CTR_CREATE_TRANSLATION): likewise.
(SQL_CU_DML_STATEMENTS): likewise.
(SQL_CU_INDEX_DEFINITION): likewise.
(SQL_CU_PRIVILEGE_DEFINITION): likewise.
(SQL_CU_PROCEDURE_INVOCATION): likewise.
(SQL_CU_TABLE_DEFINITION): likewise.
(SQL_CVT_GUID): likewise.
(SQL_CVT_INTERVAL_DAY_TIME): likewise.
(SQL_CVT_INTERVAL_YEAR_MONTH): likewise.
(SQL_CVT_WCHAR): likewise.
(SQL_CVT_WLONGVARCHAR): likewise.
(SQL_CVT_WVARCHAR): likewise.
(SQL_DA_DROP_ASSERTION): likewise.
(SQL_DATETIME_LITERALS): likewise.
(SQL_DB_DEFAULT): likewise.
(SQL_DB_DISCONNECT): likewise.
(SQL_DB_RETURN_TO_POOL): likewise.
(SQL_DC_DROP_COLLATION): likewise.
(SQL_DCS_DROP_CHARACTER_SET): likewise.
(SQL_DD_CASCADE): likewise.
(SQL_DD_DROP_DOMAIN): likewise.
(SQL_DD_RESTRICT): likewise.
(SQL_DDL_INDEX): likewise.
(SQL_DELETE_BY_BOOKMARK): likewise.
(SQL_DESC_ARRAY_SIZE): likewise.
(SQL_DESC_ARRAY_STATUS_PTR): likewise.
(SQL_DESC_AUTO_UNIQUE_VALUE): likewise.
(SQL_DESC_BASE_COLUMN_NAME): likewise.
(SQL_DESC_BASE_TABLE_NAME): likewise.
(SQL_DESC_BIND_OFFSET_PTR): likewise.
(SQL_DESC_BIND_TYPE): likewise.
(SQL_DESC_CASE_SENSITIVE): likewise.
(SQL_DESC_CATALOG_NAME): likewise.
(SQL_DESC_CONCISE_TYPE): likewise.
(SQL_DESC_DATETIME_INTERVAL_PRECISION): likewise.
(SQL_DESC_DISPLAY_SIZE): likewise.
(SQL_DESC_FIXED_PREC_SCALE): likewise.
(SQL_DESC_LABEL): likewise.
(SQL_DESC_LITERAL_PREFIX): likewise.
(SQL_DESC_LITERAL_SUFFIX): likewise.
(SQL_DESC_LOCAL_TYPE_NAME): likewise.
(SQL_DESC_MAXIMUM_SCALE): likewise.
(SQL_DESC_MINIMUM_SCALE): likewise.
(SQL_DESC_NUM_PREC_RADIX): likewise.
(SQL_DESC_PARAMETER_TYPE): likewise.
(SQL_DESC_ROWS_PROCESSED_PTR): likewise.
(SQL_DESC_SCHEMA_NAME): likewise.
(SQL_DESC_SEARCHABLE): likewise.
(SQL_DESC_TABLE_NAME): likewise.
(SQL_DESC_TYPE_NAME): likewise.
(SQL_DESC_UNSIGNED): likewise.
(SQL_DESC_UPDATABLE): likewise.
(SQL_DI_CREATE_INDEX): likewise.
(SQL_DI_DROP_INDEX): likewise.
(SQL_DIAG_COLUMN_NUMBER): likewise.
(SQL_DIAG_CURSOR_ROW_COUNT): likewise.
(SQL_DIAG_ROW_NUMBER): likewise.
(SQL_DL_SQL92_DATE): likewise.
(SQL_DL_SQL92_INTERVAL_DAY): likewise.
(SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR): likewise.
(SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE): likewise.
(SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND): likewise.
(SQL_DL_SQL92_INTERVAL_HOUR): likewise.
(SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE): likewise.
(SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND): likewise.
(SQL_DL_SQL92_INTERVAL_MINUTE): likewise.
(SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND): likewise.
(SQL_DL_SQL92_INTERVAL_MONTH): likewise.
(SQL_DL_SQL92_INTERVAL_SECOND): likewise.
(SQL_DL_SQL92_INTERVAL_YEAR): likewise.
(SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH): likewise.
(SQL_DL_SQL92_TIME): likewise.
(SQL_DL_SQL92_TIMESTAMP): likewise.
(SQL_DM_VER): likewise.
(SQL_DRIVER_HDESC): likewise.
(SQL_DROP_ASSERTION): likewise.
(SQL_DROP_CHARACTER_SET): likewise.
(SQL_DROP_COLLATION): likewise.
(SQL_DROP_DOMAIN): likewise.
(SQL_DROP_SCHEMA): likewise.
(SQL_DROP_TABLE): likewise.
(SQL_DROP_TRANSLATION): likewise.
(SQL_DROP_VIEW): likewise.
(SQL_DS_CASCADE): likewise.
(SQL_DS_DROP_SCHEMA): likewise.
(SQL_DS_RESTRICT): likewise.
(SQL_DT_CASCADE): likewise.
(SQL_DT_DROP_TABLE): likewise.
(SQL_DT_RESTRICT): likewise.
(SQL_DTC_DONE): likewise.
(SQL_DTR_DROP_TRANSLATION): likewise.
(SQL_DV_CASCADE): likewise.
(SQL_DV_DROP_VIEW): likewise.
(SQL_DV_RESTRICT): likewise.
(SQL_DYNAMIC_CURSOR_ATTRIBUTES1): likewise.
(SQL_DYNAMIC_CURSOR_ATTRIBUTES2): likewise.
(SQL_EXT_API_LAST): likewise.
(SQL_EXT_API_START): likewise.
(SQL_FETCH_BY_BOOKMARK): likewise.
(SQL_FETCH_FIRST_SYSTEM): likewise.
(SQL_FETCH_FIRST_USER): likewise.
(SQL_FN_CVT_CAST): likewise.
(SQL_FN_STR_BIT_LENGTH): likewise.
(SQL_FN_STR_CHAR_LENGTH): likewise.
(SQL_FN_STR_CHARACTER_LENGTH): likewise.
(SQL_FN_STR_OCTET_LENGTH): likewise.
(SQL_FN_STR_POSITION): likewise.
(SQL_FN_TD_CURRENT_DATE): likewise.
(SQL_FN_TD_CURRENT_TIME): likewise.
(SQL_FN_TD_CURRENT_TIMESTAMP): likewise.
(SQL_FN_TD_EXTRACT): likewise.
(SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1): likewise.
(SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2): likewise.
(SQL_FUNC_EXISTS(exists,api)): likewise.
(SQL_GB_COLLATE): likewise.
(SQL_HANDLE_SENV): likewise.
(SQL_IK_ALL): likewise.
(SQL_IK_ASC): likewise.
(SQL_IK_DESC): likewise.
(SQL_IK_NONE): likewise.
(SQL_INDEX_KEYWORDS): likewise.
(SQL_INFO_DRIVER_START): likewise.
(SQL_INFO_LAST): likewise.
(SQL_INFO_SCHEMA_VIEWS): likewise.
(SQL_INITIALLY_DEFERRED): likewise.
(SQL_INITIALLY_IMMEDIATE): likewise.
(SQL_INSERT_STATEMENT): likewise.
(SQL_INTERVAL): likewise.
(SQL_IS_INSERT_LITERALS): likewise.
(SQL_IS_INSERT_SEARCHED): likewise.
(SQL_IS_INTEGER): likewise.
(SQL_IS_POINTER): likewise.
(SQL_IS_SELECT_INTO): likewise.
(SQL_IS_SMALLINT): likewise.
(SQL_IS_UINTEGER): likewise.
(SQL_IS_USMALLINT): likewise.
(SQL_ISV_ASSERTIONS): likewise.
(SQL_ISV_CHARACTER_SETS): likewise.
(SQL_ISV_CHECK_CONSTRAINTS): likewise.
(SQL_ISV_COLLATIONS): likewise.
(SQL_ISV_COLUMN_DOMAIN_USAGE): likewise.
(SQL_ISV_COLUMN_PRIVILEGES): likewise.
(SQL_ISV_COLUMNS): likewise.
(SQL_ISV_CONSTRAINT_COLUMN_USAGE): likewise.
(SQL_ISV_CONSTRAINT_TABLE_USAGE): likewise.
(SQL_ISV_DOMAIN_CONSTRAINTS): likewise.
(SQL_ISV_DOMAINS): likewise.
(SQL_ISV_KEY_COLUMN_USAGE): likewise.
(SQL_ISV_REFERENTIAL_CONSTRAINTS): likewise.
(SQL_ISV_SCHEMATA): likewise.
(SQL_ISV_SQL_LANGUAGES): likewise.
(SQL_ISV_TABLE_CONSTRAINTS): likewise.
(SQL_ISV_TABLE_PRIVILEGES): likewise.
(SQL_ISV_TABLES): likewise.
(SQL_ISV_TRANSLATIONS): likewise.
(SQL_ISV_USAGE_PRIVILEGES): likewise.
(SQL_ISV_VIEW_COLUMN_USAGE): likewise.
(SQL_ISV_VIEW_TABLE_USAGE): likewise.
(SQL_ISV_VIEWS): likewise.
(SQL_KEYSET_CURSOR_ATTRIBUTES1): likewise.
(SQL_KEYSET_CURSOR_ATTRIBUTES2): likewise.
(SQL_MAX_ASYNC_CONCURRENT_STATEMENTS): likewise.
(SQL_NO_COLUMN_NUMBER): likewise.
(SQL_NO_ROW_NUMBER): likewise.
(SQL_NOT_DEFERRABLE): likewise.
(SQL_NUM_EXTENSIONS): likewise.
(SQL_NUM_FUNCTIONS): likewise.
(SQL_ODBC_INTERFACE_CONFORMANCE): likewise.
(SQL_OIC_CORE): likewise.
(SQL_OIC_LEVEL1): likewise.
(SQL_OIC_LEVEL2): likewise.
(SQL_OV_ODBC2): likewise.
(SQL_OV_ODBC3): likewise.
(SQL_PARAM_ARRAY_ROW_COUNTS): likewise.
(SQL_PARAM_ARRAY_SELECTS): likewise.
(SQL_PARAM_BIND_BY_COLUMN): likewise.
(SQL_PARAM_BIND_TYPE_DEFAULT): likewise.
(SQL_PARAM_DIAG_UNAVAILABLE): likewise.
(SQL_PARAM_ERROR): likewise.
(SQL_PARAM_IGNORE): likewise.
(SQL_PARAM_PROCEED): likewise.
(SQL_PARAM_SUCCESS): likewise.
(SQL_PARAM_SUCCESS_WITH_INFO): likewise.
(SQL_PARAM_UNUSED): likewise.
(SQL_PARC_BATCH): likewise.
(SQL_PARC_NO_BATCH): likewise.
(SQL_PAS_BATCH): likewise.
(SQL_PAS_NO_BATCH): likewise.
(SQL_PAS_NO_SELECT): likewise.
(SQL_ROW_IGNORE): likewise.
(SQL_ROW_NUMBER_UNKNOWN): likewise.
(SQL_ROW_PROCEED): likewise.
(SQL_ROW_SUCCESS_WITH_INFO): likewise.
(SQL_SC_FIPS127_2_TRANSITIONAL): likewise.
(SQL_SC_SQL92_ENTRY): likewise.
(SQL_SC_SQL92_FULL): likewise.
(SQL_SC_SQL92_INTERMEDIATE): likewise.
(SQL_SCC_ISO92_CLI): likewise.
(SQL_SCC_XOPEN_CLI_VERSION1): likewise.
(SQL_SCHEMA_TERM): likewise.
(SQL_SCHEMA_USAGE): likewise.
(SQL_SDF_CURRENT_DATE): likewise.
(SQL_SDF_CURRENT_TIME): likewise.
(SQL_SDF_CURRENT_TIMESTAMP): likewise.
(SQL_SFKD_CASCADE): likewise.
(SQL_SFKD_NO_ACTION): likewise.
(SQL_SFKD_SET_DEFAULT): likewise.
(SQL_SFKD_SET_NULL): likewise.
(SQL_SFKU_CASCADE): likewise.
(SQL_SFKU_NO_ACTION): likewise.
(SQL_SFKU_SET_DEFAULT): likewise.
(SQL_SFKU_SET_NULL): likewise.
(SQL_SG_DELETE_TABLE): likewise.
(SQL_SG_INSERT_COLUMN): likewise.
(SQL_SG_INSERT_TABLE): likewise.
(SQL_SG_REFERENCES_COLUMN): likewise.
(SQL_SG_REFERENCES_TABLE): likewise.
(SQL_SG_SELECT_TABLE): likewise.
(SQL_SG_UPDATE_COLUMN): likewise.
(SQL_SG_UPDATE_TABLE): likewise.
(SQL_SG_USAGE_ON_CHARACTER_SET): likewise.
(SQL_SG_USAGE_ON_COLLATION): likewise.
(SQL_SG_USAGE_ON_DOMAIN): likewise.
(SQL_SG_USAGE_ON_TRANSLATION): likewise.
(SQL_SG_WITH_GRANT_OPTION): likewise.
(SQL_SNVF_BIT_LENGTH): likewise.
(SQL_SNVF_CHAR_LENGTH): likewise.
(SQL_SNVF_CHARACTER_LENGTH): likewise.
(SQL_SNVF_EXTRACT): likewise.
(SQL_SNVF_OCTET_LENGTH): likewise.
(SQL_SNVF_POSITION): likewise.
(SQL_SP_BETWEEN): likewise.
(SQL_SP_COMPARISON): likewise.
(SQL_SP_EXISTS): likewise.
(SQL_SP_IN): likewise.
(SQL_SP_ISNOTNULL): likewise.
(SQL_SP_ISNULL): likewise.
(SQL_SP_LIKE): likewise.
(SQL_SP_MATCH_FULL): likewise.
(SQL_SP_MATCH_PARTIAL): likewise.
(SQL_SP_MATCH_UNIQUE_FULL): likewise.
(SQL_SP_MATCH_UNIQUE_PARTIAL): likewise.
(SQL_SP_OVERLAPS): likewise.
(SQL_SP_QUANTIFIED_COMPARISON): likewise.
(SQL_SP_UNIQUE): likewise.
(SQL_SQL_CONFORMANCE): likewise.
(SQL_SQL92_DATETIME_FUNCTIONS): likewise.
(SQL_SQL92_FOREIGN_KEY_DELETE_RULE): likewise.
(SQL_SQL92_FOREIGN_KEY_UPDATE_RULE): likewise.
(SQL_SQL92_GRANT): likewise.
(SQL_SQL92_NUMERIC_VALUE_FUNCTIONS): likewise.
(SQL_SQL92_PREDICATES): likewise.
(SQL_SQL92_RELATIONAL_JOIN_OPERATORS): likewise.
(SQL_SQL92_REVOKE): likewise.
(SQL_SQL92_ROW_VALUE_CONSTRUCTOR): likewise.
(SQL_SQL92_STRING_FUNCTIONS): likewise.
(SQL_SQL92_VALUE_EXPRESSIONS): likewise.
(SQL_SR_CASCADE): likewise.
(SQL_SR_DELETE_TABLE): likewise.
(SQL_SR_GRANT_OPTION_FOR): likewise.
(SQL_SR_INSERT_COLUMN): likewise.
(SQL_SR_INSERT_TABLE): likewise.
(SQL_SR_REFERENCES_COLUMN): likewise.
(SQL_SR_REFERENCES_TABLE): likewise.
(SQL_SR_RESTRICT): likewise.
(SQL_SR_SELECT_TABLE): likewise.
(SQL_SR_UPDATE_COLUMN): likewise.
(SQL_SR_UPDATE_TABLE): likewise.
(SQL_SR_USAGE_ON_CHARACTER_SET): likewise.
(SQL_SR_USAGE_ON_COLLATION): likewise.
(SQL_SR_USAGE_ON_DOMAIN): likewise.
(SQL_SR_USAGE_ON_TRANSLATION): likewise.
(SQL_SRJO_CORRESPONDING_CLAUSE): likewise.
(SQL_SRJO_CROSS_JOIN): likewise.
(SQL_SRJO_EXCEPT_JOIN): likewise.
(SQL_SRJO_FULL_OUTER_JOIN): likewise.
(SQL_SRJO_INNER_JOIN): likewise.
(SQL_SRJO_INTERSECT_JOIN): likewise.
(SQL_SRJO_LEFT_OUTER_JOIN): likewise.
(SQL_SRJO_NATURAL_JOIN): likewise.
(SQL_SRJO_RIGHT_OUTER_JOIN): likewise.
(SQL_SRJO_UNION_JOIN): likewise.
(SQL_SRVC_DEFAULT): likewise.
(SQL_SRVC_NULL): likewise.
(SQL_SRVC_ROW_SUBQUERY): likewise.
(SQL_SRVC_VALUE_EXPRESSION): likewise.
(SQL_SSF_CONVERT): likewise.
(SQL_SSF_LOWER): likewise.
(SQL_SSF_SUBSTRING): likewise.
(SQL_SSF_TRANSLATE): likewise.
(SQL_SSF_TRIM_BOTH): likewise.
(SQL_SSF_TRIM_LEADING): likewise.
(SQL_SSF_TRIM_TRAILING): likewise.
(SQL_SSF_UPPER): likewise.
(SQL_STANDARD_CLI_CONFORMANCE): likewise.
(SQL_STATIC_CURSOR_ATTRIBUTES1): likewise.
(SQL_STATIC_CURSOR_ATTRIBUTES2): likewise.
(SQL_SU_DML_STATEMENTS): likewise.
(SQL_SU_INDEX_DEFINITION): likewise.
(SQL_SU_PRIVILEGE_DEFINITION): likewise.
(SQL_SU_PROCEDURE_INVOCATION): likewise.
(SQL_SU_TABLE_DEFINITION): likewise.
(SQL_SVE_CASE): likewise.
(SQL_SVE_CAST): likewise.
(SQL_SVE_COALESCE): likewise.
(SQL_SVE_NULLIF): likewise.
(SQL_UB_FIXED): likewise.
(SQL_UB_VARIABLE): likewise.
(SQL_UNION_STATEMENT): likewise.
(SQL_UPDATE_BY_BOOKMARK): likewise.
(SQL_US_UNION): likewise.
(SQL_US_UNION_ALL): likewise.
(SQL_DESC_ROWVER): likewise.
(SQL_GUID): likewise.
(SQL_C_GUID): likewise.
(ODBC_STD): likewise.
(SQLAllocHandle): likewise.
(SQLAllocEnv(p)): likewise.
(SQL_YEAR): likewise.
(SQL_MONTH): likewise.
(SQL_DAY): likewise.
(SQL_HOUR): likewise.
(SQL_MINUTE): likewise.
(SQL_SECOND): likewise.
(SQL_YEAR_TO_MONTH): likewise.
(SQL_DAY_TO_HOUR): likewise.
(SQL_DAY_TO_MINUTE): likewise.
(SQL_DAY_TO_SECOND): likewise.
(SQL_HOUR_TO_MINUTE): likewise.
(SQL_HOUR_TO_SECOND): likewise.
(SQL_MINUTE_TO_SECOND): likewise.
(SQL_ATTR_ANSI_APP): likewise.
(SQL_AA_TRUE): likewise.
(SQL_AA_FALSE): likewise.
* include/sqltypes.h (#pragma pack(push,1), #pragma pack(pop)): remove.
(struct tagSQL_YEAR_MONTH): add for ODBC3.x.
(struct tagSQL_DAY_SECOND): likewise.
(struct tagSQL_INTERVAL_STRUCT): likewise.
(struct tagSQL_NUMERIC_STRUCT): likewise.
(struct tagSQLGUID): add for 0DBC3.50.
(enum SQLINTERVAL): add for ODBC3.x.
(SQLWCHAR): add typedef.
(SQLTCHAR): add typedef, conditional on UNICODE.
(SQLLEN): add typedef for _WIN64, define for _WIN32.
(SQLULEN): likewise.
(SQLROWOFFSET): likewise.
(SQLROWCOUNT): likewise.
(SQLTRANSID): likewise.
(SQLSETPOSIROW): likewise.
(SQLHANDLE): add ODBC3.x typedef.
(SQLHDESC): likewise.
(SQLDATE): likewise.
(SQLDECIMAL): likewise.
(SQLDOUBLE): likewise.
(SQLFLOAT): likewise.
(SQLNUMERIC): likewise.
(SQLREAL): likewise.
(SQLTIME): likewise.
(SQLTIMESTAMP): likewise.
(SQLVARCHAR): likewise.
(SQLBIGINT): likewise.
(SQLUBIGINT): likewise.
(SQL_DATE_STRUCT): likewise.
(SQL_TIME_STRUCT): likewise.
(SQL_TIMESTAMP_STRUCT): likewise.
(ODBCINT64): add ODBC3.x define.
* lib/odbc32.def : regenerate.
2001-01-28 16:21:01 +00:00
Christopher Faylor
ae6c8e4fc2
* include/cygwin/version.h: Bump API version.
2001-01-28 06:26:50 +00:00
Christopher Faylor
9a089f21ea
* cygheap.cc (init_cheap): Move username initialization.
...
(cygheap_init): Here.
* shared_info.h (mount_info): Add a sys_mount_table_counter field.
(shared_info): Ditto.
* path.cc (mount_info::conv_to_win32_path): Check that our mount table is in
sync with the system mount table and reinitialize it if not.
(mount_info::add_reg_mount): Bump sys_mount_table counters if the system mount
table changes.
(mount_info::del_reg_mount): Ditto.
(mount_info::write_cygdrive_info_to_registry): Ditto.
(mount_info::remove_cygdrive_info_from_registry): Ditto.
2001-01-28 06:23:42 +00:00
Christopher Faylor
2a6fc028ba
Throughout, change 'cygwin_shared.mount' to 'mount_table'.
...
* child_info.h (child_info): Move shared_h, console_h to cygheap. Add mount_h.
* cygheap.h (init_cygheap): Add shared_h, console_h.
* cygheap.cc (init_cheap): Initialize heap at a fixed location after the shared
memory regions. Initialize cygheap->user name here.
* dcrt0.cc (dll_crt0_1): Call getpagesize () to initialize constants. Remove
cygheap_init since it is done in shared_init now.
(_dll_crt0): Initialize mount_h, remove shared_h and console_h initialization.
* fhandler_console.cc (console_shared_h): Eliminate.
(get_tty_stuff): Use cygheap->console_h rather than console_shared_h.
* heap.cc (heap_init): Use page size constant calculated earlier in
initialization.
* shared.cc: Eliminate cygwin_shared_h. Add cygwin_mount_h.
(mount_table_init): New function for initializing a user mount table.
(open_shared_file_map): Use constant for shared memory region. Initialize
cygheap and mount table here.
(open_shared): Improve debugging output.
(shared_info::initialize): Eliminate call to mount.init.
(shared_terminate): Use cygheap->shared_h. Close cygwin_mount_h.
(open_shared_file_map): Eliminate.
* shared_info.h (mount_info): Add a version field.
(shared_align_past): New macro for calculating location for shared memory
regions.
* sigproc.cc (init_child_info): Eliminate shared_h, console_h.
* spawn.cc (spawn_guts): Pass on cygwin_mount_h iff not a different user.
* syscalls.cc (system_info): New global holding system memory defaults.
(getpagesize): Use system_info.
* uinfo.cc (internal_getlogin): Only fill in user name if nonexistent.
* winsup.h: Declare system_info.
* passwd.cc (read_etc_passwd): Use cygheap->user.name () rather than retrieving
the name again.
2001-01-28 05:51:15 +00:00
Christopher Faylor
bdfeca609b
* path.cc (path_conv::check): Detect when path has symlinks.
...
(symlink_info::check): Remove debugging stuff.
(chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.
2001-01-27 15:34:38 +00:00
Christopher Faylor
0826bed5c1
Fix typos. Add some comments.
2001-01-27 03:02:15 +00:00
Christopher Faylor
206a8d884b
* exceptions.cc (sigreturn): Call any pending signals prior to resetting the
...
signal mask so that stacked signals behave correctly.
(sigdelayed): Avoid a race where a signal could end up calling an incorrect
signal handler if two signals come in close together.
2001-01-27 02:23:46 +00:00
Earnie Boyd
7646d1a111
* Apply Danny Smith patch 102275
...
2000-11-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/objbase.h: (COM_RIGHTS): Add definition.
(tagSTDMSHLFLAGS): add enumeration.
(CoInitializeEx): Add prototypes.
(CoGetStdMarshalEx): ditto.
(CoCreateInstanceEx): ditto.
(CoInitializeSecurity): ditto.
(CoGetCallContext): ditto.
(CoQueryProxyBlanket): ditto.
(CoSetProxyBlanket): ditto.
(CoCopyProxy): ditto.
(CoQueryClientBlanket): ditto.
(CoImpersonateClient): ditto.
(CoRevertToSelf): ditto.
(CoQueryAuthenticationServices): ditto.
(CoSwitchCallContext): ditto.
(CoGetInstanceFromFile): ditto.
(CoGetInstanceFromIStorage): ditto.
* include/objidl.h: (SOLE_AUTHENTICATION_SERVICE): Add structure.
(SOLE_AUTHENTICATION_INFO): ditto.
(EOLE_AUTHENTICATION_CAPABILITIES): Add enumeration.
(COLE_DEFAULT_PRINCIPAL): Add definition.
(COLE_DEFAULT_AUTHINFO): Ditto.
* include/rpcdce.h: (RPC_C_AUTHZ_DEFAULT): Add definition.
(RPC_PROTSEQ_VECTOR) Fix typo.
(RpcRaiseException): add DECLSPEC_NORETURN attribute.
* include/winbase.h: (FreeLibraryAndExitThread): add DECLSPEC_NORETURN
attribute.
2001-01-26 21:05:20 +00:00
Earnie Boyd
cd7053e78b
* include/stdint.h: New file.
2001-01-26 18:52:31 +00:00
Earnie Boyd
bfa15b05e8
* lib/msvcp60.def: New file
2001-01-26 18:39:58 +00:00
Christopher Faylor
046fcbed3b
* include/winnt.h: Add PTOKEN_USER.
2001-01-26 16:35:17 +00:00
Corinna Vinschen
174f1a392e
* mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
...
len != 0 only when performing an anonymous mapping.
2001-01-24 04:00:41 +00:00
Christopher Faylor
4c7b82500d
* path.h: Add a new constant.
...
* syscalls.cc (_read): Oscillate errno check.
2001-01-22 20:36:38 +00:00
Christopher Faylor
c65a318355
* include/cygwin/version.h: Bump API to reflect setlogmask.
2001-01-22 20:29:24 +00:00
Christopher Faylor
29c39fe3dd
* cygwin.din: Add export for setlogmask().
...
* syslog.cc (setlogmask): New function.
2001-01-22 15:55:34 +00:00
Earnie Boyd
74a3cd0a4f
* include/wchar.h: Protect prototypes only declared in the C++ STL
...
from being declared unless __cplusplus is defined.
2001-01-18 15:40:50 +00:00
Corinna Vinschen
c807d3552a
* resource.cc (setrlimit): Support RLIMIT_NOFILE.
2001-01-18 09:30:37 +00:00
Christopher Faylor
4e2a97b2ac
* syscalls.cc (setdtablesize): Call with amount to increment not total amount.
...
Return success or failure error code.
2001-01-18 04:26:04 +00:00
Christopher Faylor
a7cde2b98a
* autoload.cc (LoadDLLinitfunc): Remove debugging statement.
...
* exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to earlier
in interrupt.
((interrupt_setup): i.e., here.
(sig_handle): Don't queue multiple SIGSTOPS.
* fhandler.h (bg_check_types): Enumerate return value of bg_check for clarity.
* signal.cc (kill_pgrp): Minor cleanup.
* fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type for
function return. Don't raise signal if a signal is already queued.
* fhandler_console.cc (fhandler_console::read): Use enumerated return type for
bg_check.
* select.cc: Ditto, throughout.
* read.cc: Ditto, throughout.
* termios.cc: Ditto, throughout.
(_read): YA interrupt detect simplification.
* wait.cc (wait4): Ditto.
2001-01-17 14:57:09 +00:00
Corinna Vinschen
cb503978ab
* cygheap.cc (cygheap_user::~cygheap_user): Temporarily
...
disable free'ing memory.
2001-01-17 12:47:47 +00:00
Earnie Boyd
48e952a687
* include/sqlucode.h: Apply Danny Smith patch 102443
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 19:02:04 +00:00
Earnie Boyd
4ba2b1898c
* lib/odbccp32.def: Apply Danny Smith patch 102442
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 18:41:48 +00:00
Earnie Boyd
8a5edc3613
* include/odbcinst.h: Apply Danny Smith patch 102441
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 18:23:52 +00:00
Corinna Vinschen
9fedfd57d4
* mmap.cc (mmap): Initialize fh to avoid compiler warnings.
2001-01-16 17:02:46 +00:00
Earnie Boyd
2762a24302
* include/stdlib.h: Apply Danny Smith patch 102730
...
2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(_wgetenv) Correction to return type.
2001-01-16 16:43:00 +00:00
Earnie Boyd
49a5f0809b
* include/locale.h: Apply Danny Smith patch 101834
...
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(LC_MIN) Add definition.
(LC_MAX) ditto.
(_wsetlocale) Add prototype.
2001-01-16 14:51:03 +00:00
Christopher Faylor
9470a80c8b
* wait.cc (wait4): Rename variable for consistency. Allow restartable signal
...
behavior.
2001-01-16 02:29:47 +00:00
Corinna Vinschen
9334c89c1d
* mmap.cc (mmap): Add more parameter checking. Change error output
...
in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
2001-01-15 22:18:14 +00:00
Corinna Vinschen
c6dd43f263
* mmap.cc: include <unistd.h>. Define some bit operations for
...
the new page map.
(mmap_record): Change type of base_address_ to caddr_t.
Add map_map_ member. Add several methods to manipulate map_map_.
(mmap_record::alloc_map): New method.
(mmap_record::free_map): Ditto.
(mmap_record::find_empty): Ditto.
(mmap_record::map_map): Ditto.
(mmap_record::unmap_map): Ditto.
(list::add_record): Change return type to `mmap_record *'.
Allocate page map.
(list::match): New method.
(mmap): Partly rewritten to take care for the new page map. Add some
parameter checking.
(munmap): Ditto.
2001-01-15 19:42:33 +00:00
Corinna Vinschen
66097f06dd
* heap.cc (heap_init): Fix extern declaration of getpagesize.
...
* syscalls.cc (getpagesize): Fix another typo.
2001-01-15 12:53:30 +00:00
Corinna Vinschen
dc3651b6cd
* syscalls.cc (getpagesize): Save pagesize in global variable to
...
avoid calling GetSystemInfo too often.
* heap.cc (getpagesize): Eliminate.
(heap_init): Use getpagesize function from syscalls.cc.
2001-01-15 12:25:00 +00:00
Corinna Vinschen
4cf2c0e0cb
* sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
...
request to avoid implementing the same twice.
2001-01-15 10:58:19 +00:00
Christopher Faylor
a3ec080b35
* syscalls.cc (_read): Use more lightweight method for determining if read has
...
been interrupted by a signal.
2001-01-14 19:08:30 +00:00