You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tigervnc-xorg-1.7.5-remove-copyisolatin1lowered.patch 880B

123456789101112131415161718192021222324252627282930313233
  1. --- a/dix/dixutils.c 2012-06-28 11:06:25.676773000 -0400
  2. +++ b/dix/dixutils.c 2012-06-28 11:07:05.224177000 -0400
  3. @@ -165,16 +165,6 @@
  4. }
  5. -void
  6. -CopyISOLatin1Lowered(unsigned char *dest, unsigned char *source, int length)
  7. -{
  8. - int i;
  9. -
  10. - for (i = 0; i < length; i++, source++, dest++)
  11. - *dest = ISOLatin1ToLower (*source);
  12. - *dest = '\0';
  13. -}
  14. -
  15. int
  16. CompareISOLatin1Lowered(unsigned char *s1, int s1len,
  17. unsigned char *s2, int s2len)
  18. --- a/include/dix.h 2012-06-28 11:07:38.135955000 -0400
  19. +++ b/include/dix.h 2012-06-28 11:07:45.120547000 -0400
  20. @@ -173,11 +173,6 @@
  21. extern _X_HIDDEN Bool CreateConnectionBlock(void);
  22. /* dixutils.c */
  23. -extern _X_EXPORT void CopyISOLatin1Lowered(
  24. - unsigned char * /*dest*/,
  25. - unsigned char * /*source*/,
  26. - int /*length*/);
  27. -
  28. extern _X_EXPORT int CompareISOLatin1Lowered(
  29. unsigned char * /*a*/,
  30. int alen,