Hello!

This change breaks compilation --with-gssapi (CVS_Username is not defined)

2000-03-17  Larry Jones  <[EMAIL PROTECTED]>

       * server.c (switch_to_user): Set CVS_Username if it hasn't already
       been set elsewhere.  (Patch submitted by Gordon Matzigkeit
       <[EMAIL PROTECTED]>).

The fix is trivial:
====================
diff -u -r1.236 server.c
--- server.c    2000/06/24 04:55:30     1.236
+++ server.c    2000/06/27 19:04:24
@@ -5239,9 +5239,11 @@
        the client.  */
     umask (0);
 
+#ifdef AUTH_SERVER_SUPPORT
     /* Make sure our CVS_Username has been set. */
     if (CVS_Username == NULL)
        CVS_Username = xstrdup (username);
+#endif /* AUTH_SERVER_SUPPORT */
       
 #if HAVE_PUTENV
     /* Set LOGNAME and USER in the environment, in case they are
====================

Changelog:
2000-06-27  Pavel Roskin <[EMAIL PROTECTED]>
        * server.c (switch_to_user): don't do anything with CVS_Username
        unless AUTH_SERVER_SUPPORT is defined

Regards,
Pavel Roskin

Reply via email to