bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS 1.11.4 - bug in myndbm.c


From: Mariusz Wojsyk
Subject: CVS 1.11.4 - bug in myndbm.c
Date: Tue, 21 Jan 2003 12:58:36 -0000

Greetings.

  There is a bug in myndbm.c which prevents reading 'modules' file on 
checkout, affecting windows port of cvs 1.11.4.
  Bugfix follows:


Index: myndbm.c
========================================================
===========
RCS file: D:/DATA/REPOSITORY/cvs/src/myndbm.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C5 -r1.1 -r1.2
*** myndbm.c    21 Jan 2003 12:32:48 -0000      1.1
--- myndbm.c    21 Jan 2003 12:46:42 -0000      1.2
***************
*** 17,27 ****
  #include "cvs.h"
  #include "getline.h"
  
  #ifdef MY_NDBM
  # ifndef O_ACCMODE
! #   define O_ACCMODE O_RDONLY|O_WRONLY|O_RDWR
  # endif /* defined O_ACCMODE */
  
  static void mydbm_load_file PROTO ((FILE *, List *, char *));
  
  /* Returns NULL on error in which case errno has been set to indicate
--- 17,27 ----
  #include "cvs.h"
  #include "getline.h"
  
  #ifdef MY_NDBM
  # ifndef O_ACCMODE
! #   define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
  # endif /* defined O_ACCMODE */
  
  static void mydbm_load_file PROTO ((FILE *, List *, char *));
  
  /* Returns NULL on error in which case errno has been set to indicate



--
"My software never has bugs. It just develops random features."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]