diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-09-30 10:39:44 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-09-30 10:39:44 +0000 |
commit | 6f7466406cf22ca0c92a34e355e661a21b63e7c6 (patch) | |
tree | b7baeadda128f31d3a2a9969563990868e8403c2 /editors/yui/files/patch-tyui_yui1.cc | |
parent | textproc/translate-toolkit: update to 2.2.5 (diff) |
Remove expired ports:
2018-09-29 net/ntp-devel: Use net/ntp instead
2018-09-29 net/xrdp-devel: Use net/xrdp instead
2018-09-29 net/tigervnc-devel: Use net/tigervnc instead
2018-09-29 net/unison-devel: Use net/unison instead
2018-09-30 textproc/p5-IDNA-Punycode: Deprecated by upstream
2018-08-15 graphics/gnustep-slideshowkit: unknown license
2018-08-15 graphics/gnustep-slideshow: depends on expiring graphics/gnustep-slideshowkit
2018-09-30 security/lockdown: Renders system unbootable
2018-09-30 devel/p5-Search-Binary: Deprecated by upstream, use List::BinarySearch instead
2018-09-30 devel/p5-ExtUtils-Command: ExtUtils::Command has been re-incorporated to ExtUtils-MakeMaker since 7.06, use devel/ExtUtils-MakeMaker instead
2018-09-30 editors/yui: Unmaintained upstream
2018-09-29 x11/tint-devel: Use x11/tint instead
Notes
Notes:
svn path=/head/; revision=480949
Diffstat (limited to 'editors/yui/files/patch-tyui_yui1.cc')
-rw-r--r-- | editors/yui/files/patch-tyui_yui1.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/editors/yui/files/patch-tyui_yui1.cc b/editors/yui/files/patch-tyui_yui1.cc deleted file mode 100644 index 86257df03d86..000000000000 --- a/editors/yui/files/patch-tyui_yui1.cc +++ /dev/null @@ -1,29 +0,0 @@ ---- tyui/yui1.cc.orig 2011-09-29 11:50:50 UTC -+++ tyui/yui1.cc -@@ -2665,7 +2665,7 @@ int Edit::saveText( char *Name ) - Screen::sync(); - if ( strlen(name) > 0 && BAK_FILE(eOpt.options) ) { - FILE *forig = fopen( name, "r" ); -- if ( forig <= 0 ) { -+ if ( forig == NULL ) { - modal *m = new modal( ALIGN_CENTER, - lang( "Can't open original file,\ncreation of backup file skipped", - "Ошибка открытия исходного файла,\nсоздание '.bak'-файла пропущено" ), Warning.get() ); -@@ -2675,7 +2675,7 @@ int Edit::saveText( char *Name ) - char *nameBack = strdup( Buf1 ); - fd = open( nameBack, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR ); - FILE *fbak = (fd >= 0 ? fdopen( fd, "w+" ) : 0); -- if ( fbak <= 0 ) { -+ if ( fbak == NULL ) { - sprintf( Buf1, openError.get(), nameBack ); - modal *m = new modal( ALIGN_CENTER, (char*)Buf1, Warning.get() ); - execUp( m ); -@@ -2784,7 +2784,7 @@ write_char: - unlink( realName ); - fd = open( realName, O_RDWR | O_CREAT | O_TRUNC, fInfo->s.st_mode ); - FILE *forig = (fd >= 0 ? fdopen( fd, "w+" ) : 0); -- if ( forig <= 0 ) { -+ if ( forig == NULL ) { - fclose( f ); - sprintf( Buf1, lang("Can't open file\n%s\n\nCheck permissions, your file saved in\n%s", - "Ошибка открытия файла\n%s\n\nПроверьте права доступа, файл сохранен в\n%s"), name, tmp ); |