Christopher Faylor
88a628163e
* newsym: Use correct prefix for generating imports.
...
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.
2003-07-06 23:24:13 +00:00
Christopher Faylor
f346ea770f
update copyright
2003-07-06 21:45:21 +00:00
H.J. Lu
62568abba2
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
...
* demangle.h: Support C++.
2003-07-06 21:44:55 +00:00
Christopher Faylor
35738f040e
* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.
2003-07-06 21:40:38 +00:00
H.J. Lu
5230d454ea
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
...
* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerated.
2003-07-06 21:38:00 +00:00
Christopher Faylor
0d043e9aac
white space
2003-07-06 20:13:48 +00:00
Christopher Faylor
b671715358
* syscalls.cc (gethostid): Set thread affinity so that results are predictable.
2003-07-06 20:08:42 +00:00
Christopher Faylor
e2723b750a
* Makefile.in: Remove .dat files when cleaning.
2003-07-06 19:25:40 +00:00
Christopher Faylor
d9a7d28a3f
* Makefile.in: Remove .d files when cleaning.
2003-07-06 19:24:31 +00:00
Corinna Vinschen
f2d3c47b14
* mmap.cc (list::match): Add parameters to return valid address and
...
length back to munmap(). Evaluate intersection between given
area and mapped area and return it, if any.
(mmap64): On regular files, don't allow mappings beginning beyond
EOF. Return with errno set to ENXIO instead.
(munmap): Rewrite SUSv3 conformant. Check if given memory area is
valid. Unmap all maps inside given memory area. Don't return error
if no mapping has been unmapped.
2003-07-05 18:59:35 +00:00
Corinna Vinschen
4b2cbaeefd
* fhandler.h (fhandler_socket::get_connect_state): New method to
...
return socket connection state.
* fhandler_socket.cc (dup): Copy socket connect state to new file
handle.
* net.cc (cygwin_rcmd): Mark file handles of sockets returned by
rcmd() as CONNECTED state.
(cygwin_rexec): Similarly for rexec().
(socketpair): Mark both ends of a new socket pair as CONNECTED.
2003-07-05 18:20:13 +00:00
Zack Weinberg
5e276f90b2
Clean up white space
2003-07-05 16:54:46 +00:00
Christopher Faylor
49806b9b06
fix typo
2003-07-04 17:37:59 +00:00
Corinna Vinschen
6694f3054e
* mmap.cc (fhandler_disk_file::mmap): Fix address test.
2003-07-04 09:06:54 +00:00
Christopher Faylor
baf77a53b0
* mount.cc (struct opt): Remove posix option.
2003-07-04 03:20:22 +00:00
Christopher Faylor
08604f02bc
* mount.cc (longopts): Add long "options" keyword.
...
(opts): Add -o option.
(usage): Display -o option.
(struct opt): New.
(concat3): New function.
(main): Handle -o flag.
2003-07-04 03:11:18 +00:00
Christopher Faylor
d108f312f9
* path.cc (fillout_mntent): Change "posix" to "managed".
2003-07-04 03:08:26 +00:00
Christopher Faylor
3f21478315
* fhandler.h (FH_ENC): New enum.
...
(fhandler_base::get_encoded): New function.
(fhandler_base::set_encoded): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set encoded flag in
fhandler, as appropriate.
(fhandler_disk_file::readdir): Unmunge filename as appropriate based on new
encoding flag.
* path.cc (normalize_posix_path): Don't punt on files with colons.
(special_char): New function.
(mount_item::fnmunge): Ditto.
(fnunmunge): Ditto.
(special_name): Ditto.
(mount_item::build_win32): Avoid drive considerations when file is encoded.
(mount_info::conv_to_win32_path): Handle encoded filenames.
(mount_info::conv_to_posix_path): Ditto.
(fillout_mntent): Add posix string when directory is encoded.
* path.h (fnunmunge): Declare.
(path_conv::is_encoded): Declare.
2003-07-04 03:07:01 +00:00
Christopher Faylor
8f856553c0
ntsec patch
2003-07-04 01:58:24 +00:00
Christopher Faylor
3d8a75bdbe
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
...
the cygserver stuff so that ttys actually work.
2003-07-03 21:22:17 +00:00
Corinna Vinschen
6556178009
* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
...
If a non-zero addr is given, align it to the next lower 64K boundary.
(fhandler_disk_file::mmap): If a non-zero address is given, try
mapping using the given address first. If it fails and flags is not
MAP_FIXED, try again with NULL address.
2003-07-03 20:53:26 +00:00
Jeff Johnston
0a447ef392
2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
...
* libc/include/stdbool.h: New header file defined by C99.
2003-07-03 17:11:08 +00:00
Earnie Boyd
0def41361b
* config.guess, config.sub: Update with new versions from ftp.gnu.org.
2003-07-03 15:17:14 +00:00
Earnie Boyd
cdff6e0e16
* config.guess, config.sub: Update with versions from ftp.gnu.org.
2003-07-03 15:15:56 +00:00
Danny Smith
235f653a53
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
...
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.
2003-07-03 11:24:18 +00:00
Danny Smith
78b8a13965
* include/search.h: New file.
...
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.
2003-07-03 07:50:53 +00:00
Luke Dunstan
b1868c88bc
* include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
...
macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>.
* include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY,
MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines.
(TPM_RECURSE): Add guard for Win98/Win2K.
Thanks to Magnus Olsen <greatlord@users.sf.net>.
2003-07-03 02:19:01 +00:00
Danny Smith
e298efab0a
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
...
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2003-07-02 22:09:25 +00:00
Jeff Johnston
282eff9a6a
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/types.h (int8_t): Make signed.
2003-07-02 20:32:07 +00:00
Jeff Johnston
4e989b11f3
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2003-07-02 17:34:20 +00:00
Christopher Faylor
f3ff0ca9ed
* thread.cc: Remove _MT_SAFE conditional.
2003-07-02 03:50:05 +00:00
Christopher Faylor
9c01984ec2
* configure.in: Add --enable-server option.
...
* configure: Regenerate.
2003-07-02 03:33:01 +00:00
Christopher Faylor
6a59d15696
fix typo
2003-07-02 03:32:04 +00:00
Christopher Faylor
8fb2df196d
* configure.in: Fix --enable-server option.
2003-07-02 03:29:40 +00:00
Christopher Faylor
3872e9a419
* Makefile.in: Remove cygserver stuff.
...
* acconfig.h: Add USE_CYGSERVER define.
* config.h.in: Regenerate.
* configure.in: Add --enable-server setting.
* configure: Regenerate.
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of
cygserver stuff.
* fork.cc (fork_child): Ditto.
* shm.cc: Ditto.
* tty.cc (tty::common_init): Ditto.
* dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable
definitions.
* environ.cc: Ditto.
* ntea.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
* syscalls.cc (check_posix_perm): Remove externs that were already declared in
a header.
* winsup.h: Ditto. Declare _MT_SAFE here. Delete it someday since cygwin
should always be _MT_SAFE.
2003-07-02 03:16:00 +00:00
Christopher Faylor
4d8d80b8a7
* Makefile.in (OBJS): Move some more files from cygwin directory.
...
* woutsup.h: Define _MT_SAFE.
2003-07-02 02:31:32 +00:00
Christopher Faylor
1847a1637d
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
...
newer versions of gcc.
2003-07-02 02:30:16 +00:00
Earnie Boyd
f7ba12a587
* include/basetyps.h (small, hyper): Change to __small and __hyper to
...
avoid user namespace conflicts.
2003-07-01 23:37:00 +00:00
Earnie Boyd
acd2330e32
* include/_mingw.h (small, hyper): Change to __small and __hyper to
...
avoid user space name conflicts.
2003-07-01 23:34:36 +00:00
DJ Delorie
d1ba63e143
merge from gcc
2003-07-01 21:17:41 +00:00
Christopher Faylor
345ee543e0
first checkin
2003-07-01 21:09:39 +00:00
Christopher Faylor
c57452c817
First checkins.
2003-07-01 21:09:30 +00:00
Christopher Faylor
350c2f44b8
* configure.in: Add cygserver subdir.
...
* Makefile.in: Ditto.
* configure: Regenerate.
* Makefile.common: Remove debugging statements.
2003-07-01 20:51:03 +00:00
Martin Schwidefsky
5ed85bb96e
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
2003-07-01 14:46:57 +00:00
Martin Schwidefsky
591a16af6e
* s390.h (elf_s390_reloc_type): Add long displacement relocations
...
R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
2003-07-01 14:46:26 +00:00
Earnie Boyd
e21a622054
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
...
Rename to Small (case difference).
2003-07-01 13:55:47 +00:00
Earnie Boyd
6dbe0697a7
Change existing guards to use the above macro names as appropriate.
...
* include/basetyps.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to mingw/include/_mingw.h.
2003-07-01 13:01:41 +00:00
Earnie Boyd
fecdb8380e
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
...
Note: Also added to w32api/include/basetyps.h.
2003-07-01 12:57:53 +00:00
Earnie Boyd
b8582a99b5
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
...
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.
2003-07-01 12:01:05 +00:00
DJ Delorie
88112d1d65
merge from gcc
2003-07-01 01:12:46 +00:00