mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
People can still use -noask option if they want. Also apply some C99 fixes from Fedora. Signed-off-by: Pacho Ramos <pacho@gentoo.org>
14 lines
419 B
Diff
14 lines
419 B
Diff
--- a/src/files.c~ 2008-04-26 20:25:57.000000000 +0200
|
|
+++ b/src/files.c 2023-09-26 11:39:24.232306135 +0200
|
|
@@ -1098,10 +1098,6 @@
|
|
int noask_save = noask;
|
|
|
|
old_fn = get_docname();
|
|
- if (compare_strings(old_fn, fn)) {
|
|
- /* If saving under the same name, don't warn about overwriting */
|
|
- noask = TRUE;
|
|
- }
|
|
|
|
if ((cp = grace_openw(fn)) == NULL) {
|
|
noask = noask_save;
|