forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit76dd015
committed
Improve more comments in astreamer_gzip.c.
Duplicate the comment from astreamer_plain_writer_new instead of justreferring to it. Add a further note to mention that there are dangersif anything else is written to the same FILE. Also add a comment wherewe dup() the filehandle, referring to the existing comment inastreamer_gzip_writer_finalize(), because the dup() looks wrong onfirst glance without that comment to clarify.Per concerns expressed by Tom Lane on pgsql-security, and usingsome wording suggested by him.Discussion:http://postgr.es/m/CA+TgmoYTFAD0YTh4HC1Nuhn0YEyoQi0_CENFgVzAY_YReiSksQ@mail.gmail.com1 parentb8b3f86 commit76dd015
1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
0 commit comments
Comments
(0)