Skip to content

Commit

Permalink
Update embedded processx
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 10, 2023
1 parent d6ecf69 commit 9c98b57
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
19 changes: 9 additions & 10 deletions src/library/processx/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Package: processx
Title: Execute and Control System Processes
Version: 3.8.2
Version: 3.8.3
Authors@R: c(
person("Gábor", "Csárdi", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-7098-9676")),
person("Winston", "Chang", role = "aut"),
person("RStudio", role = c("cph", "fnd")),
person("Posit Software, PBC", role = c("cph", "fnd")),
person("Mango Solutions", role = c("cph", "fnd"))
)
Description: Tools to run system processes in the background. It can
Expand All @@ -16,24 +16,23 @@ Description: Tools to run system processes in the background. It can
standard output or error, with a timeout. It can also poll several
processes at once.
License: MIT + file LICENSE
URL: https://processx.r-lib.org,
https://github.com/r-lib/processx#readme
URL: https://processx.r-lib.org, https://github.com/r-lib/processx
BugReports: https://github.com/r-lib/processx/issues
Depends: R (>= 3.4.0)
Imports: ps (>= 1.2.0), R6, utils
Suggests: callr (>= 3.7.3), cli (>= 3.3.0), codetools, covr, curl,
debugme, parallel, rlang (>= 1.0.2), testthat (>= 3.0.0),
webfakes, withr
Encoding: UTF-8
RoxygenNote: 7.2.0
Config/testthat/edition: 3
Config/Needs/website: tidyverse/tidytemplate
Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2023-06-30 10:01:10 UTC; gaborcsardi
Packaged: 2023-12-10 12:01:41 UTC; gaborcsardi
Author: Gábor Csárdi [aut, cre, cph] (<https://orcid.org/0000-0001-7098-9676>),
Winston Chang [aut],
RStudio [cph, fnd],
Posit Software, PBC [cph, fnd],
Mango Solutions [cph, fnd]
Maintainer: Gábor Csárdi <[email protected]>
Repository: CRAN
Date/Publication: 2023-06-30 20:40:02 UTC
Date/Publication: 2023-12-10 12:50:02 UTC
4 changes: 2 additions & 2 deletions src/library/processx/LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2016-2019
COPYRIGHT HOLDER: Mango Solutions, RStudio, Gábor Csárdi
YEAR: 2023
COPYRIGHT HOLDER: processx authors
4 changes: 4 additions & 0 deletions src/library/processx/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# processx 3.8.3

* `*printf()` format strings are now safer (#379).

# processx 3.8.2

* The client library, used by callr, now ignores `SIGPIPE` when writing
Expand Down
2 changes: 1 addition & 1 deletion src/library/processx/src/create-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ double processx__create_time_since_boot(long pid) {
warning("Cannot parse stat file, parse error: %s", strerror(errno));
return 0.0;
} else if (ret != 20) {
warning("Cannot parse stat file, unknown parse error.", strerror(errno));
warning("Cannot parse stat file, unknown parse error: %s", strerror(errno));
return 0.0;
}

Expand Down
2 changes: 1 addition & 1 deletion src/library/processx/src/errors.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ SEXP r_throw_system_error(const char *func, const char *filename, int line,
va_start(args, msg);
vsnprintf(errorbuf, ERRORBUF_SIZE, msg, args);
va_end(args);
error("%s (system error %d, %s) @%s:%d (%s)", errorbuf, errorcode,
error("%s (system error %ld, %s) @%s:%d (%s)", errorbuf, errorcode,
realsysmsg, filename, line, func);
return R_NilValue;
}
Expand Down

0 comments on commit 9c98b57

Please sign in to comment.