cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] Changes to ccvs/src/expand_path.c


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/expand_path.c
Date: Fri, 30 Sep 2005 12:36:55 -0400

Index: ccvs/src/expand_path.c
diff -u ccvs/src/expand_path.c:1.37 ccvs/src/expand_path.c:1.38
--- ccvs/src/expand_path.c:1.37 Wed Aug 31 16:51:01 2005
+++ ccvs/src/expand_path.c      Fri Sep 30 16:36:53 2005
@@ -337,18 +337,18 @@
            else
                error (0, 0, "%s:tilde expansion not supported on this system",
                       file);
-           return NULL;
+           goto error_exit;
 #else
            struct passwd *ps;
            ps = getpwnam (buf + d);
-           if (ps == 0)
+           if (ps == NULL)
            {
                if (line)
                    error (0, 0, "%s:%d: no such user %s",
                           file, line, buf + d);
                else
                    error (0, 0, "%s: no such user %s", file, buf + d);
-               return NULL;
+               goto error_exit;
            }
            e = ps->pw_dir;
 #endif




reply via email to

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