[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 16/25: trans/crash: Use empty core file templates to disable the
From: |
Samuel Thibault |
Subject: |
[hurd] 16/25: trans/crash: Use empty core file templates to disable the feature. |
Date: |
Mon, 24 Oct 2016 00:16:45 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit f45e96eec2681463572d5d996ac832626809ddd7
Author: Justus Winter <address@hidden>
Date: Wed Oct 5 10:33:09 2016 +0200
trans/crash: Use empty core file templates to disable the feature.
* trans/crash.c (parse_opt): Use empty core file templates to disable
the feature.
---
trans/crash.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/trans/crash.c b/trans/crash.c
index 3c24451..0171cd7 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -645,7 +645,10 @@ parse_opt (int opt, char *arg, struct argp_state *state)
return EINVAL;
}
}
- corefile_template = arg;
+ if (strlen (arg) == 0)
+ corefile_template = NULL;
+ else
+ corefile_template = arg;
break;
case ARGP_KEY_SUCCESS:
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 15/25: Avoid fatal error handling in option parsers., (continued)
- [hurd] 15/25: Avoid fatal error handling in option parsers., Samuel Thibault, 2016/10/23
- [hurd] 25/25: boot: Ignore EINTR., Samuel Thibault, 2016/10/23
- [hurd] 24/25: Avoid warnings if increasing a threads priority fails., Samuel Thibault, 2016/10/23
- [hurd] 18/25: ext2fs: Rename parameter., Samuel Thibault, 2016/10/23
- [hurd] 09/25: Fix installing runsystem.hurd, Samuel Thibault, 2016/10/23
- [hurd] 12/25: fakeroot: set FAKED_MODE, Samuel Thibault, 2016/10/23
- [hurd] 14/25: ext2fs: Disable option to specify alternate superblock., Samuel Thibault, 2016/10/23
- [hurd] 17/25: trans/crash: Fix setting core file template at runtime., Samuel Thibault, 2016/10/23
- [hurd] 21/25: fshelp: Fix fetching the control port., Samuel Thibault, 2016/10/23
- [hurd] 06/25: startup: Fix looping over runsystem, Samuel Thibault, 2016/10/23
- [hurd] 16/25: trans/crash: Use empty core file templates to disable the feature.,
Samuel Thibault <=
- [hurd] 13/25: libdiskfs: Fix short-circuiting translators., Samuel Thibault, 2016/10/23
- [hurd] 11/25: random: Hash continuous areas in the csprng pool., Samuel Thibault, 2016/10/23
- [hurd] 23/25: procfs: Gracefully degrade meminfo., Samuel Thibault, 2016/10/23
- [hurd] 22/25: Fix some RPC request headers #ifdef guards, Samuel Thibault, 2016/10/23