Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Paste Description for ipodpatcher.c.patch

Just a few proper capitalizations.

ipodpatcher.c.patch
Saturday, March 29th, 2008 at 8:23:20pm UTC 

  1. Index: ipodpatcher.c
  2. ===================================================================
  3. --- ipodpatcher.c       (revision 16877)
  4. +++ ipodpatcher.c       (working copy)
  5. @@ -268,7 +268,7 @@
  6.      if ((ipod->pinfo[0].type != 0) || (ipod->pinfo[0].size == 0) ||
  7.          ((ipod->pinfo[1].type != 0xb) && (ipod->pinfo[1].type != 0xc) &&
  8.           (ipod->pinfo[1].type != PARTTYPE_HFS))) {
  9. -        if (!silent) fprintf(stderr,"[ERR]  Partition layout is not an ipod\n");
  10. +        if (!silent) fprintf(stderr,"[ERR]  Partition layout is not an iPod\n");
  11.          return -1;
  12.      }
  13.  
  14. @@ -517,7 +517,7 @@
  15.              }
  16.      
  17.              if (memcmp(header+4, ipod->modelname,4)!=0) {
  18. -                fprintf(stderr,"[ERR]  Model name in input file (%c%c%c%c) doesn't match ipod model (%s)\n",
  19. +                fprintf(stderr,"[ERR]  Model name in input file (%c%c%c%c) doesn't match iPod model (%s)\n",
  20.                          header[4],header[5],header[6],header[7], ipod->modelname);
  21.                  close(infile);
  22.                  return -1;
  23. @@ -799,7 +799,7 @@
  24.              }
  25.      
  26.              if (memcmp(header+4, ipod->modelname,4)!=0) {
  27. -                fprintf(stderr,"[ERR]  Model name in input file (%c%c%c%c) doesn't match ipod model (%s)\n",
  28. +                fprintf(stderr,"[ERR]  Model name in input file (%c%c%c%c) doesn't match iPod model (%s)\n",
  29.                          header[4],header[5],header[6],header[7], ipod->modelname);
  30.                  close(infile);
  31.                  return -1;
  32. @@ -1304,11 +1304,11 @@
  33.           }
  34.  
  35.  #ifdef __WIN32__
  36. -         printf("[INFO] Ipod found - %s (\"%s\") - disk device %d\n",
  37. -             ipod->modelstr,ipod->macpod ? "macpod" : "winpod",i);
  38. +         printf("[INFO] iPod found - %s (\"%s\") - disk device %d\n",
  39. +             ipod->modelstr,ipod->macpod ? "Macpod" : "Winpod",i);
  40.  #else
  41. -         printf("[INFO] Ipod found - %s (\"%s\") - %s\n",
  42. -             ipod->modelstr,ipod->macpod ? "macpod" : "winpod",ipod->diskname);
  43. +         printf("[INFO] iPod found - %s (\"%s\") - %s\n",
  44. +             ipod->modelstr,ipod->macpod ? "Macpod" : "Winpod",ipod->diskname);
  45.  #endif
  46.           n++;
  47.           strcpy(last_ipod,ipod->diskname);
  48. @@ -1339,7 +1339,7 @@
  49.      /* Only support 512-byte sectors at the moment */
  50.      if ( ipod->sector_size != 512 )
  51.      {
  52. -        fprintf(stderr,"[ERR]  Only ipods with 512 bytes per sector are supported.\n");
  53. +        fprintf(stderr,"[ERR]  Only iPods with 512 bytes per sector are supported.\n");
  54.          return -1;
  55.      }
  56.  

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right