aklog: Make dummy write AIX-specific 22/14022/2
authorAndrew Deason <adeason@sinenomine.net>
Thu, 9 Jan 2020 18:38:45 +0000 (12:38 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 14 Jan 2020 03:30:55 +0000 (22:30 -0500)
commit6ee2d6de7d87c93c849f3afbe4326906e4c10852
tree1b0abdc716e83d35d5f3bfc5347670c06273d8ad
parentdcf44ab5fc5c1f5e2e759ea4b6156f7e1faa4b7a
aklog: Make dummy write AIX-specific

This weird write() call exists to work around some old AIX-specific
bug. The ifdef looks like it is intended to restrict this to pre-5
AIX, but it also turns this on for all non-AIX platforms.

Make this area AIX-specific, to avoid this weird write on other
platforms that have nothing to do with the relevant workaround.

Change-Id: I092bcadb4ecc6277ae01e44e6a957e6bacc0cf2d
Reviewed-on: https://gerrit.openafs.org/14022
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/aklog/aklog.c