standalone-ruby 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -44
  3. data/bin/standalone-ruby +3 -3
  4. data/lib/data/c_compilers/tcc/include/_mingw.h +54 -54
  5. data/lib/data/c_compilers/tcc/include/assert.h +71 -71
  6. data/lib/data/c_compilers/tcc/include/conio.h +159 -159
  7. data/lib/data/c_compilers/tcc/include/ctype.h +232 -232
  8. data/lib/data/c_compilers/tcc/include/dir.h +26 -26
  9. data/lib/data/c_compilers/tcc/include/direct.h +95 -95
  10. data/lib/data/c_compilers/tcc/include/dirent.h +96 -96
  11. data/lib/data/c_compilers/tcc/include/dos.h +110 -110
  12. data/lib/data/c_compilers/tcc/include/errno.h +117 -117
  13. data/lib/data/c_compilers/tcc/include/excpt.h +20 -20
  14. data/lib/data/c_compilers/tcc/include/fcntl.h +135 -135
  15. data/lib/data/c_compilers/tcc/include/fenv.h +85 -85
  16. data/lib/data/c_compilers/tcc/include/float.h +224 -224
  17. data/lib/data/c_compilers/tcc/include/inttypes.h +275 -275
  18. data/lib/data/c_compilers/tcc/include/io.h +296 -296
  19. data/lib/data/c_compilers/tcc/include/limits.h +115 -115
  20. data/lib/data/c_compilers/tcc/include/locale.h +100 -100
  21. data/lib/data/c_compilers/tcc/include/malloc.h +87 -87
  22. data/lib/data/c_compilers/tcc/include/math.h +438 -438
  23. data/lib/data/c_compilers/tcc/include/mem.h +8 -8
  24. data/lib/data/c_compilers/tcc/include/memory.h +9 -9
  25. data/lib/data/c_compilers/tcc/include/process.h +158 -158
  26. data/lib/data/c_compilers/tcc/include/setjmp.h +72 -72
  27. data/lib/data/c_compilers/tcc/include/share.h +44 -44
  28. data/lib/data/c_compilers/tcc/include/signal.h +111 -111
  29. data/lib/data/c_compilers/tcc/include/stdarg.h +16 -16
  30. data/lib/data/c_compilers/tcc/include/stdbool.h +10 -10
  31. data/lib/data/c_compilers/tcc/include/stddef.h +26 -26
  32. data/lib/data/c_compilers/tcc/include/stdint.h +184 -184
  33. data/lib/data/c_compilers/tcc/include/stdio.h +413 -413
  34. data/lib/data/c_compilers/tcc/include/stdlib.h +482 -482
  35. data/lib/data/c_compilers/tcc/include/string.h +206 -206
  36. data/lib/data/c_compilers/tcc/include/sys/fcntl.h +8 -8
  37. data/lib/data/c_compilers/tcc/include/sys/file.h +9 -9
  38. data/lib/data/c_compilers/tcc/include/sys/locking.h +52 -52
  39. data/lib/data/c_compilers/tcc/include/sys/stat.h +190 -190
  40. data/lib/data/c_compilers/tcc/include/sys/time.h +3 -3
  41. data/lib/data/c_compilers/tcc/include/sys/timeb.h +82 -82
  42. data/lib/data/c_compilers/tcc/include/sys/types.h +118 -118
  43. data/lib/data/c_compilers/tcc/include/sys/unistd.h +9 -9
  44. data/lib/data/c_compilers/tcc/include/sys/utime.h +89 -89
  45. data/lib/data/c_compilers/tcc/include/tchar.h +367 -367
  46. data/lib/data/c_compilers/tcc/include/time.h +219 -219
  47. data/lib/data/c_compilers/tcc/include/unistd.h +10 -10
  48. data/lib/data/c_compilers/tcc/include/values.h +4 -4
  49. data/lib/data/c_compilers/tcc/include/varargs.h +11 -11
  50. data/lib/data/c_compilers/tcc/include/wchar.h +318 -318
  51. data/lib/data/c_compilers/tcc/include/wctype.h +127 -127
  52. data/lib/data/c_compilers/tcc/include/winapi/basetsd.h +119 -119
  53. data/lib/data/c_compilers/tcc/include/winapi/basetyps.h +144 -144
  54. data/lib/data/c_compilers/tcc/include/winapi/winbase.h +1852 -1852
  55. data/lib/data/c_compilers/tcc/include/winapi/wincon.h +207 -207
  56. data/lib/data/c_compilers/tcc/include/winapi/windef.h +240 -240
  57. data/lib/data/c_compilers/tcc/include/winapi/windows.h +176 -176
  58. data/lib/data/c_compilers/tcc/include/winapi/winerror.h +1054 -1054
  59. data/lib/data/c_compilers/tcc/include/winapi/wingdi.h +2843 -2843
  60. data/lib/data/c_compilers/tcc/include/winapi/winnetwk.h +346 -346
  61. data/lib/data/c_compilers/tcc/include/winapi/winnls.h +651 -651
  62. data/lib/data/c_compilers/tcc/include/winapi/winnt.h +2667 -2667
  63. data/lib/data/c_compilers/tcc/include/winapi/winreg.h +159 -159
  64. data/lib/data/c_compilers/tcc/include/winapi/winsvc.h +309 -309
  65. data/lib/data/c_compilers/tcc/include/winapi/winuser.h +3472 -3472
  66. data/lib/data/c_compilers/tcc/include/winapi/winver.h +133 -133
  67. data/lib/data/c_compilers/tcc/lib/gdi32.def +337 -337
  68. data/lib/data/c_compilers/tcc/lib/kernel32.def +763 -763
  69. data/lib/data/c_compilers/tcc/lib/msvcrt.def +782 -782
  70. data/lib/data/c_compilers/tcc/lib/user32.def +654 -654
  71. data/lib/data/exe_templates/launcher_stub.c +29 -29
  72. data/lib/data/exe_templates/launcher_stub.cpp +31 -31
  73. data/lib/data/launcher_templates/vbs/default_vbs.txt +7 -7
  74. data/lib/data/launcher_templates/vbs/vbs_gui.txt +8 -8
  75. data/lib/data/resource_files/default.rc +17 -17
  76. data/lib/displayer.rb +63 -65
  77. data/lib/exe_packer.rb +72 -82
  78. data/lib/launcher.rb +58 -84
  79. data/lib/launcher_handler.rb +40 -52
  80. data/lib/parameter_parser.rb +215 -210
  81. data/lib/ruby_copy.rb +48 -26
  82. data/lib/standalone_ruby.rb +6 -6
  83. data/lib/version/version.rb +2 -2
  84. metadata +3 -89
  85. data/lib/data/bat-cmd/default_bat_cmd.txt +0 -9
  86. data/lib/data/exe_template/launcher_stub.c +0 -30
  87. data/lib/data/exe_template/launcher_stub.cpp +0 -9
  88. data/lib/data/tcc/include/_mingw.h +0 -54
  89. data/lib/data/tcc/include/assert.h +0 -71
  90. data/lib/data/tcc/include/conio.h +0 -159
  91. data/lib/data/tcc/include/ctype.h +0 -232
  92. data/lib/data/tcc/include/dir.h +0 -26
  93. data/lib/data/tcc/include/direct.h +0 -95
  94. data/lib/data/tcc/include/dirent.h +0 -96
  95. data/lib/data/tcc/include/dos.h +0 -110
  96. data/lib/data/tcc/include/errno.h +0 -117
  97. data/lib/data/tcc/include/excpt.h +0 -20
  98. data/lib/data/tcc/include/fcntl.h +0 -135
  99. data/lib/data/tcc/include/fenv.h +0 -85
  100. data/lib/data/tcc/include/float.h +0 -224
  101. data/lib/data/tcc/include/inttypes.h +0 -275
  102. data/lib/data/tcc/include/io.h +0 -296
  103. data/lib/data/tcc/include/limits.h +0 -115
  104. data/lib/data/tcc/include/locale.h +0 -100
  105. data/lib/data/tcc/include/malloc.h +0 -87
  106. data/lib/data/tcc/include/math.h +0 -438
  107. data/lib/data/tcc/include/mem.h +0 -8
  108. data/lib/data/tcc/include/memory.h +0 -9
  109. data/lib/data/tcc/include/process.h +0 -158
  110. data/lib/data/tcc/include/setjmp.h +0 -72
  111. data/lib/data/tcc/include/share.h +0 -44
  112. data/lib/data/tcc/include/signal.h +0 -111
  113. data/lib/data/tcc/include/stdarg.h +0 -16
  114. data/lib/data/tcc/include/stdbool.h +0 -10
  115. data/lib/data/tcc/include/stddef.h +0 -26
  116. data/lib/data/tcc/include/stdint.h +0 -184
  117. data/lib/data/tcc/include/stdio.h +0 -413
  118. data/lib/data/tcc/include/stdlib.h +0 -482
  119. data/lib/data/tcc/include/string.h +0 -206
  120. data/lib/data/tcc/include/sys/fcntl.h +0 -8
  121. data/lib/data/tcc/include/sys/file.h +0 -9
  122. data/lib/data/tcc/include/sys/locking.h +0 -52
  123. data/lib/data/tcc/include/sys/stat.h +0 -190
  124. data/lib/data/tcc/include/sys/time.h +0 -3
  125. data/lib/data/tcc/include/sys/timeb.h +0 -82
  126. data/lib/data/tcc/include/sys/types.h +0 -118
  127. data/lib/data/tcc/include/sys/unistd.h +0 -9
  128. data/lib/data/tcc/include/sys/utime.h +0 -89
  129. data/lib/data/tcc/include/tchar.h +0 -367
  130. data/lib/data/tcc/include/time.h +0 -219
  131. data/lib/data/tcc/include/unistd.h +0 -10
  132. data/lib/data/tcc/include/values.h +0 -4
  133. data/lib/data/tcc/include/varargs.h +0 -11
  134. data/lib/data/tcc/include/wchar.h +0 -318
  135. data/lib/data/tcc/include/wctype.h +0 -127
  136. data/lib/data/tcc/include/winapi/basetsd.h +0 -119
  137. data/lib/data/tcc/include/winapi/basetyps.h +0 -144
  138. data/lib/data/tcc/include/winapi/winbase.h +0 -1852
  139. data/lib/data/tcc/include/winapi/wincon.h +0 -207
  140. data/lib/data/tcc/include/winapi/windef.h +0 -240
  141. data/lib/data/tcc/include/winapi/windows.h +0 -176
  142. data/lib/data/tcc/include/winapi/winerror.h +0 -1054
  143. data/lib/data/tcc/include/winapi/wingdi.h +0 -2843
  144. data/lib/data/tcc/include/winapi/winnetwk.h +0 -346
  145. data/lib/data/tcc/include/winapi/winnls.h +0 -651
  146. data/lib/data/tcc/include/winapi/winnt.h +0 -2667
  147. data/lib/data/tcc/include/winapi/winreg.h +0 -159
  148. data/lib/data/tcc/include/winapi/winsvc.h +0 -309
  149. data/lib/data/tcc/include/winapi/winuser.h +0 -3472
  150. data/lib/data/tcc/include/winapi/winver.h +0 -133
  151. data/lib/data/tcc/lib/gdi32.def +0 -337
  152. data/lib/data/tcc/lib/kernel32.def +0 -763
  153. data/lib/data/tcc/lib/libtcc1.a +0 -0
  154. data/lib/data/tcc/lib/msvcrt.def +0 -782
  155. data/lib/data/tcc/lib/user32.def +0 -654
  156. data/lib/data/tcc/tcc.exe +0 -0
  157. data/lib/data/tcc/tiny_impdef.exe +0 -0
  158. data/lib/data/tcc/tiny_libmaker.exe +0 -0
  159. data/lib/data/vbs/default_vbs.txt +0 -7
  160. data/lib/data/vbs/vbs_gui.txt +0 -8
  161. data/lib/logger_helper.rb +0 -24
  162. data/lib/sfx_generator.rb +0 -11
  163. data/lib/utils/config_generator.rb +0 -5
  164. data/lib/utils/displayer.rb +0 -64
  165. data/lib/utils/exe_packer.rb +0 -72
  166. data/lib/utils/launcher.rb +0 -77
  167. data/lib/utils/launcher_handler.rb +0 -111
  168. data/lib/utils/logger_helper.rb +0 -24
  169. data/lib/utils/parameter_parser.rb +0 -211
  170. data/lib/utils/ruby_copy.rb +0 -26
