[netatalk-admins] well, it wasn't my fault


Subject: [netatalk-admins] well, it wasn't my fault
From: a sun (asun@zoology.washington.edu)
Date: Fri Aug 01 1997 - 08:47:27 EDT


it turns out that the desktop icon problem also exists in 1.4b2
itself. here's a patch for 1.4b2's desktop.c:

--- desktop.c~ Fri Aug 1 05:45:05 1997
+++ desktop.c Fri Aug 1 05:45:45 1997
@@ -283,6 +283,7 @@
            return( AFPERR_NOITEM );
        }
        bcopy( ih + 10, &bsize, sizeof( u_short ));
+ bsize = ntohs(bsize);
        if ( lseek( si.sdt_fd, (long)bsize, SEEK_CUR ) < 0 ) {
            syslog( LOG_ERR, "afp_iconinfo: lseek: %m" );
            return( AFPERR_PARAM );



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:54 EST