]>
Commit | Line | Data |
---|---|---|
0a7814d6 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.090 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.090 | |
11 | Problem: Compiler warning on Mac OS X 10.5. | |
12 | Solution: Don't redeclare sigaltstack(). (Hisashi T Fujinaka) | |
13 | Files: src/os_unix.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.089/src/os_unix.c Sat Aug 11 22:22:56 2007 | |
17 | --- src/os_unix.c Wed Aug 22 22:28:48 2007 | |
18 | *************** | |
19 | *** 753,759 **** | |
20 | if (signal_stack != NULL) | |
21 | { | |
22 | # ifdef HAVE_SIGALTSTACK | |
23 | ! # ifdef __APPLE__ | |
24 | /* missing prototype. Adding it to osdef?.h.in doesn't work, because | |
25 | * "struct sigaltstack" needs to be declared. */ | |
26 | extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); | |
27 | --- 753,760 ---- | |
28 | if (signal_stack != NULL) | |
29 | { | |
30 | # ifdef HAVE_SIGALTSTACK | |
31 | ! # if defined(__APPLE__) && (!defined(MAC_OS_X_VERSION_MAX_ALLOWED) \ | |
32 | ! || MAC_OS_X_VERSION_MAX_ALLOWED <= 1040) | |
33 | /* missing prototype. Adding it to osdef?.h.in doesn't work, because | |
34 | * "struct sigaltstack" needs to be declared. */ | |
35 | extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); | |
36 | *************** | |
37 | *** 5688,5694 **** | |
38 | ||
39 | /* | |
40 | * Closes connection to gpm | |
41 | ! * returns non-zero if connection succesfully closed | |
42 | */ | |
43 | static void | |
44 | gpm_close() | |
45 | --- 5689,5695 ---- | |
46 | ||
47 | /* | |
48 | * Closes connection to gpm | |
49 | ! * returns non-zero if connection successfully closed | |
50 | */ | |
51 | static void | |
52 | gpm_close() | |
53 | *** ../vim-7.1.089/src/version.c Thu Aug 30 11:10:38 2007 | |
54 | --- src/version.c Thu Aug 30 11:46:07 2007 | |
55 | *************** | |
56 | *** 668,669 **** | |
57 | --- 668,671 ---- | |
58 | { /* Add new patch number below this line */ | |
59 | + /**/ | |
60 | + 90, | |
61 | /**/ | |
62 | ||
63 | -- | |
64 | We're knights of the round table | |
65 | We dance whene'er we're able | |
66 | We do routines and chorus scenes | |
67 | With footwork impeccable. | |
68 | We dine well here in Camelot | |
69 | We eat ham and jam and spam a lot. | |
70 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
71 | ||
72 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
73 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
74 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
75 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |