FreeBSD Bugzilla – Attachment 205073 Details for
Bug 238578
deskutils/xpostit : use dirent.h instead of deprecated dir.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
use dirent.h for BSD too.
deskutils__xpostit.diff (text/plain), 1.24 KB, created by
Rene Ladan
on 2019-06-15 13:28:34 UTC
(
hide
)
Description:
use dirent.h for BSD too.
Filename:
MIME Type:
Creator:
Rene Ladan
Created:
2019-06-15 13:28:34 UTC
Size:
1.24 KB
patch
obsolete
>Index: deskutils/xpostit/files/patch-note.c >=================================================================== >--- deskutils/xpostit/files/patch-note.c (nonexistent) >+++ deskutils/xpostit/files/patch-note.c (working copy) >@@ -0,0 +1,20 @@ >+--- note.c.orig 1992-12-11 13:04:16 UTC >++++ note.c >+@@ -100,7 +100,7 @@ static char *RCSid = "$Header: /home/harbor/davy/stuff >+ #include <X11/Xaw/Form.h> >+ #include <X11/Shell.h> >+ #include <sys/param.h> >+-#if defined(USG) || defined(SYSV) || defined(SVR4) >++#if defined(USG) || defined(SYSV) || defined(SVR4) || defined(BSD) >+ #include <dirent.h> >+ #else >+ #include <sys/dir.h> >+@@ -240,7 +240,7 @@ LoadSavedNotes() >+ FILE *fp; >+ char *realloc(); >+ register PostItNote *pn; >+-#if defined(USG) || defined(SYSV) || defined(SVR4) >++#if defined(USG) || defined(SYSV) || defined(SVR4) || defined(BSD) >+ register struct dirent *d; >+ #else >+ register struct direct *d; > >Property changes on: deskutils/xpostit/files/patch-note.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238578
: 205073