OSDN Git Service

* ntdll.h: Reorder NT status flags. Fix a case difference. Add
[pf3gnuchains/pf3gnuchains3x.git] / winsup / cygwin / ChangeLog
1 2009-01-07  Corinna Vinschen  <corinna@vinschen.de>
2
3         * ntdll.h: Reorder NT status flags.  Fix a case difference. Add
4         STATUS_CANNOT_DELETE flag.
5         * syscalls.cc (unlink_nt): Change initial NtOpenFile to request
6         FILE_SHARE_DELETE sharing mode.  Change comment accordingly.
7         If setting delete disposition failed with STATUS_CANNOT_DELETE, try
8         to delete using delete-on-close.  Explain why.
9         Rearrange setting R/O DOS attribute after trying to delete.  Simplify
10         comment.
11
12 2009-01-07  Corinna Vinschen  <corinna@vinschen.de>
13
14         * fhandler_disk_file.cc (fhandler_disk_file::link): Only add .exe if
15         original file has .exe as well.
16         * path.cc (path_conv::is_binary): Only recognize Windows 32 and 64 bit
17         apps as binaries.
18
19 2009-01-02  Christopher Faylor  <me+cygwin@cgf.cx>
20
21         Remove unneeded header files from source files throughout.
22         Update copyrights where appropriate.
23
24         * globals.cc: New file for generic global variables.
25         * mkglobals_h: New script to generate globals.h.
26         * mkstatic: New script used to build a (currently non-working) static
27         libcygwin_s.a.
28         * Makefile.in: Add unused rule to build a non-working libcygwin_s.a.
29         (DLL_OFILES): Add globals.o.  Make all objects rely on globals.h.
30         (globals.h): New target.  Generate globals.h.
31         * cygtls.h: Honor new CYGTLS_HANDLE define to control when the HANDLE
32         operator is allowed in _cygtls.
33         * dcrt0.cc: Move most globals to globals.cc.
34         * init.cc: Ditto.
35         * environ.cc (strip_title_path): Remove now-unneeded extern.
36         * fhandler_serial.cc (fhandler_serial::open): Ditto.
37         * pinfo.cc: Ditto.
38         (commune_process): Ditto.
39         * shared.cc: Ditto.
40         * glob.cc: Ditto.
41         * strace.cc: Ditto.
42         * exceptions.cc: Define CYGTLS_HANDLE before including winsup.h.
43         * path.cc (stat_suffixes): Move here.
44         * security.h: Add forward class path_conv declaration.
45         * smallprint.cc (__small_vsprintf): Make a true c++ function.
46         (__small_sprintf): Ditto.
47         (small_printf): Ditto.
48         (console_printf): Ditto.
49         (__small_vswprintf): Ditto.
50         (__small_swprintf): Ditto.
51         * spawn.cc (spawn_guts): Remove _stdcall decoration in favor of
52         regparm.
53         (hExeced): Move to globals.cc
54         * strfuncs.cc (current_codepage): Ditto.
55         (active_codepage): Ditto.
56         * sync.cc (lock_process::locker): Move here from dcrt0.cc.
57         * syscalls.cc (stat_suffixes): Move to path.cc.
58         * tty.cc (tty::create_master): Uncapitalize fatal warning for
59         consistency.
60         * winsup.h: Include globals.h to declare most of the grab bag list of
61         globals which were previously defined here.
62
63         * mount.h: Move USER_* defines back to shared_info.h.
64
65         * speclib: Force temporary directory cleanup.
66         
67
68 2009-01-02  Christopher Faylor  <me+cygwin@cgf.cx>
69
70         * speclib: Rewrite completely in perl.  Avoid multiple nm calls.