bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spurious comma in sys/chown-core.c


From: Paul Eggert
Subject: spurious comma in sys/chown-core.c
Date: Sun, 20 Feb 2005 23:10:03 -0800

I installed this obvious patch to fix a C89 incompatibility in coreutils:

2005-02-20  Paul Eggert  <address@hidden>

        * src/chown-core.c (enum RCH_status): Remove trailing comma,
        as it's not valid in standard C89.

--- src/chown-core.c    11 Dec 2004 10:24:12 -0000      1.30
+++ src/chown-core.c    21 Feb 2005 06:57:45 -0000      1.31
@@ -1,5 +1,5 @@
 /* chown-core.c -- core functions for changing ownership.
-   Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation.
+   Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -49,7 +49,7 @@ enum RCH_status
     RC_inode_changed,
 
     /* open, fstat, fchown, or close failed */
-    RC_error,
+    RC_error
   };
 
 extern void




reply via email to

[Prev in Thread] Current Thread [Next in Thread]