SOURCES: zsh-restore-histfile.patch - fix

arekm arekm at pld-linux.org
Fri Dec 16 09:26:47 CET 2005


Author: arekm                        Date: Fri Dec 16 08:26:47 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix

---- Files affected:
SOURCES:
   zsh-restore-histfile.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/zsh-restore-histfile.patch
diff -u SOURCES/zsh-restore-histfile.patch:1.1 SOURCES/zsh-restore-histfile.patch:1.2
--- SOURCES/zsh-restore-histfile.patch:1.1	Fri Dec 16 09:24:00 2005
+++ SOURCES/zsh-restore-histfile.patch	Fri Dec 16 09:26:41 2005
@@ -12,9 +12,9 @@
  		zerr("can't rename %s.new to $HISTFILE", fn, 0);
 +	    else if (restore) {
 +		    if (chown(unmeta(fn), sb.st_uid, sb.st_gid) < 0)
-+			    zerr("can't restore user/group on $HISTFILE", 0);
++			    zerr("can't restore user/group on $HISTFILE", NULL, 0);
 +		    if (chmod(unmeta(fn), sb.st_mode) < 0)
-+			    zerr("can't restore permissions on $HISTFILE", 0);
++			    zerr("can't restore permissions on $HISTFILE", NULL, 0);
 +	    }
  	    free(tmpfile);
  	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/zsh-restore-histfile.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list