OSSP CVS Repository

ossp - Check-in [2676]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2676
Date: 2002-Oct-26 13:11:05 (local)
2002-Oct-26 11:11:05 (UTC)
User:rse
Branch:
Comment: be smart enough also for people who cannot read
Tickets:
Inspections:
Files:
ossp-pkg/sa/sa.c      1.60 -> 1.61     1 inserted, 1 deleted

ossp-pkg/sa/sa.c 1.60 -> 1.61

--- sa.c 2002/10/25 15:27:29     1.60
+++ sa.c 2002/10/26 11:11:05     1.61
@@ -1962,7 +1962,7 @@
         how = SHUT_RD;
     else if (strcmp(flags, "w") == 0)
         how = SHUT_WR;
-    else if (strcmp(flags, "rw") == 0)
+    else if (strcmp(flags, "rw") == 0 || strcmp(flags, "wr") == 0)
         how = SHUT_RDWR;
     else
         return SA_RC(SA_ERR_ARG);

CVSTrac 2.0.1