bug-coreutils
[Top][All Lists]
Advanced

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

pathchk.c includes euidaccess.h?


From: Paul Eggert
Subject: pathchk.c includes euidaccess.h?
Date: Fri, 23 Mar 2007 10:43:00 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I noticed that pathchk.c includes euidaccess.h but doesn't use it.
Perhaps a leftover from old code?  Anyway, here's a cleanup patch.

2007-03-23  Paul Eggert  <address@hidden>

        * src/pathchk.c: Don't include euidaccess.h, as we don't call
        euidaccess.

diff --git a/src/pathchk.c b/src/pathchk.c
index 2fc55d3..748ae64 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -1,5 +1,5 @@
 /* pathchk -- check whether file names are valid or portable
-   Copyright (C) 1991-2006 Free Software Foundation, Inc.
+   Copyright (C) 1991-2007 Free Software Foundation, Inc.

    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
@@ -25,7 +25,6 @@

 #include "system.h"
 #include "error.h"
-#include "euidaccess.h"
 #include "quote.h"
 #include "quotearg.h"

M ChangeLog
M src/pathchk.c
Committed as a278b9987107bc290632ab88e22c83acd49285f8




reply via email to

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