search for: editcmd

Displaying 5 results from an estimated 5 matches for "editcmd".

2006 Aug 11
0
3.20-pre11 with password management
...s the same. Did I make a mistake on the way it works ? Erwan, PS: the password file is readable I did : [root at konilope syslinux-3.20-pre11]# ./sha1pass test $4$D0QLvZ9f$N5kBhGVrcQxyhADhIO0pnEIF6fw$ [root at konilope syslinux-3.20-pre11]# and my password file looks like: user1:LcMRo3YZGtP0c:editcmd user2:FqewzyxP78a7A: user3:$4$D0QLvZ9f$N5kBhGVrcQxyhADhIO0pnEIF6fw$:root
2007 Dec 24
2
Build a cmdline for exec from optional parameters
How can I do this?: foo { name: $bar => "frob" } define foo( $bar = false, $baz = false ) { if #$bar and $baz both defined $cmd = "frobnicate --bar=$bar --baz=$baz ${name}" else if #$bar defined $cmd = "frobnicate --bar=$bar ${name}" else if #$baz defined $cmd = "frobnicate --baz=$baz ${name}" else
2016 Mar 07
2
[PATCH v2] Use less stack.
...dit.c index 9f051aa..b8c0a91 100644 --- a/fish/hexedit.c +++ b/fish/hexedit.c @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) const char *editor; int r; struct stat oldstat, newstat; - char buf[BUFSIZ]; + CLEANUP_FREE char *tmpfd = NULL; + CLEANUP_FREE char *editcmd = NULL; CLEANUP_FREE char *tmpdir = guestfs_get_tmpdir (g), *tmp = NULL; if (asprintf (&tmp, "%s/guestfishXXXXXX", tmpdir) == -1) { @@ -119,9 +120,12 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) if (editor == NULL) editor = "hexedit"; - snpr...
2016 Mar 07
0
Re: [PATCH v2] Use less stack.
...a/fish/hexedit.c > +++ b/fish/hexedit.c > @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) > const char *editor; > int r; > struct stat oldstat, newstat; > - char buf[BUFSIZ]; > + CLEANUP_FREE char *tmpfd = NULL; > + CLEANUP_FREE char *editcmd = NULL; > > CLEANUP_FREE char *tmpdir = guestfs_get_tmpdir (g), *tmp = NULL; > if (asprintf (&tmp, "%s/guestfishXXXXXX", tmpdir) == -1) { > @@ -119,9 +120,12 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) > if (editor == NULL) > editor =...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.