Your message dated Tue, 29 Aug 2017 17:00:22 +0000 with message-id <E1dmjsE-000BSn-7A@fasolo.debian.org> and subject line Bug#859737: fixed in libexecs 1.0-1 has caused the Debian Bug report #859737, regarding ITP: libexecs -- C library for manipulating command strings and executing commands to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 859737: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859737 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: ITP: libexecs -- C library for manipulating command strings and executing commands
- From: Giulia Cantini <giuliacantini3@gmail.com>
- Date: Thu, 6 Apr 2017 18:09:27 +0200
- Message-id: <CA+87eOvmH85BkyHrUNMb+_E7==15mQj1JqoZRaGin3CN+G+=9g@mail.gmail.com>
Package: wnppSeverity: wishlist
* Package name : libexecs
Version : 1.0
Upstream Author : Renzo Davoli <renzo@cs.unibo.it>
* URL : https://github.com/rd235/s2argv-execs.git
* License : GPL2+
Description : C library for manipulating command strings and executing commands
libexecs is available in two versions, libexecs and libeexecs, where libexecs is the main library and libeexecs is best suited to embedded devices.
It provides the following (classes of) functions:
- s2argv converts a command string into an argv array for execv, execvp, execvpe.
- execs, execsp, execspe are similar to execv(3), execve(2), execvp(3) and execvpe(3), respectively, they take the command line arguments for the file to execute
(and also the command name for execsp(3) and execspe(3)) by parsing a command string args.
- coprocv, coprocvp, coprocvpe, coprocs, coprocsp execute a command in coprocessing mode, versions differ in the way to specify the executable file to run and its parameters.
- esystem, system_eexecsp are an almost drop in replacement for system(3) provided by the libc. esystem parses the command string and runs the command directly, without using a shell. The executable file is sought using the PATH environment variable.
- popen_nosh, popen_execsp and pclose_nosh pipe stream to or from a process without using a shell. They are an almost drop in replacement for popen(3) and pclose(3) provided by the libc.
- system_nosh executes a command with its arguments from a string without using a shell. As the popen*/pclose* family of functions for popen(3) and pclose(3), system_nosh is an almost drop in replacement for system(3) provided by the libc.
The following programs show what is possible to do with the given functions (examples with execs and s2argv, respectively):
#include <stdio.h>
#include <unistd.h>
#include <execs.h>
#define BUFLEN 1024
int main(int argc, char *argv)
{
char buf[BUFLEN];
printf("type in a command and its arguments, e.g. 'ls -l'\\n");
if (fgets(buf, BUFLEN, stdin) != NULL) {
execsp(buf);
printf("exec error\\n");
}
}
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <execs.h>
#define BUFLEN 1024
int main(int argc, char *argv)
{
char buf[BUFLEN];
printf("type in a command and its arguments, e.g. 'ls -l'\\n");
if (fgets(buf, BUFLEN, stdin) != NULL) {
char **argv=s2argv(buf);
execvp(argv[0], argv);
s2argv_free(argv);
printf("exec error\\n");
}
}
--- End Message ---
--- Begin Message ---
- To: 859737-close@bugs.debian.org
- Subject: Bug#859737: fixed in libexecs 1.0-1
- From: Giulia Cantini <giuliacantini3@gmail.com>
- Date: Tue, 29 Aug 2017 17:00:22 +0000
- Message-id: <E1dmjsE-000BSn-7A@fasolo.debian.org>
Source: libexecs Source-Version: 1.0-1 We believe that the bug you reported is fixed in the latest version of libexecs, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 859737@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Giulia Cantini <giuliacantini3@gmail.com> (supplier of updated libexecs package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 13 Mar 2017 17:00:52 +0100 Source: libexecs Binary: libexecs-dev libexecs0 libexecs-embedded0 Architecture: source amd64 Version: 1.0-1 Distribution: unstable Urgency: low Maintainer: Giulia Cantini <giuliacantini3@gmail.com> Changed-By: Giulia Cantini <giuliacantini3@gmail.com> Description: libexecs-dev - C library for commands execution - development files libexecs-embedded0 - C library for commands execution libexecs0 - C library for commands execution Closes: 859737 Changes: libexecs (1.0-1) unstable; urgency=low . * Initial release. (Closes: #859737) Checksums-Sha1: cc0462edea5616c9ac6c2498dda82211355dfc73 1827 libexecs_1.0-1.dsc ec2d622b6ef6301c1ae38073ef43b389591bf6ae 84285 libexecs_1.0.orig.tar.gz baaf07c4e2be4471fe52d1a8d7a253710b8ba988 2160 libexecs_1.0-1.debian.tar.xz f1ae117e05aac15b893ba952ebe62eba88296f31 13998 libexecs-dev_1.0-1_amd64.deb a72c7ffbc87fb3350188d90beebc61adbdd5827e 4804 libexecs-embedded0-dbgsym_1.0-1_amd64.deb 666eacc8c9afd41ef689aff1cad49793b482ed2f 4990 libexecs-embedded0_1.0-1_amd64.deb e0623f09ae6d07e00ae362061252ff893bacca96 9458 libexecs0-dbgsym_1.0-1_amd64.deb 46aef9a642e89fa830f74e331e94e212f6b5248e 7906 libexecs0_1.0-1_amd64.deb 911deb077422f8ddcd89feb0824454e284b14ef8 5463 libexecs_1.0-1_amd64.buildinfo Checksums-Sha256: 11111524e74f1179ea8da380b3381592c2ba44e0ad3332e67a462d079fec0342 1827 libexecs_1.0-1.dsc 8d49a8c7fe97e0300ad1c42adf2212bb83ec8b320ca3a6da2b79b31211039bdd 84285 libexecs_1.0.orig.tar.gz 3b88b2c10d97dd0f18e0d139e5c10ecaad54d8dbad36a4c6e0328edaed575902 2160 libexecs_1.0-1.debian.tar.xz cbddcbd58e873c36be8056cadd5c98daa9457648bc1350611665ac9bac9f57c4 13998 libexecs-dev_1.0-1_amd64.deb da871b5910e77ba6b82ae6272fa7e8ef174e591bb17f6fb3ace1f2bbee1adf42 4804 libexecs-embedded0-dbgsym_1.0-1_amd64.deb 84b92afd7302936eedd3da08370f23ffd9efa18ac137f1b8cbb9bd4d767c09b0 4990 libexecs-embedded0_1.0-1_amd64.deb e6e43c925097b13be1e90a1cbfc5bd43894b900c6695a24b4b2e2ce006fd6ef3 9458 libexecs0-dbgsym_1.0-1_amd64.deb c81dcb86736b66622e46c83dfa32d8f3f687f587eb5138c18534011655335a20 7906 libexecs0_1.0-1_amd64.deb 36a76ffea146a6522acc0ef361ebcd0898e10e9d246cecef4c2b5eed25e3273c 5463 libexecs_1.0-1_amd64.buildinfo Files: a309d5e805b2fd559928f68c8fe2f2f7 1827 libs optional libexecs_1.0-1.dsc bb8aaa3c42c966c785862cdc00e61865 84285 libs optional libexecs_1.0.orig.tar.gz a541678f56a8f76d6a4ac168af950c54 2160 libs optional libexecs_1.0-1.debian.tar.xz 090c230f6fc6282923a7b8fd18add7af 13998 libdevel optional libexecs-dev_1.0-1_amd64.deb 7f36bb30d0f817a5d9ee0bb843f9c88d 4804 debug extra libexecs-embedded0-dbgsym_1.0-1_amd64.deb d45263a820faf368333d8cc739e47a30 4990 devel optional libexecs-embedded0_1.0-1_amd64.deb 9ae7ecc5ff10a122b67d06f2d3c0b600 9458 debug extra libexecs0-dbgsym_1.0-1_amd64.deb e21215a060d055dfdb0016c3399f6d81 7906 devel optional libexecs0_1.0-1_amd64.deb e5677560e0bd41991593674c08f0cfb6 5463 libs optional libexecs_1.0-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJZSFF0AAoJEEnDv4knVT0uKksQAIS8CinrRyaYYpZw+wX5gx4O /i+tnfEVtp31as3xyfUGT/UHAoorqSz94KK8NeauWxeDTbc8JiAs8bfrTfQ20fNt Myk91J0mj45U7zUFS2R8xylTRtm2Rvw84e8RPsKn3sdN/li7TYcg51dBDKpwD5kg Yhx0OaPqv0/VzNgHi9r8emSvgrAru/9MkytRSjhvOhRPhbfoENGmH2k48VDsDApl 5SFmhJugKwYn5vyFwv0nD4cNtibAiTWb7UR9O3DUqUroP0kXR3I+sPkWPvUcwlnc +EA/8yWpa8RHv8b3hDTVqP+iKkfqNkGxBKWhnhqew2x8y6Q1Y2eMwbwTotJ0TQPe bQRkvU8D/cJ+2zIDbw/zSTdxPhLru0W9CX5UY4hQNI2Le7EKSwCG1XQs8IOm0+Jy +/1slrtABRGu+0cNmAZekCK9gfjqKsEtzWSbEowvfVXhvmDNMLqiT4SzZmdBnJg1 rcdVgSTGvmVnJ0Gsqjb2Q5ai/DXbaZStowjgV7S4zpNpZ2kLUE4UorUXNSUATr7s NAI8CB+V10azUTJHs9G8Til127KwNVOdii3nKJAuw6dk9E5V9IZlS7NSeWm6lSm0 WVSYalSswxZFV+KH0VfVn2M2yDYjjkebH7tor1/rdkrZRYR4v9CrTiUJrz/rVxCL hHEAI8dTDCC1MOuhwTYg =Bh1B -----END PGP SIGNATURE-----
--- End Message ---