From 6320f26fb9207efc0f24c620c5b0443d2c56026f Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Wed, 1 Sep 1999 06:15:59 +0000 Subject: [PATCH] no leading underscore for S_IFOO constants -Yosh --- ChangeLog | 4 ++++ app/base/tile-swap.c | 4 +++- app/tile_swap.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 13b565fc6b..b6fb12adcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 31 23:13:51 PDT 1999 Manish Singh + + * app/tile_swap.c: no leading underscore for S_IFOO constants + Wed Sep 1 00:56:37 EDT 1999 Adrian Likins * app/gimpbrushpip.[ch] diff --git a/app/base/tile-swap.c b/app/base/tile-swap.c index fa6ab92ce5..fe12fdaa09 100644 --- a/app/base/tile-swap.c +++ b/app/base/tile-swap.c @@ -378,7 +378,9 @@ tile_swap_open (SwapFile *swap_file) nopen_swap_files -= 1; } - swap_file->fd = open (swap_file->filename, O_CREAT|O_RDWR|_O_BINARY|_O_TEMPORARY, _S_IREAD|_S_IWRITE); + swap_file->fd = open (swap_file->filename, + O_CREAT | O_RDWR | _O_BINARY | _O_TEMPORARY, + S_IREAD | S_IWRITE); if (swap_file->fd == -1) { diff --git a/app/tile_swap.c b/app/tile_swap.c index fa6ab92ce5..fe12fdaa09 100644 --- a/app/tile_swap.c +++ b/app/tile_swap.c @@ -378,7 +378,9 @@ tile_swap_open (SwapFile *swap_file) nopen_swap_files -= 1; } - swap_file->fd = open (swap_file->filename, O_CREAT|O_RDWR|_O_BINARY|_O_TEMPORARY, _S_IREAD|_S_IWRITE); + swap_file->fd = open (swap_file->filename, + O_CREAT | O_RDWR | _O_BINARY | _O_TEMPORARY, + S_IREAD | S_IWRITE); if (swap_file->fd == -1) {