home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 1982 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.4 KB  |  51 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ced.berkeley.edu!jeg
  3. From: jeg@ced.berkeley.edu (James Ganong)
  4. Subject: gnu tar 1.11.1 bug report this fix
  5. Message-ID: <9211050655.AA23037@ced.berkeley.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 5 Nov 1992 06:55:16 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 38
  12.  
  13. this may be a duplicate of a note i sent a minute ago,
  14. but i think it did not make it out, so i am resending.
  15.  
  16. using gnu tar-1.11.1 i see the following problem on an decstation 5000/25,
  17. but not on an sgi.  it erroneously thinks that directories has been renamed. 
  18.  
  19. % mkdir d
  20. % mkdir d/d
  21. % ./tar --verbose --create --file /tmp/foo --listed-incremental r d
  22. ./tar: Directory d/d is new
  23. d/
  24. d/d/
  25. % !.
  26. ./tar --verbose --create --file /tmp/foo --listed-incremental r d
  27. ./tar: directory d/d has been renamed.
  28. d/
  29. d/d/
  30.  
  31. *** gnu.c.orig    Wed Nov  4 22:13:54 1992
  32. --- gnu.c    Wed Nov  4 22:28:28 1992
  33. ***************
  34. *** 160,166 ****
  35.           if(strp[-1]=='\n')
  36.               strp[-1]='\0';
  37.           strp=buf;
  38. !         dev=atol(strp);
  39.           while(isdigit(*strp))
  40.               strp++;
  41.           ino=atol(strp);
  42. --- 160,166 ----
  43.           if(strp[-1]=='\n')
  44.               strp[-1]='\0';
  45.           strp=buf;
  46. !         dev=strtoul(strp,(char **) NULL, 10);
  47.           while(isdigit(*strp))
  48.               strp++;
  49.           ino=atol(strp);
  50.  
  51.