Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305089 Details for
Bug 182046
net-fs/afpfs-ng (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
08-afpfs-ng-0.8.1-fix-errno.patch
08-afpfs-ng-0.8.1-fix-errno.patch (text/plain), 699 bytes, created by
hal
on 2012-03-12 23:36:19 UTC
(
hide
)
Description:
08-afpfs-ng-0.8.1-fix-errno.patch
Filename:
MIME Type:
Creator:
hal
Created:
2012-03-12 23:36:19 UTC
Size:
699 bytes
patch
obsolete
>--- afpfs-ng-0.8.1/lib/afp.c 2011-09-04 19:42:42.000000000 +0200 >+++ afpfs-ng-0.8.1/lib/afp.c 2011-09-04 19:39:44.000000000 +0200 >@@ -19,7 +19,6 @@ > #include <sys/time.h> > #include <sys/types.h> > #include <sys/socket.h> >-#include <errno.h> > > #include <afpfs-ng/afp_protocol.h> > #include <afpfs-ng/libafpclient.h> >--- afpfs-ng-0.8.1/lib/afp_url.c 2011-09-04 19:42:42.000000000 +0200 >+++ afpfs-ng-0.8.1/lib/afp_url.c 2011-09-04 19:40:27.000000000 +0200 >@@ -21,7 +21,9 @@ > > static int check_port(char * port) > { >- long long ret = strtol(port,NULL,10); >+ long long ret = 0; >+ errno = 0; >+ ret = strtol(port,NULL,10); > if ((ret<0) || (ret>32767)) return -1; > if (errno) { > printf("port error\n");
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 182046
:
123412
|
140417
|
144288
|
148704
|
305049
|
305051
|
305053
|
305055
|
305057
|
305059
|
305061
|
305063
|
305065
|
305067
|
305069
|
305071
|
305073
|
305075
|
305077
|
305079
|
305081
|
305083
|
305085
|
305087
| 305089 |
305091
|
305093
|
305095
|
339458
|
339460