ObjFW  Diff

Differences From Artifact [cfd5cb5ad9]:

To Artifact [ad416c1918]:


547
548
549
550
551
552
553

554
555
556
557
558
559
560

- (mode_t)mode
{
	return mode;
}
@end


@implementation OFChangeFileOwnerFailedException
+ newWithClass: (Class)class__
	  path: (OFString*)path_
	 owner: (uid_t)owner_
	 group: (gid_t)group_
{
	return [[self alloc] initWithClass: class__







>







547
548
549
550
551
552
553
554
555
556
557
558
559
560
561

- (mode_t)mode
{
	return mode;
}
@end

#ifndef _WIN32
@implementation OFChangeFileOwnerFailedException
+ newWithClass: (Class)class__
	  path: (OFString*)path_
	 owner: (uid_t)owner_
	 group: (gid_t)group_
{
	return [[self alloc] initWithClass: class__
619
620
621
622
623
624
625

626
627
628
629
630
631
632
}

- (gid_t)group
{
	return group;
}
@end


@implementation OFRenameFileFailedException
+ newWithClass: (Class)class__
	  from: (OFString*)from_
	    to: (OFString*)to_
{
	return [[self alloc] initWithClass: class__







>







620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
}

- (gid_t)group
{
	return group;
}
@end
#endif

@implementation OFRenameFileFailedException
+ newWithClass: (Class)class__
	  from: (OFString*)from_
	    to: (OFString*)to_
{
	return [[self alloc] initWithClass: class__
740
741
742
743
744
745
746

747
748
749
750
751
752
753

- (OFString*)path
{
	return path;
}
@end


@implementation OFLinkFailedException
+ newWithClass: (Class)class__
	source: (OFString*)src_
   destination: (OFString*)dest_
{
	return [[self alloc] initWithClass: class__
				    source: src_







>







742
743
744
745
746
747
748
749
750
751
752
753
754
755
756

- (OFString*)path
{
	return path;
}
@end

#ifndef _WIN32
@implementation OFLinkFailedException
+ newWithClass: (Class)class__
	source: (OFString*)src_
   destination: (OFString*)dest_
{
	return [[self alloc] initWithClass: class__
				    source: src_
869
870
871
872
873
874
875

876
877
878
879
880
881
882
}

- (OFString*)destination
{
	return dest;
}
@end


@implementation OFSetOptionFailedException
- (OFString*)string
{
	if (string != nil)
		return string;








>







872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
}

- (OFString*)destination
{
	return dest;
}
@end
#endif

@implementation OFSetOptionFailedException
- (OFString*)string
{
	if (string != nil)
		return string;