Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313898 Details for
Bug 449037
Review Request: afio - cpio compatible archiver
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix warnings and deprecated code.
afio-2.5-glibc.patch (text/plain), 1.75 KB, created by
Debarshi Ray
on 2008-08-10 20:54:48 UTC
(
hide
)
Description:
Patch to fix warnings and deprecated code.
Filename:
MIME Type:
Creator:
Debarshi Ray
Created:
2008-08-10 20:54:48 UTC
Size:
1.75 KB
patch
obsolete
>Binary files afio-2.5.orig/afio and afio-2.5/afio differ >diff -urNp afio-2.5.orig/afio.c afio-2.5/afio.c >--- afio-2.5.orig/afio.c 2003-12-21 03:46:13.000000000 +0530 >+++ afio-2.5/afio.c 2008-08-10 19:48:17.000000000 +0530 >@@ -1585,7 +1585,7 @@ incheckdata (int fd, off_t size, char *n > if(compressargs) > execvp (compressprog, compress_arg_list); > else >- execlp (compressprog, compressprog, "-d", "-c", 0); >+ execlp (compressprog, compressprog, "-d", "-c", NULL); > fprintf (stderr, "Could not uncompress, errno %d\n", errno); > exit(1); > break; >@@ -3004,7 +3004,7 @@ opencontrolscript (char *name) > VOID dup (pfd[0]); > VOID close (pfd[0]); > >- execlp (controlscript, controlscript, label, 0); >+ execlp (controlscript, controlscript, label, NULL); > > warnarch("Problems running control script:",(off_t)0); > warn(controlscript,syserr()); >@@ -3266,7 +3266,7 @@ openotty (name, asb, linkp, ispass, dozf > if(compressargs) > execvp (compressprog, compress_arg_list); > else >- execlp (compressprog, compressprog, "-d", "-c", 0); >+ execlp (compressprog, compressprog, "-d", "-c", NULL); > fprintf (stderr, "Could not uncompress, errno %d\n", errno); > exit (1); > } >@@ -4354,12 +4354,7 @@ fswrite (fd, buf, len) > STATIC char * > syserr () > { >- static char msg[40]; >- >- if (errno > 0 && errno < sys_nerr) >- return ((char *) sys_errlist[errno]); >- VOID sprintf (msg, "Unknown error (errno %d)", errno); >- return (msg); >+ return strerror (errno); > } > > /* >Binary files afio-2.5.orig/afio.o and afio-2.5/afio.o differ >Binary files afio-2.5.orig/compfile.o and afio-2.5/compfile.o differ >Binary files afio-2.5.orig/exten.o and afio-2.5/exten.o differ >Binary files afio-2.5.orig/match.o and afio-2.5/match.o differ
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 449037
: 313898