[glib/wip/2-58-cve-2021-28153: 1/5] glocalfileoutputstream: Fix a typo in a comment
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/2-58-cve-2021-28153: 1/5] glocalfileoutputstream: Fix a typo in a comment
- Date: Fri, 19 Mar 2021 10:42:42 +0000 (UTC)
commit 84d7b850d76a46ba4a0cfeea5b4ecaa3a42e9b9e
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Feb 24 17:33:38 2021 +0000
glocalfileoutputstream: Fix a typo in a comment
Signed-off-by: Philip Withnall <pwithnall endlessos org>
(cherry picked from commit 78420a75aeb70569a8cd79fa0fea7b786b6f785f)
gio/glocalfileoutputstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/glocalfileoutputstream.c b/gio/glocalfileoutputstream.c
index 57d2d5dfe..8a68be3de 100644
--- a/gio/glocalfileoutputstream.c
+++ b/gio/glocalfileoutputstream.c
@@ -755,7 +755,7 @@ handle_overwrite_open (const char *filename,
mode = mode_from_flags_or_info (flags, reference_info);
/* We only need read access to the original file if we are creating a backup.
- * We also add O_CREATE to avoid a race if the file was just removed */
+ * We also add O_CREAT to avoid a race if the file was just removed */
if (create_backup || readable)
open_flags = O_RDWR | O_CREAT | O_BINARY;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]