bill_lear
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. From rael@dejanews.com Wed Jan 29 06:06:14 1997
  2. X-VM-v5-Data: ([nil nil nil t nil nil nil nil nil]
  3. ["1497" "Tue" "28" "January" "1997" "21:52:57" "-0600" "William S. Lear" "rael@dejanews.com" "<199701290352.VAA08678@homer.dejanews.com>" "53" "Patches for linux2.0" "^From:" nil nil "1" "1997012903:52:57" "Patches for linux2.0" nil nil]
  4. nil)
  5. Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
  6.           by analytik.analytikerna.se (8.8.4/8.8.4) with SMTP
  7.   id GAA23245 for <monty@analytikerna.se>; Wed, 29 Jan 1997 06:06:12 +0100 (MET)
  8. Received: from host-205-238-143-2.dejanews.com by MIT.EDU with SMTP
  9. id AA25254; Tue, 28 Jan 97 22:53:08 EST
  10. Received: (from rael@localhost) by homer.dejanews.com (8.7.6/8.6.12) id VAA08678 for pthreads@mit.edu; Tue, 28 Jan 1997 21:52:57 -0600 (CST)
  11. Message-Id: <199701290352.VAA08678@homer.dejanews.com>
  12. Content-Length: 1496
  13. From: "William S. Lear" <rael@dejanews.com>
  14. To: pthreads@MIT.EDU
  15. Subject: Patches for linux2.0
  16. Date: Tue, 28 Jan 1997 21:52:57 -0600 (CST)
  17. The following are some patches I found necessary to run smoothly
  18. under linux2.0.  The PTEST directory below refers to the original
  19. pthreads 1.60 beta 6 release.  Of course, the '-O2' "fix" is not strictly
  20. needed.
  21. #============================================================
  22. # < pthreads-1_60beta6/config/configure
  23. # > PTEST/pthreads-1_60beta6/config/configure
  24. #------------------------------------------------------------
  25. 642c642
  26. <       CFLAGS="-g -O2"
  27. ---
  28. >       CFLAGS="-g -O"
  29. 1104,1106d1103
  30. <       cat >> confdefs.h <<EOF
  31. < #define BSD_TM 1
  32. < EOF
  33.  
  34. # Diff for:
  35. #============================================================
  36. # < pthreads-1_60beta6/config/config.h.in
  37. # > PTEST/pthreads-1_60beta6/config/config.h.in
  38. #------------------------------------------------------------
  39. 3,8d2
  40. < /* Does the OS have tm needing bsd'ish initialization? */
  41. < #undef BSD_TM
  42. < /* Does the OS already support struct timespec */
  43. < #undef _OS_HAS_TIMESPEC
  44.  
  45. # Diff for:
  46. #============================================================
  47. # < pthreads-1_60beta6/gen/ctime.c
  48. # > PTEST/pthreads-1_60beta6/gen/ctime.c
  49. #------------------------------------------------------------
  50. 49c49
  51. < #include "config.h"
  52. ---
  53.  
  54. # Diff for:
  55. #============================================================
  56. # < pthreads-1_60beta6/include/math.h
  57. # > PTEST/pthreads-1_60beta6/include/math.h
  58. #------------------------------------------------------------
  59. 54d53
  60. < double hypot  __P((double, double));
  61. Bill Lear (rael@dejanews.com)