projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f57a3
)
Fix warning wrt return value of PerlIO_getname()
author
Spider Boardman
<spider@Orb.Nashua.NH.US>
Wed, 30 Apr 1997 04:48:13 +0000
(
00:48
-0400)
committer
Chip Salzenberg
<chip@atlantic.net>
Tue, 29 Apr 1997 12:00:00 +0000
(
00:00
+1200)
Problem with -Duseperlio:
cc: Warning: perlio.c, line 302: Non-void function "PerlIO_getname" does not contain a return statement.
char *
^
p5p-msgid:
199704300448
.
AAA24174
@Orb.Nashua.NH.US
perlio.c
patch
|
blob
|
history
diff --git
a/perlio.c
b/perlio.c
index
ffdd3f0
..
848c9bf
100644
(file)
--- a/
perlio.c
+++ b/
perlio.c
@@
-308,6
+308,7
@@
char *buf;
return fgetname(f,buf);
#else
croak("Don't know how to get file name");
+ return NULL;
#endif
}