@@ -1,8 +1,8 @@
1
- /*
2
- * This file is part of the Mingw32 package.
3
- *
4
- * mem.h maps to string.h
5
- */
6
- #ifndef __STRICT_ANSI__
7
- #include <string.h>
8
- #endif
1
+ /*
2
+ * This file is part of the Mingw32 package.
3
+ *
4
+ * mem.h maps to string.h
5
+ */
6
+ #ifndef __STRICT_ANSI__
7
+ #include <string.h>
8
+ #endif
@@ -1,9 +1,9 @@
1
- /*
2
- * This file is part of the Mingw32 package.
3
- *
4
- * memory.h maps to the standard string.h header.
5
- */
6
- #ifndef __STRICT_ANSI__
7
- #include <string.h>
8
- #endif
9
-
1
+ /*
2
+ * This file is part of the Mingw32 package.
3
+ *
4
+ * memory.h maps to the standard string.h header.
5
+ */
6
+ #ifndef __STRICT_ANSI__
7
+ #include <string.h>
8
+ #endif
9
+
@@ -1,158 +1,158 @@
1
- /*
2
- * process.h
3
- *
4
- * Function calls for spawning child processes.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- *
11
- * THIS SOFTWARE IS NOT COPYRIGHTED
12
- *
13
- * This source code is offered for use in the public domain. You may
14
- * use, modify or distribute it freely.
15
- *
16
- * This code is distributed in the hope that it will be useful but
17
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
- * DISCLAIMED. This includes but is not limited to warranties of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- *
21
- * $Revision: 1.2 $
22
- * $Author: bellard $
23
- * $Date: 2005/04/17 13:14:29 $
24
- *
25
- */
26
-
27
- #ifndef __STRICT_ANSI__
28
-
29
- #ifndef _PROCESS_H_
30
- #define _PROCESS_H_
31
-
32
- /* All the headers include this file. */
33
- #include <_mingw.h>
34
-
35
- /* Includes a definition of _pid_t and pid_t */
36
- #include <sys/types.h>
37
-
38
- /*
39
- * Constants for cwait actions.
40
- * Obsolete for Win32.
41
- */
42
- #define _WAIT_CHILD 0
43
- #define _WAIT_GRANDCHILD 1
44
-
45
- #ifndef _NO_OLDNAMES
46
- #define WAIT_CHILD _WAIT_CHILD
47
- #define WAIT_GRANDCHILD _WAIT_GRANDCHILD
48
- #endif /* Not _NO_OLDNAMES */
49
-
50
- /*
51
- * Mode constants for spawn functions.
52
- */
53
- #define _P_WAIT 0
54
- #define _P_NOWAIT 1
55
- #define _P_OVERLAY 2
56
- #define _OLD_P_OVERLAY _P_OVERLAY
57
- #define _P_NOWAITO 3
58
- #define _P_DETACH 4
59
-
60
- #ifndef _NO_OLDNAMES
61
- #define P_WAIT _P_WAIT
62
- #define P_NOWAIT _P_NOWAIT
63
- #define P_OVERLAY _P_OVERLAY
64
- #define OLD_P_OVERLAY _OLD_P_OVERLAY
65
- #define P_NOWAITO _P_NOWAITO
66
- #define P_DETACH _P_DETACH
67
- #endif /* Not _NO_OLDNAMES */
68
-
69
-
70
- #ifndef RC_INVOKED
71
-
72
- #ifdef __cplusplus
73
- extern "C" {
74
- #endif
75
-
76
- void _cexit(void);
77
- void _c_exit(void);
78
-
79
- int _cwait (int*, _pid_t, int);
80
-
81
- _pid_t _getpid(void);
82
-
83
- int _execl (const char*, const char*, ...);
84
- int _execle (const char*, const char*, ...);
85
- int _execlp (const char*, const char*, ...);
86
- int _execlpe (const char*, const char*, ...);
87
- int _execv (const char*, char* const*);
88
- int _execve (const char*, char* const*, char* const*);
89
- int _execvp (const char*, char* const*);
90
- int _execvpe (const char*, char* const*, char* const*);
91
-
92
- int _spawnl (int, const char*, const char*, ...);
93
- int _spawnle (int, const char*, const char*, ...);
94
- int _spawnlp (int, const char*, const char*, ...);
95
- int _spawnlpe (int, const char*, const char*, ...);
96
- int _spawnv (int, const char*, char* const*);
97
- int _spawnve (int, const char*, char* const*, char* const*);
98
- int _spawnvp (int, const char*, char* const*);
99
- int _spawnvpe (int, const char*, char* const*, char* const*);
100
-
101
- /*
102
- * The functions _beginthreadex and _endthreadex are not provided by CRTDLL.
103
- * They are provided by MSVCRT.
104
- *
105
- * NOTE: Apparently _endthread calls CloseHandle on the handle of the thread,
106
- * making for race conditions if you are not careful. Basically you have to
107
- * make sure that no-one is going to do *anything* with the thread handle
108
- * after the thread calls _endthread or returns from the thread function.
109
- *
110
- * NOTE: No old names for these functions. Use the underscore.
111
- */
112
- unsigned long
113
- _beginthread (void (*)(void *), unsigned, void*);
114
- void _endthread (void);
115
-
116
- #ifdef __MSVCRT__
117
- unsigned long
118
- _beginthreadex (void *, unsigned, unsigned (__stdcall *) (void *),
119
- void*, unsigned, unsigned*);
120
- void _endthreadex (unsigned);
121
- #endif
122
-
123
-
124
- #ifndef _NO_OLDNAMES
125
- /*
126
- * Functions without the leading underscore, for portability. These functions
127
- * live in liboldnames.a.
128
- */
129
- int cwait (int*, pid_t, int);
130
- pid_t getpid (void);
131
- int execl (const char*, const char*, ...);
132
- int execle (const char*, const char*, ...);
133
- int execlp (const char*, const char*, ...);
134
- int execlpe (const char*, const char*, ...);
135
- int execv (const char*, char* const*);
136
- int execve (const char*, char* const*, char* const*);
137
- int execvp (const char*, char* const*);
138
- int execvpe (const char*, char* const*, char* const*);
139
- int spawnl (int, const char*, const char*, ...);
140
- int spawnle (int, const char*, const char*, ...);
141
- int spawnlp (int, const char*, const char*, ...);
142
- int spawnlpe (int, const char*, const char*, ...);
143
- int spawnv (int, const char*, char* const*);
144
- int spawnve (int, const char*, char* const*, char* const*);
145
- int spawnvp (int, const char*, char* const*);
146
- int spawnvpe (int, const char*, char* const*, char* const*);
147
- #endif /* Not _NO_OLDNAMES */
148
-
149
- #ifdef __cplusplus
150
- }
151
- #endif
152
-
153
- #endif /* Not RC_INVOKED */
154
-
155
- #endif /* _PROCESS_H_ not defined */
156
-
157
- #endif /* Not __STRICT_ANSI__ */
158
-
1
+ /*
2
+ * process.h
3
+ *
4
+ * Function calls for spawning child processes.
5
+ *
6
+ * This file is part of the Mingw32 package.
7
+ *
8
+ * Contributors:
9
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
+ *
11
+ * THIS SOFTWARE IS NOT COPYRIGHTED
12
+ *
13
+ * This source code is offered for use in the public domain. You may
14
+ * use, modify or distribute it freely.
15
+ *
16
+ * This code is distributed in the hope that it will be useful but
17
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
+ * DISCLAIMED. This includes but is not limited to warranties of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
+ *
21
+ * $Revision: 1.2 $
22
+ * $Author: bellard $
23
+ * $Date: 2005/04/17 13:14:29 $
24
+ *
25
+ */
26
+
27
+ #ifndef __STRICT_ANSI__
28
+
29
+ #ifndef _PROCESS_H_
30
+ #define _PROCESS_H_
31
+
32
+ /* All the headers include this file. */
33
+ #include <_mingw.h>
34
+
35
+ /* Includes a definition of _pid_t and pid_t */
36
+ #include <sys/types.h>
37
+
38
+ /*
39
+ * Constants for cwait actions.
40
+ * Obsolete for Win32.
41
+ */
42
+ #define _WAIT_CHILD 0
43
+ #define _WAIT_GRANDCHILD 1
44
+
45
+ #ifndef _NO_OLDNAMES
46
+ #define WAIT_CHILD _WAIT_CHILD
47
+ #define WAIT_GRANDCHILD _WAIT_GRANDCHILD
48
+ #endif /* Not _NO_OLDNAMES */
49
+
50
+ /*
51
+ * Mode constants for spawn functions.
52
+ */
53
+ #define _P_WAIT 0
54
+ #define _P_NOWAIT 1
55
+ #define _P_OVERLAY 2
56
+ #define _OLD_P_OVERLAY _P_OVERLAY
57
+ #define _P_NOWAITO 3
58
+ #define _P_DETACH 4
59
+
60
+ #ifndef _NO_OLDNAMES
61
+ #define P_WAIT _P_WAIT
62
+ #define P_NOWAIT _P_NOWAIT
63
+ #define P_OVERLAY _P_OVERLAY
64
+ #define OLD_P_OVERLAY _OLD_P_OVERLAY
65
+ #define P_NOWAITO _P_NOWAITO
66
+ #define P_DETACH _P_DETACH
67
+ #endif /* Not _NO_OLDNAMES */
68
+
69
+
70
+ #ifndef RC_INVOKED
71
+
72
+ #ifdef __cplusplus
73
+ extern "C" {
74
+ #endif
75
+
76
+ void _cexit(void);
77
+ void _c_exit(void);
78
+
79
+ int _cwait (int*, _pid_t, int);
80
+
81
+ _pid_t _getpid(void);
82
+
83
+ int _execl (const char*, const char*, ...);
84
+ int _execle (const char*, const char*, ...);
85
+ int _execlp (const char*, const char*, ...);
86
+ int _execlpe (const char*, const char*, ...);
87
+ int _execv (const char*, char* const*);
88
+ int _execve (const char*, char* const*, char* const*);
89
+ int _execvp (const char*, char* const*);
90
+ int _execvpe (const char*, char* const*, char* const*);
91
+
92
+ int _spawnl (int, const char*, const char*, ...);
93
+ int _spawnle (int, const char*, const char*, ...);
94
+ int _spawnlp (int, const char*, const char*, ...);
95
+ int _spawnlpe (int, const char*, const char*, ...);
96
+ int _spawnv (int, const char*, char* const*);
97
+ int _spawnve (int, const char*, char* const*, char* const*);
98
+ int _spawnvp (int, const char*, char* const*);
99
+ int _spawnvpe (int, const char*, char* const*, char* const*);
100
+
101
+ /*
102
+ * The functions _beginthreadex and _endthreadex are not provided by CRTDLL.
103
+ * They are provided by MSVCRT.
104
+ *
105
+ * NOTE: Apparently _endthread calls CloseHandle on the handle of the thread,
106
+ * making for race conditions if you are not careful. Basically you have to
107
+ * make sure that no-one is going to do *anything* with the thread handle
108
+ * after the thread calls _endthread or returns from the thread function.
109
+ *
110
+ * NOTE: No old names for these functions. Use the underscore.
111
+ */
112
+ unsigned long
113
+ _beginthread (void (*)(void *), unsigned, void*);
114
+ void _endthread (void);
115
+
116
+ #ifdef __MSVCRT__
117
+ unsigned long
118
+ _beginthreadex (void *, unsigned, unsigned (__stdcall *) (void *),
119
+ void*, unsigned, unsigned*);
120
+ void _endthreadex (unsigned);
121
+ #endif
122
+
123
+
124
+ #ifndef _NO_OLDNAMES
125
+ /*
126
+ * Functions without the leading underscore, for portability. These functions
127
+ * live in liboldnames.a.
128
+ */
129
+ int cwait (int*, pid_t, int);
130
+ pid_t getpid (void);
131
+ int execl (const char*, const char*, ...);
132
+ int execle (const char*, const char*, ...);
133
+ int execlp (const char*, const char*, ...);
134
+ int execlpe (const char*, const char*, ...);
135
+ int execv (const char*, char* const*);
136
+ int execve (const char*, char* const*, char* const*);
137
+ int execvp (const char*, char* const*);
138
+ int execvpe (const char*, char* const*, char* const*);
139
+ int spawnl (int, const char*, const char*, ...);
140
+ int spawnle (int, const char*, const char*, ...);
141
+ int spawnlp (int, const char*, const char*, ...);
142
+ int spawnlpe (int, const char*, const char*, ...);
143
+ int spawnv (int, const char*, char* const*);
144
+ int spawnve (int, const char*, char* const*, char* const*);
145
+ int spawnvp (int, const char*, char* const*);
146
+ int spawnvpe (int, const char*, char* const*, char* const*);
147
+ #endif /* Not _NO_OLDNAMES */
148
+
149
+ #ifdef __cplusplus
150
+ }
151
+ #endif
152
+
153
+ #endif /* Not RC_INVOKED */
154
+
155
+ #endif /* _PROCESS_H_ not defined */
156
+
157
+ #endif /* Not __STRICT_ANSI__ */
158
+
@@ -1,72 +1,72 @@
1
- /*
2
- * setjmp.h
3
- *
4
- * Declarations supporting setjmp and longjump, a method for avoiding
5
- * the normal function call return sequence. (Bleah!)
6
- *
7
- * This file is part of the Mingw32 package.
8
- *
9
- * Contributors:
10
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11
- *
12
- * THIS SOFTWARE IS NOT COPYRIGHTED
13
- *
14
- * This source code is offered for use in the public domain. You may
15
- * use, modify or distribute it freely.
16
- *
17
- * This code is distributed in the hope that it will be useful but
18
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19
- * DISCLAIMED. This includes but is not limited to warranties of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
- *
22
- * $Revision: 1.2 $
23
- * $Author: bellard $
24
- * $Date: 2005/04/17 13:14:29 $
25
- *
26
- */
27
-
28
- #ifndef _SETJMP_H_
29
- #define _SETJMP_H_
30
-
31
- /* All the headers include this file. */
32
- #include <_mingw.h>
33
-
34
- #ifndef RC_INVOKED
35
-
36
- #ifdef __cplusplus
37
- extern "C" {
38
- #endif
39
-
40
- /*
41
- * The buffer used by setjmp to store the information used by longjmp
42
- * to perform it's evil goto-like work. The size of this buffer was
43
- * determined through experimentation; it's contents are a mystery.
44
- * NOTE: This was determined on an i386 (actually a Pentium). The
45
- * contents could be different on an Alpha or something else.
46
- */
47
- #define _JBLEN 16
48
- #define _JBTYPE int
49
- typedef _JBTYPE jmp_buf[_JBLEN];
50
-
51
- /*
52
- * The function provided by CRTDLL which appears to do the actual work
53
- * of setjmp.
54
- */
55
- int _setjmp (jmp_buf);
56
-
57
- #define setjmp(x) _setjmp(x)
58
-
59
- /*
60
- * Return to the last setjmp call and act as if setjmp had returned
61
- * nVal (which had better be non-zero!).
62
- */
63
- void longjmp (jmp_buf, int);
64
-
65
- #ifdef __cplusplus
66
- }
67
- #endif
68
-
69
- #endif /* Not RC_INVOKED */
70
-
71
- #endif /* Not _SETJMP_H_ */
72
-
1
+ /*
2
+ * setjmp.h
3
+ *
4
+ * Declarations supporting setjmp and longjump, a method for avoiding
5
+ * the normal function call return sequence. (Bleah!)
6
+ *
7
+ * This file is part of the Mingw32 package.
8
+ *
9
+ * Contributors:
10
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11
+ *
12
+ * THIS SOFTWARE IS NOT COPYRIGHTED
13
+ *
14
+ * This source code is offered for use in the public domain. You may
15
+ * use, modify or distribute it freely.
16
+ *
17
+ * This code is distributed in the hope that it will be useful but
18
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19
+ * DISCLAIMED. This includes but is not limited to warranties of
20
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
+ *
22
+ * $Revision: 1.2 $
23
+ * $Author: bellard $
24
+ * $Date: 2005/04/17 13:14:29 $
25
+ *
26
+ */
27
+
28
+ #ifndef _SETJMP_H_
29
+ #define _SETJMP_H_
30
+
31
+ /* All the headers include this file. */
32
+ #include <_mingw.h>
33
+
34
+ #ifndef RC_INVOKED
35
+
36
+ #ifdef __cplusplus
37
+ extern "C" {
38
+ #endif
39
+
40
+ /*
41
+ * The buffer used by setjmp to store the information used by longjmp
42
+ * to perform it's evil goto-like work. The size of this buffer was
43
+ * determined through experimentation; it's contents are a mystery.
44
+ * NOTE: This was determined on an i386 (actually a Pentium). The
45
+ * contents could be different on an Alpha or something else.
46
+ */
47
+ #define _JBLEN 16
48
+ #define _JBTYPE int
49
+ typedef _JBTYPE jmp_buf[_JBLEN];
50
+
51
+ /*
52
+ * The function provided by CRTDLL which appears to do the actual work
53
+ * of setjmp.
54
+ */
55
+ int _setjmp (jmp_buf);
56
+
57
+ #define setjmp(x) _setjmp(x)
58
+
59
+ /*
60
+ * Return to the last setjmp call and act as if setjmp had returned
61
+ * nVal (which had better be non-zero!).
62
+ */
63
+ void longjmp (jmp_buf, int);
64
+
65
+ #ifdef __cplusplus
66
+ }
67
+ #endif
68
+
69
+ #endif /* Not RC_INVOKED */
70
+
71
+ #endif /* Not _SETJMP_H_ */
72
+
@@ -1,44 +1,44 @@
1
- /*
2
- * share.h
3
- *
4
- * Constants for file sharing functions.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- *
11
- * THIS SOFTWARE IS NOT COPYRIGHTED
12
- *
13
- * This source code is offered for use in the public domain. You may
14
- * use, modify or distribute it freely.
15
- *
16
- * This code is distributed in the hope that it will be useful but
17
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
- * DISCLAIMED. This includes but is not limited to warranties of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- *
21
- * $Revision: 1.2 $
22
- * $Author: bellard $
23
- * $Date: 2005/04/17 13:14:29 $
24
- *
25
- */
26
-
27
- #ifndef __STRICT_ANSI__
28
-
29
- #ifndef _SHARE_H_
30
- #define _SHARE_H_
31
-
32
- /* All the headers include this file. */
33
- #include <_mingw.h>
34
-
35
- #define SH_COMPAT 0x00 /* Compatibility */
36
- #define SH_DENYRW 0x10 /* Deny read/write */
37
- #define SH_DENYWR 0x20 /* Deny write */
38
- #define SH_DENYRD 0x30 /* Deny read */
39
- #define SH_DENYNO 0x40 /* Deny nothing */
40
-
41
- #endif /* Not _SHARE_H_ */
42
-
43
- #endif /* Not __STRICT_ANSI__ */
44
-
1
+ /*
2
+ * share.h
3
+ *
4
+ * Constants for file sharing functions.
5
+ *
6
+ * This file is part of the Mingw32 package.
7
+ *
8
+ * Contributors:
9
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
+ *
11
+ * THIS SOFTWARE IS NOT COPYRIGHTED
12
+ *
13
+ * This source code is offered for use in the public domain. You may
14
+ * use, modify or distribute it freely.
15
+ *
16
+ * This code is distributed in the hope that it will be useful but
17
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
+ * DISCLAIMED. This includes but is not limited to warranties of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
+ *
21
+ * $Revision: 1.2 $
22
+ * $Author: bellard $
23
+ * $Date: 2005/04/17 13:14:29 $
24
+ *
25
+ */
26
+
27
+ #ifndef __STRICT_ANSI__
28
+
29
+ #ifndef _SHARE_H_
30
+ #define _SHARE_H_
31
+
32
+ /* All the headers include this file. */
33
+ #include <_mingw.h>
34
+
35
+ #define SH_COMPAT 0x00 /* Compatibility */
36
+ #define SH_DENYRW 0x10 /* Deny read/write */
37
+ #define SH_DENYWR 0x20 /* Deny write */
38
+ #define SH_DENYRD 0x30 /* Deny read */
39
+ #define SH_DENYNO 0x40 /* Deny nothing */
40
+
41
+ #endif /* Not _SHARE_H_ */
42
+
43
+ #endif /* Not __STRICT_ANSI__ */
44
+