Fabrizio Fabbri
a74094de9a
fix coverity issue Missing varargs init or cleanup
2017-05-17 23:20:10 +02:00
Fabrizio Fabbri
6c8449b147
fix coverity 435052 Dereference before null check
...
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259832&defectInstanceId=4445114&mergedDefectId=1435052
2017-05-17 21:11:26 +02:00
Fabrizio Fabbri
e688ca4058
coverity fix 1435189 Double close
...
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259820&defectInstanceId=4445788&mergedDefectId=1435189
2017-05-17 21:08:23 +02:00
Fabrizio Fabbri
29ad64adb7
coverity fix Missing varargs init or cleanup
2017-05-17 20:26:24 +02:00
Fabrizio Fabbri
0227f299a6
fix covrity issue 1435068 Resource leak
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19101001&defectInstanceId=4408515&mergedDefectId=1435068
2017-05-17 19:45:51 +02:00
Fabrizio Fabbri
64a0bcebdf
fix coverity 1434960 Uninitialized pointer read
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19088397&defectInstanceId=4404042&mergedDefectId=1434960
2017-05-16 22:00:17 +02:00
Fabrizio Fabbri
4c5f0b2162
fix coverity 1434866 Missing return statement
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19088538&defectInstanceId=4403920&mergedDefectId=1434866
2017-05-16 22:00:09 +02:00
Fabrizio Fabbri
73ed08df0b
fix coverity issue 1434897 Uninitialized scalar variable
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706960&defectInstanceId=4324855&mergedDefectId=1434897&eventIds=4324837-8
2017-05-16 18:31:55 +02:00
Fabrizio Fabbri
0d18fcbbf2
fix coverity 1434941 Missing return statement
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706913&defectInstanceId=4323734&mergedDefectId=1434941
2017-05-16 18:19:38 +02:00
Fabrizio Fabbri
1f58875e1c
fix coverity issue 1434998 Out-of-bounds access
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18707043&defectInstanceId=4324833&mergedDefectId=1434998
2017-05-16 18:15:44 +02:00
Fabrizio Fabbri
830f72473b
Fix Uninitialized pointer read
...
Coverity report https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706970&defectInstanceId=4323844&mergedDefectId=1435043
2017-05-15 18:45:22 +02:00
Daniel Kochmanski
72e422f1b3
cleanup: remove hierarchical packages interface
...
It didn't work for some cases and wasn't documented, so I'm removing
it. Freshly written tests are left in tests for someone, who would
like to reimplement them.
2017-05-13 18:06:26 +02:00
Fabrizio Fabbri
a229a496f2
fix #378 fail to build on windows
...
HANDLE and int have different size. use _open_osfhandle.
2017-05-13 15:36:37 +02:00
Fabrizio Fabbri
bace22e62a
Close fd as earlier as possible.
2017-05-13 08:45:50 +02:00
Daniel Kochmanski
f4e25c7055
spawn-subprocess: remove pipe synchronization
2017-05-12 22:19:25 +02:00
Daniel Kochmanski
1d8f4ff101
run-program-inner: return only output stream
...
Since we *always* wait until process ends, returning write descriptor
doesn't make much sense anymore. stream_read has also output from
stderr.
2017-05-12 22:16:22 +02:00
Daniel Kochmanski
cea077eeed
fix descriptor leak in run-program-inner
...
Close parent_error.
2017-05-12 22:15:46 +02:00
Daniel Kochmański
915b40ce03
cleanup: move C/CXX part of CLOS to src/c/clos/ directory
...
instance.d and gfun.d were in the top C source directory.
2017-05-06 18:27:34 +02:00
Daniel Kochmanski
15b12fb0b2
Revert "find-class: make class-name access thread safe"
...
This reverts commit dd8ca94746 .
2017-05-05 21:45:07 +02:00
Daniel Kochmanski
9bb1b0b73b
ecl: add package-local-nicknames feature
2017-05-02 14:57:29 +02:00
Daniel Kochmanski
8fcc85179f
local package: separate internal interface from HL
...
we don't want variable number of arguments in core library
2017-05-02 10:03:12 +02:00
Daniel Kochmanski
818c187da5
package local nicknames: delete-package: fix removal loop
2017-05-02 08:51:03 +02:00
Daniel Kochmanski
8f7cf72636
delete-package: remove local nickname bits
2017-05-02 08:04:41 +02:00
Daniel Kochmanski
e72951826c
local package nicknames: add missing functions
2017-05-01 23:13:25 +02:00
Daniel Kochmanski
8047148c8a
cosmeitc: add "." to the continue statements in packages
2017-05-01 21:22:04 +02:00
Daniel Kochmanski
4d549206d5
cosmetic: bump ego :-)
2017-05-01 18:28:47 +02:00
Daniel Kochmanski
7260bfddd9
cosmetic: keep convention from other places
2017-05-01 18:27:53 +02:00
Daniel Kochmanski
f9006d4371
packages: add nicknamedby field and accessors
...
Add accessors to probe for local nicknames.
2017-05-01 18:27:00 +02:00
Daniel Kochmanski
b01968a320
package: process local nicknames according to their structure
...
(cons nickname package)
2017-05-01 15:36:32 +02:00
Daniel Kochmanski
9a1a4d48c8
packages: accessors: allocate new objects
...
There were two fixme's which returned internal data structure (without
copying it).
2017-04-30 12:38:48 +02:00
Daniel Kochmanski
57d588116a
find-package: look first for local package nicknames
2017-04-30 12:38:13 +02:00
Daniel Kochmanski
9c2aef5599
packages: add local-nicknames to the internal structure
...
adjust internal functions to accept the argument.
2017-04-30 12:35:00 +02:00
Daniel Kochmanski
dd8ca94746
find-class: make class-name access thread safe
2017-04-29 09:13:40 +02:00
Daniel Kochmanski
57bdf6e989
hash-table: add synchronization implementation
2017-04-28 22:09:12 +02:00
Daniel Kochmanski
fdf72acaa3
hash-table: add synchronization interface stubs
2017-04-28 20:11:35 +02:00
Daniel Kochmanski
57a05c1d2c
hash-tables: weakness: add :key-or-value variant
2017-04-28 17:48:22 +02:00
Daniel Kochmański
4f177c96c1
cmp: be less noisy by default
2017-04-28 11:14:06 +02:00
Daniel Kochmański
226dd35775
Merge branch 'refactor-run-program' into develop
2017-03-24 01:23:30 +01:00
Daniel Kochmański
4c30430fe8
waitpid: if synchronous call don't unblock on resume/pause
2017-03-24 00:17:14 +01:00
Daniel Kochmański
cc6f893bd3
run-program: environ: coerce to base-string list
2017-03-23 23:12:58 +01:00
Daniel Kochmański
925196c453
signals: remove sigchld handling
...
It caused races with waitpid previously masked by fast code in
unixsys.d.
2017-03-23 15:43:59 +01:00
Daniel Kochmański
d2f760970f
fix: sigchld-handler takes key parameter process
2017-03-21 18:33:56 +01:00
Daniel Kochmanski
17f4e28249
create-descriptor: cygwin is handled like UNIX
2017-03-20 07:21:42 +01:00
Daniel Kochmanski
26c74e39a6
run-program: fix windows interactive streams
2017-03-19 22:31:09 +01:00
Daniel Kochmanski
a16c006d94
windows: remove unused variables
2017-03-19 21:28:55 +01:00
Jeremy Cooper
82b2abbb6a
Fixed typo in unixint.d
2017-03-18 22:39:50 +00:00
Daniel Kochmański
43c19eafe2
run-program: don't handle nil stream in unixsys
...
Valid values are either :stream or stream object, prepare null
earlier.
2017-03-18 20:06:46 +01:00
Daniel Kochmański
d6f3db6603
Merge branch 'develop' into refactor-run-program
2017-03-15 19:07:46 +01:00
Kris Katterjohn
3b1db15c2b
Use some previously unused variables
2017-03-14 15:57:03 -05:00
Kris Katterjohn
5095097a6a
Wrap variable definitions in #ifdef's to avoid unused-variable warnings
2017-03-14 15:53:32 -05:00