- Timestamp:
- Dec 10, 2011, 10:21:11 PM (12 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r595 r596 1 2011-12-10 <rybkin@lal.in2p3.fr> 473 2 3 * source/cmt_system.cxx: In class CmtSystem, when using system stat 4 function on POSIX systems, do not set error for errno == ENOTDIR 5 1 6 2011-12-09 <rybkin@lal.in2p3.fr> 472 2 7 -
CMT/HEAD/source/cmt_system.cxx
r595 r596 428 428 else 429 429 { 430 if (errno != ENOENT) 430 if (errno != ENOENT 431 #ifndef WIN32 432 && errno != ENOTDIR 433 #endif 434 ) 431 435 { 432 436 perror ("cmt: stat failure: " + get_absolute_path (name)); … … 458 462 else 459 463 { 460 if (errno != ENOENT) 464 if (errno != ENOENT 465 #ifndef WIN32 466 && errno != ENOTDIR 467 #endif 468 ) 461 469 { 462 470 perror ("cmt: stat failure: " + get_absolute_path (name)); … … 486 494 else 487 495 { 488 if (errno != ENOENT) 496 if (errno != ENOENT 497 #ifndef WIN32 498 && errno != ENOTDIR 499 #endif 500 ) 489 501 { 490 502 perror ("cmt: stat failure: " + get_absolute_path (name1)); … … 505 517 else 506 518 { 507 if (errno != ENOENT) 519 if (errno != ENOENT 520 #ifndef WIN32 521 && errno != ENOTDIR 522 #endif 523 ) 508 524 { 509 525 perror ("cmt: stat failure: " + get_absolute_path (name2)); … … 603 619 else 604 620 { 605 if (errno != ENOENT) 621 if (errno != ENOENT 622 #ifndef WIN32 623 && errno != ENOTDIR 624 #endif 625 ) 606 626 perror ("cmt: stat failure: " + get_absolute_path (name1)); 607 627 // name1 does not exist … … 646 666 else 647 667 { 648 if (errno != ENOENT) 668 if (errno != ENOENT 669 #ifndef WIN32 670 && errno != ENOTDIR 671 #endif 672 ) 649 673 { 650 674 perror ("cmt: stat failure: " + get_absolute_path (name2)); … … 695 719 else 696 720 { 697 if (errno != ENOENT) 721 if (errno != ENOENT 722 #ifndef WIN32 723 && errno != ENOTDIR 724 #endif 725 ) 698 726 { 699 727 perror ("cmt: stat failure: " + get_absolute_path (name));
Note: See TracChangeset
for help on using the changeset viewer.